add npm run dev command
Showing
... | ... | @@ -3,8 +3,8 @@ |
"version": "0.0.7.3.7", | ||
"scripts": { | ||
"build": "spago bundle --module Main --outfile dist/bundle.min.js --minify --source-maps", | ||
"watch": "pscid -O dist/bundle.min.js -I src", | ||
"bundle-dev": "spago bundle --module Main --outfile dist/index.js", | ||
"build-dev": "spago bundle --module Main --outfile dist/bundle.min.js", | ||
"watch": "watchexec -e purs -- npm run build-dev", | ||
"css": "$npm_execpath css-themes", | ||
"css-themes": "$npm_execpath css-default-theme && $npm_execpath css-dark-theme && $npm_execpath css-darkster-theme && $npm_execpath css-greyson-theme && $npm_execpath css-herbie-theme && $npm_execpath css-monotony-theme", | ||
"css-default-theme": "sass src/sass/themes/default.scss:dist/styles/bootstrap-default.css", | ||
... | ... | @@ -18,7 +18,8 @@ |
"server": "serve -l 8008 dist", | ||
"server-ssl": "ssl-serve --ssl dist", | ||
"test": "spago test", | ||
"serve": "npx parcel serve --no-hmr --dist-dir ./dist/dev/bundle ./dist/dev/index.html" | ||
"dev": "concurrently \"npm run watch\" \"npm run serve\" ", | ||
"serve": "npx parcel serve --dist-dir ./dist/dev/bundle ./dist/dev/index.html" | ||
}, | ||
"alias": { | ||
"$": "jquery", | ||
... | ... | @@ -38,6 +39,7 @@ |
"bootstrap": "~4.6.0", | ||
"bootstrap-dark": "~1.0.3", | ||
"buffer": "~6.0.3", | ||
"concurrently": "^9.1.0", | ||
"create-react-class": "~15.6.3", | ||
"crypto": "~1.0.1", | ||
"d3": "~7.6.1", | ||
... | ... |
Please register or sign in to comment