Create stop script

This commit is contained in:
Starbeamrainbowlabs 2016-12-26 18:02:39 +00:00
parent 307f844c8b
commit fa9dea3bd4

View file

@ -10,6 +10,7 @@
"env": "env", "env": "env",
"test": "echo (There aren't any tests yet!)", "test": "echo (There aren't any tests yet!)",
"start": "wzrd $npm_package_main:$npm_package_config_browserify_bundle & sensible-browser http://localhost:9966/", "start": "wzrd $npm_package_main:$npm_package_config_browserify_bundle & sensible-browser http://localhost:9966/",
"stop": "kill $(pgrep --full wzrd)",
"build": "browserify $npm_package_main -t rollupify -o $npm_package_config_browserify_bundle", "build": "browserify $npm_package_main -t rollupify -o $npm_package_config_browserify_bundle",
"build.dev": "browserify $npm_package_main -t rollupify -o $npm_package_config_browserify_bundle --debug", "build.dev": "browserify $npm_package_main -t rollupify -o $npm_package_config_browserify_bundle --debug",
"postinstall": "npm run build", "postinstall": "npm run build",