aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json43
1 files changed, 22 insertions, 21 deletions
diff --git a/package.json b/package.json
index ad25ffa..7feed45 100644
--- a/package.json
+++ b/package.json
@@ -2,12 +2,14 @@
"name": "vim-vixen",
"description": "Vim vixen",
"scripts": {
- "start": "webpack -w --debug --devtool inline-source-map",
- "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"
+ "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 --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",
@@ -20,31 +22,30 @@
},
"homepage": "https://github.com/ueokande/vim-vixen",
"devDependencies": {
+ "adm-zip": "^0.4.7",
"babel-cli": "^6.24.1",
- "babel-eslint": "^7.2.3",
+ "babel-eslint": "^8.0.2",
"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",
+ "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",
- "karma": "^1.7.0",
+ "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",
- "mocha": "^3.5.0",
+ "karma-webpack": "^3.0.0",
+ "mocha": "^5.0.0",
"node-sass": "^4.5.3",
- "react": "^16.0.0",
- "react-dom": "^16.0.0",
- "sass-loader": "^6.0.6",
- "style-loader": "^0.18.2",
- "webpack": "^3.5.3"
+ "preact": "^8.2.6",
+ "sass-loader": "^7.0.1",
+ "style-loader": "^0.21.0",
+ "web-ext": "github:ueokande/web-ext#patched-2.4.0",
+ "webpack": "^4.1.1",
+ "webpack-cli": "^2.0.11"
}
}