aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-02-14 18:43:28 +0900
committerGitHub <noreply@github.com>2018-02-14 18:43:28 +0900
commita48915d4e090378a672d780b2fbc93e1af6e082c (patch)
tree2e6a4295935577c5e0facbb3f5d569893bf28afe /package.json
parent5412584a7c453d074dca6d58814e29590085ff73 (diff)
parentf63920e25e80ca0e472d3514fd56e27fbc505e6f (diff)
Merge pull request #329 from ueokande/e2e-test
End-to-End testing
Diffstat (limited to 'package.json')
-rw-r--r--package.json8
1 files changed, 6 insertions, 2 deletions
diff --git a/package.json b/package.json
index 6395a21..9977b10 100644
--- a/package.json
+++ b/package.json
@@ -5,8 +5,11 @@
"start": "webpack -w --debug --devtool inline-source-map",
"build": "NODE_ENV=production webpack --progress --display-error-details",
"package": "npm run build && script/package.sh",
- "lint": "eslint --ext .jsx,.js src",
- "test": "karma start"
+ "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"
},
"repository": {
"type": "git",
@@ -43,6 +46,7 @@
"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"
}
}