feat: add support for eleventy-env
This commit is contained in:
parent
1569d291b9
commit
6a8da162a2
2 changed files with 21 additions and 2 deletions
18
package-lock.json
generated
18
package-lock.json
generated
|
|
@ -16,6 +16,7 @@
|
|||
"@11ty/eleventy-plugin-inclusive-language": "^1.0.3",
|
||||
"@11ty/eleventy-plugin-rss": "^1.2.0",
|
||||
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"tailwindcss": "^3.0.23"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
@ -2167,6 +2168,23 @@
|
|||
"@babel/types": "^7.6.1"
|
||||
}
|
||||
},
|
||||
"node_modules/cross-env": {
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz",
|
||||
"integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==",
|
||||
"dependencies": {
|
||||
"cross-spawn": "^7.0.1"
|
||||
},
|
||||
"bin": {
|
||||
"cross-env": "src/bin/cross-env.js",
|
||||
"cross-env-shell": "src/bin/cross-env-shell.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10.14",
|
||||
"npm": ">=6",
|
||||
"yarn": ">=1"
|
||||
}
|
||||
},
|
||||
"node_modules/cross-spawn": {
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@
|
|||
"scripts": {
|
||||
"clean": "rimraf dist",
|
||||
"screenshots": "node ./config/scripts/generate-screenshots.mjs",
|
||||
"dev:11ty": "eleventy --serve --watch",
|
||||
"build:11ty": "eleventy",
|
||||
"dev:11ty": "cross-env ELEVENTY_ENV=development eleventy --serve --watch",
|
||||
"build:11ty": "cross-env ELEVENTY_ENV=production eleventy",
|
||||
"start": "run-p dev:*",
|
||||
"build": "run-s clean build:*"
|
||||
},
|
||||
|
|
@ -28,6 +28,7 @@
|
|||
"@11ty/eleventy-plugin-inclusive-language": "^1.0.3",
|
||||
"@11ty/eleventy-plugin-rss": "^1.2.0",
|
||||
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"tailwindcss": "^3.0.23"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue