Added SEA tests by running mocha twice

This commit is contained in:
mhelander 2017-10-12 11:28:04 +03:00
parent a4ed023ff9
commit 79aaa861cc

View File

@ -7,7 +7,7 @@
"scripts": { "scripts": {
"start": "node examples/http.js 8080", "start": "node examples/http.js 8080",
"prepublish": "npm run unbuild", "prepublish": "npm run unbuild",
"test": "mocha", "test": "mocha && SEA=true mocha",
"e2e": "mocha e2e/distributed.js", "e2e": "mocha e2e/distributed.js",
"docker": "hooks/build", "docker": "hooks/build",
"unbuild": "node lib/unbuild.js && uglifyjs gun.js -o gun.min.js -c -m" "unbuild": "node lib/unbuild.js && uglifyjs gun.js -o gun.min.js -c -m"