aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-05-24 22:23:54 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-05-24 22:23:54 +0800
commitabb3dcdaa2078961065def44c0d6a8335711e54b (patch)
tree89ff975bb79dde4f389f99eb7d2356eec3fc3489 /package.json
parent27b57da329f2bd0574433301d5d33320a7db155b (diff)
downloaddexon-sol-tools-abb3dcdaa2078961065def44c0d6a8335711e54b.tar
dexon-sol-tools-abb3dcdaa2078961065def44c0d6a8335711e54b.tar.gz
dexon-sol-tools-abb3dcdaa2078961065def44c0d6a8335711e54b.tar.bz2
dexon-sol-tools-abb3dcdaa2078961065def44c0d6a8335711e54b.tar.lz
dexon-sol-tools-abb3dcdaa2078961065def44c0d6a8335711e54b.tar.xz
dexon-sol-tools-abb3dcdaa2078961065def44c0d6a8335711e54b.tar.zst
dexon-sol-tools-abb3dcdaa2078961065def44c0d6a8335711e54b.zip
Add coverage command
Diffstat (limited to 'package.json')
-rw-r--r--package.json7
1 files changed, 5 insertions, 2 deletions
diff --git a/package.json b/package.json
index 8540e7785..20fa4a4d3 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,8 @@
"build:es6": "tsc -m es6 --outDir lib-esm",
"build": "npm run clean && run-p build:*",
"lint": "tslint src/ts/**/*",
- "test": "run-s clean build:commonjs && mocha lib/test/**/*.js"
+ "test": "run-s clean build:commonjs && mocha lib/test/**/*.js",
+ "coverage": "nyc npm run test --all"
},
"repository": {
"type": "git",
@@ -33,10 +34,12 @@
"chai": "^3.5.0",
"mocha": "^3.4.1",
"npm-run-all": "^4.0.2",
+ "nyc": "^10.3.2",
"shx": "^0.2.2",
+ "source-map-support": "^0.4.15",
"tslint": "^5.3.2",
"tslint-config-0xproject": "^0.0.2",
"typescript": "^2.3.3",
"webpack": "^2.6.0"
}
-} \ No newline at end of file
+}