aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-03-11 13:26:17 +0900
committerGitHub <noreply@github.com>2018-03-11 13:26:17 +0900
commit0e340959247ced73b61698542b9818b70f22597b (patch)
treec01e17c100e0f94653ac57a2b0f933485108c0a3 /package.json
parent4f483a19cb5eec9ab205d9e8cffa08d177d0478b (diff)
parent749d71e8e5ea098f4c5ae271af1164f5e2b2a06d (diff)
Merge pull request #358 from ueokande/improve-build
Improve build
Diffstat (limited to 'package.json')
-rw-r--r--package.json25
1 files changed, 12 insertions, 13 deletions
diff --git a/package.json b/package.json
index 9977b10..27413f6 100644
--- a/package.json
+++ b/package.json
@@ -2,14 +2,14 @@
"name": "vim-vixen",
"description": "Vim vixen",
"scripts": {
- "start": "webpack -w --debug --devtool inline-source-map",
- "build": "NODE_ENV=production webpack --progress --display-error-details",
+ "start": "webpack --mode development -w --debug --devtool inline-source-map",
+ "build": "NODE_ENV=production webpack --mode production --progress --display-error-details",
"package": "npm run build && script/package.sh",
"lint": "eslint --ext .jsx,.js src e2e/ambassador/src",
"test": "karma start",
"test:e2e": "karma start e2e/karma.conf.js",
- "ambassador:start": "webpack -w --debug --context e2e/ambassador --config e2e/ambassador/webpack.config.js --devtool inline-source-map",
- "ambassador:build": "webpack --context e2e/ambassador --config e2e/ambassador/webpack.config.js"
+ "ambassador:start": "webpack --mode production -w --debug --context e2e/ambassador --config e2e/ambassador/webpack.config.js --devtool inline-source-map",
+ "ambassador:build": "webpack --mode production --context e2e/ambassador --config e2e/ambassador/webpack.config.js"
},
"repository": {
"type": "git",
@@ -26,27 +26,26 @@
"babel-cli": "^6.24.1",
"babel-eslint": "^8.0.2",
"babel-loader": "^7.1.1",
- "babel-minify-webpack-plugin": "^0.2.0",
- "babel-preset-es2015": "^6.24.1",
"babel-preset-preact": "^1.1.0",
"chai": "^4.1.1",
- "css-loader": "^0.28.4",
+ "css-loader": "^0.28.10",
"eslint": "^4.7.0",
"eslint-plugin-react": "^7.4.0",
- "html-webpack-plugin": "^2.30.1",
+ "html-webpack-plugin": "^3.0.6",
"karma": "^2.0.0",
"karma-firefox-launcher": "^1.0.1",
"karma-html2js-preprocessor": "^1.1.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.3",
"karma-sourcemap-loader": "^0.3.7",
- "karma-webpack": "^2.0.4",
+ "karma-webpack": "^2.0.13",
"mocha": "^5.0.0",
"node-sass": "^4.5.3",
"preact": "^8.2.6",
- "sass-loader": "^6.0.6",
- "style-loader": "^0.19.0",
- "web-ext": "github:ueokande/web-ext#patched-2.3.2",
- "webpack": "^3.5.3"
+ "sass-loader": "^6.0.7",
+ "style-loader": "^0.20.3",
+ "web-ext": "github:ueokande/web-ext#patched-2.4.0",
+ "webpack": "^4.1.1",
+ "webpack-cli": "^2.0.11"
}
}