aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-10 20:21:42 +0900
committerGitHub <noreply@github.com>2017-10-10 20:21:42 +0900
commit956b5d5a965361df9396131934850b1698461ec2 (patch)
tree0afb33a3a90a316bab9d1f60c2750fc6e4c7a92c /package.json
parentb776608f08aa15338294b49b15967f57fe297fed (diff)
parent120fd9b02653ce2b6ef447b6ea50fb15514dbb10 (diff)
Merge pull request #32 from ueokande/build-package
Build package
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/package.json b/package.json
index 42da3a7..49b191a 100644
--- a/package.json
+++ b/package.json
@@ -2,8 +2,11 @@
"name": "vim-vixen",
"description": "Vim vixen",
"scripts": {
- "start": "webpack -w --debug",
+ "start": "webpack -w -d",
"lint": "eslint --ext .jsx,.js src",
+ "build": "NODE_ENV=production webpack --progress --display-error-details",
+ "package": "npm run build && ./package.sh",
+ "lint": "eslint src",
"test": "karma start"
},
"repository": {
@@ -20,6 +23,7 @@
"babel-cli": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.1.1",
+ "babel-minify-webpack-plugin": "^0.2.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",