diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-18 21:01:18 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-18 21:01:18 +0800 |
commit | 4948551703fb3cb9f8470d9f4a61a9a5473e5afa (patch) | |
tree | 2e7d4d2e9c98cb6bebf7bdd17444d4b351220018 /packages/sol-cov/package.json | |
parent | d7bf003d511321ec6cb8814cb1549c46b4efba86 (diff) | |
parent | d4c1b3b0bd26e730ce6687469cdf7283877543e1 (diff) | |
download | dexon-sol-tools-4948551703fb3cb9f8470d9f4a61a9a5473e5afa.tar dexon-sol-tools-4948551703fb3cb9f8470d9f4a61a9a5473e5afa.tar.gz dexon-sol-tools-4948551703fb3cb9f8470d9f4a61a9a5473e5afa.tar.bz2 dexon-sol-tools-4948551703fb3cb9f8470d9f4a61a9a5473e5afa.tar.lz dexon-sol-tools-4948551703fb3cb9f8470d9f4a61a9a5473e5afa.tar.xz dexon-sol-tools-4948551703fb3cb9f8470d9f4a61a9a5473e5afa.tar.zst dexon-sol-tools-4948551703fb3cb9f8470d9f4a61a9a5473e5afa.zip |
merge development
Diffstat (limited to 'packages/sol-cov/package.json')
-rw-r--r-- | packages/sol-cov/package.json | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/packages/sol-cov/package.json b/packages/sol-cov/package.json index 84e58f8d8..f3de566c1 100644 --- a/packages/sol-cov/package.json +++ b/packages/sol-cov/package.json @@ -2,13 +2,18 @@ "name": "@0xproject/sol-cov", "version": "0.0.1", "description": "Generate coverage reports for Solidity code", - "main": "lib/index.js", - "types": "lib/index.d.ts", + "main": "lib/src/index.js", + "types": "lib/src/index.d.ts", "scripts": { "build:watch": "tsc -w", "lint": "tslint --project . 'src/**/*.ts'", + "test": "run-s clean build run_mocha", + "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov", + "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", + "test:circleci": "yarn test:coverage", + "run_mocha": "mocha lib/test/**/*_test.js", "clean": "shx rm -rf lib scripts", - "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts" + "build": "copyfiles 'test/fixtures/**/*' ./lib && tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts" }, "repository": { "type": "git", @@ -37,7 +42,14 @@ "@0xproject/tslint-config": "^0.4.9", "@types/istanbul": "^0.4.29", "@types/node": "^8.0.53", + "@types/mocha": "^2.2.42", + "sinon": "^4.0.0", "copyfiles": "^1.2.0", + "nyc": "^11.0.1", + "chai": "^4.0.1", + "dirty-chai": "^2.0.1", + "chai-typescript-typings": "^0.0.4", + "mocha": "^4.0.1", "npm-run-all": "^4.1.2", "shx": "^0.2.2", "tslint": "5.8.0", |