Add test:electron script for all tests

This commit is contained in:
Ben Drucker
2016-07-04 08:07:54 -07:00
parent 0a191566d6
commit 6f97b1c468
+2
View File
@@ -5,6 +5,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"deps": "dependency-check . && dependency-check . --extra --no-dev -i xhr", "deps": "dependency-check . && dependency-check . --extra --no-dev -i xhr",
"test:electron": "browserify tests/**/*.js -t es2020 | tape-run",
"test:server": "standard && npm run deps && NODE_ENV=test node tests/server/*", "test:server": "standard && npm run deps && NODE_ENV=test node tests/server/*",
"test:server:cov": "standard && npm run deps && NODE_ENV=test istanbul cover tests/server/*", "test:server:cov": "standard && npm run deps && NODE_ENV=test istanbul cover tests/server/*",
"test:browser": "standard && npm run deps && NODE_ENV=test zuul tests/browser/*", "test:browser": "standard && npm run deps && NODE_ENV=test zuul tests/browser/*",
@@ -47,6 +48,7 @@
"standard": "^7.1.0", "standard": "^7.1.0",
"tachyons": "^4.0.0-beta.19", "tachyons": "^4.0.0-beta.19",
"tape": "^4.5.1", "tape": "^4.5.1",
"tape-run": "~2.1.4",
"yo-yoify": "^3.1.0", "yo-yoify": "^3.1.0",
"zuul": "toddself/zuul" "zuul": "toddself/zuul"
} }