npm run
と打てば良い。 (正直あんまり見やすくはないが ... )
実行例
$ npm run
Lifecycle scripts included in my-ts-sandbox:
start
npm run server:dev
test
karma start
available via `npm run-script`:
server
npm run server:dev
server:dev
webpack-dashboard -- webpack-dev-server --config ./webpack.config.js --hot --inline --progress --watch --open
server:prod
cross-env NODE_ENV=production webpack-dashboard -- webpack-dev-server --config ./webpack.config.js --port 3000 --host 0.0.0.0 --hot --inline --progress --profile --watch --open --content-base dist/
build
npm run build:prod
build:dev
webpack --config ./webpack.config.js --progress --profile --color --display-error-details --display-cached
build:prod
cross-env NODE_ENV=production webpack --config ./webpack.config.js --progress --profile --color --display-error-details --display-cached --bail
clean
npm cache clear && rimraf -- dist