some fixes and some more improvements
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
22274eed29
commit
8c05d5d97b
13 changed files with 34 additions and 29 deletions
13
package.json
13
package.json
|
@ -3,11 +3,13 @@
|
|||
"version": "1.0.0",
|
||||
"description": "website for sp-codes.de",
|
||||
"scripts": {
|
||||
"compile-sass": "node-sass --output-style compressed --importer=node_modules/node-sass-tilde-importer src/scss/ -o dist/css/",
|
||||
"compile-sass": "node-sass --output-style compressed --importer=node_modules/node-sass-tilde-importer src/scss/main.scss -o dist/css/",
|
||||
"p-minify-css": "purifycss dist/css/main.css dist/**/*.html dist/**/**/*.html dist/**/**/**/*.html -i -m -o dist/css/main.css",
|
||||
"minify-css": "uncss -n -H dist/ -o dist/css/main.css dist/**/*.html dist/**/**/*.html dist/**/**/**/*.html",
|
||||
"watch:eleventy": "eleventy --serve",
|
||||
"watch:sass": "npm run compile-sass -- --watch",
|
||||
"start": "npm-run-all compile-sass --parallel watch:*",
|
||||
"build": "npm run compile-sass && eleventy && npm run move-index",
|
||||
"watch:sass": "npm-run-all compile-sass minify-css -- --watch",
|
||||
"start": "npm-run-all compile-sass minify-css --parallel watch:*",
|
||||
"build": "npm run compile-sass && npm run strip-css && eleventy && npm run move-index && npm run minify-css",
|
||||
"move-index": "cpx dist/de/index.html dist/"
|
||||
},
|
||||
"author": "samuel-p",
|
||||
|
@ -24,7 +26,8 @@
|
|||
"cpx": "^1.5.0",
|
||||
"node-sass": "^6.0.0",
|
||||
"node-sass-tilde-importer": "^1.0.2",
|
||||
"npm-run-all": "^4.1.5"
|
||||
"npm-run-all": "^4.1.5",
|
||||
"uncss": "^0.17.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"bootstrap": "^4.6.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue