summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-02-06 00:23:50 -0600
committerMike Greiling <mike@pixelcog.com>2017-02-06 00:23:50 -0600
commit61ef5f0edd746c86d8545ceb9c0bebc9eabdbcf0 (patch)
tree64339593e398f4e7f3c2929a47db14b2a2fdb21e /package.json
parent572fb0be9b1d45437b7c0ed1000399657f471ec7 (diff)
downloadgitlab-ce-61ef5f0edd746c86d8545ceb9c0bebc9eabdbcf0.tar.gz
add npm run webpack command
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/package.json b/package.json
index 73fb487b973..9581d966237 100644
--- a/package.json
+++ b/package.json
@@ -1,12 +1,14 @@
{
"private": true,
"scripts": {
- "dev-server": "node_modules/.bin/webpack-dev-server --config config/webpack.config.js",
+ "dev-server": "webpack-dev-server --config config/webpack.config.js",
"eslint": "eslint --max-warnings 0 --ext .js,.js.es6 .",
"eslint-fix": "npm run eslint -- --fix",
"eslint-report": "npm run eslint -- --format html --output-file ./eslint-report.html",
"karma": "karma start config/karma.config.js --single-run",
- "karma-start": "karma start config/karma.config.js"
+ "karma-start": "karma start config/karma.config.js",
+ "webpack": "webpack --config config/webpack.config.js",
+ "webpack-prod": "NODE_ENV=production npm run webpack"
},
"dependencies": {
"babel": "^5.8.38",