Created
November 18, 2016 03:41
-
-
Save r3dcrosse/d5234675f0358fcadbd6979bd35ff2d0 to your computer and use it in GitHub Desktop.
npm useful start scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package.json | |
{ | |
"scripts": { | |
"test": "live-server --open=./SpecRunner.html --port=8081", | |
"postinstall": "curl -s https://raw.githubusercontent.com/reactorcore/pomander/master/bin/install | bash", | |
"start": "babel . --out-dir compiled --presets=es2015,react --ignore=node_modules,compiled --source-maps inline", | |
"start:watch": "babel . --watch --out-dir compiled --presets=es2015,react --ignore=node_modules,compiled --source-maps inline" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment