Created
June 2, 2016 14:38
-
-
Save denysdovhan/b6c6dd27980699ec46cb891b06b4b7e4 to your computer and use it in GitHub Desktop.
better-npm-run
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
{ | |
"devDependencies": { | |
"better-npm-run": "~0.0.1" | |
}, | |
"scripts": { | |
"build:dist": "better-npm-run build:dist", | |
"test": "better-npm-run test" | |
}, | |
"betterScripts": { | |
"build:dist": { | |
"command": "webpack --config webpack.config.dev.js --progress --colors", | |
"env": { | |
"NODE_ENV": "development" | |
} | |
}, | |
"build:prod": { | |
"command": "webpack --config webpack.config.prod.js --progress --colors", | |
"env": { | |
"NODE_ENV": "production" | |
} | |
}, | |
"test": { | |
"command": "karma start", | |
"env": { | |
"NODE_ENV": "test" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment