Remove sass:compile and add prestart npm scripts

-I figure this should be changed now while it's fresh on my mind and may come in handy down the road to have the ability to auto-run 'npm update' when new packages are added and/or to more easily do any other future pre-run processing
This commit is contained in:
joeuhren
2021-03-28 21:26:23 -06:00
parent 40b6a641f5
commit 5262923fb0
3 changed files with 16 additions and 3 deletions
+2 -2
View File
@@ -3,10 +3,10 @@
"version": "1.99.0",
"private": true,
"scripts": {
"start": "npm run sass:compile && node --stack-size=10000 ./bin/cluster",
"start": "npm run prestart && node --stack-size=10000 ./bin/cluster",
"stop": "kill -2 $(cat tmp/cluster.pid)",
"test": "node ./node_modules/jasmine/bin/jasmine.js test/*Spec.js",
"sass:compile": "sh ./scripts/sass_theme_reader.sh && ./node_modules/.bin/sass --no-source-map --style=compressed ./public/css/style.scss ./public/css/style.min.css"
"prestart": "sh ./scripts/prestart.sh"
},
"dependencies": {
"express": ">=4.17.1",