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