Commit d9ab14281e683bbcd8f54b5cb7874edbbdd088a7
added coverage
wanderer committed on 2/22/2017, 1:50:20 PMParent: fb80c5e51c634a7cd505d71b34160b19f451cd16
Files changed
package.json | changed |
package.json | ||
---|---|---|
@@ -2,8 +2,10 @@ | ||
2 | 2 | "name": "ewasm-kernel", |
3 | 3 | "version": "0.0.0", |
4 | 4 | "description": "This is a JS prototype of the eWASM kernal.", |
5 | 5 | "scripts": { |
6 | + "coverage": "node --harmony ./node_modules/istanbul/lib/cli.js cover ./tests/apiTests.js", | |
7 | + "coveralls": "npm run coverage && coveralls <coverage/lcov.info", | |
6 | 8 | "lint": "standard", |
7 | 9 | "test": "node --harmony --expose-wasm ./tests/interfaceRunner.js", |
8 | 10 | "build": "node ./tests/buildTests.js && ./tools/wabt/out/wast2wasm ./wasm/interface.wast -o ./wasm/interface.wasm" |
9 | 11 | }, |
@@ -24,8 +26,10 @@ | ||
24 | 26 | "author": "mjbecze <mjbecze@gmail.com>", |
25 | 27 | "contributors": "Alex Beregszaszi <alex@rtfs.hu>", |
26 | 28 | "license": "MPL-2.0", |
27 | 29 | "devDependencies": { |
30 | + "coveralls": "^2.11.16", | |
31 | + "istanbul": "^0.4.5", | |
28 | 32 | "standard": "*", |
29 | 33 | "tape": "^4.5.1" |
30 | 34 | }, |
31 | 35 | "standard": { |
Built with git-ssb-web