- Added nunjucks-cli dependency
- Added npm script for nunjucks
This commit is contained in:
sthag 2023-10-16 23:00:21 +02:00
parent cf3fde601e
commit bd3d8529ed
2 changed files with 829 additions and 0 deletions

827
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -39,6 +39,7 @@
"style:compile": "sass source/style:build/css --load-path=vendor", "style:compile": "sass source/style:build/css --load-path=vendor",
"style:post": "postcss build/css/*.css -d deploy/css", "style:post": "postcss build/css/*.css -d deploy/css",
"style:watch": "sass --watch source/style:build/css --load-path=vendor", "style:watch": "sass --watch source/style:build/css --load-path=vendor",
"nunjucks": "nunjucks source/screens/**/*.njk -p source/templates -o build/test",
"develop": "npm run style:watch & npm run serve:watch" "develop": "npm run style:watch & npm run serve:watch"
}, },
"config": { "config": {
@ -50,6 +51,7 @@
"cssnano": "^5.1.13", "cssnano": "^5.1.13",
"jshint": "~2", "jshint": "~2",
"jshint-stylish": "^2.2.1", "jshint-stylish": "^2.2.1",
"nunjucks-cli": "^1.0.0",
"postcss": "^8.4.16", "postcss": "^8.4.16",
"postcss-cli": "^10.0.0", "postcss-cli": "^10.0.0",
"sass": "^1.54.4" "sass": "^1.54.4"