aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sol-cov/package.json')
-rw-r--r--packages/sol-cov/package.json29
1 files changed, 22 insertions, 7 deletions
diff --git a/packages/sol-cov/package.json b/packages/sol-cov/package.json
index 84e58f8d8..3292921fb 100644
--- a/packages/sol-cov/package.json
+++ b/packages/sol-cov/package.json
@@ -1,14 +1,19 @@
{
"name": "@0xproject/sol-cov",
- "version": "0.0.1",
+ "version": "0.0.4",
"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 3 './lib/src/monorepo_scripts/**/*' ./scripts"
},
"repository": {
"type": "git",
@@ -20,7 +25,7 @@
},
"homepage": "https://github.com/0xProject/0x.js/packages/sol-cov/README.md",
"dependencies": {
- "@0xproject/subproviders": "^0.7.0",
+ "@0xproject/subproviders": "^0.8.2",
"@0xproject/utils": "^0.3.4",
"ethereumjs-util": "^5.1.1",
"glob": "^7.1.2",
@@ -33,15 +38,25 @@
"web3": "^0.20.0"
},
"devDependencies": {
- "@0xproject/monorepo-scripts": "^0.1.12",
- "@0xproject/tslint-config": "^0.4.9",
+ "@0xproject/monorepo-scripts": "^0.1.14",
+ "@0xproject/tslint-config": "^0.4.12",
"@types/istanbul": "^0.4.29",
+ "@types/mocha": "^2.2.42",
"@types/node": "^8.0.53",
+ "chai": "^4.0.1",
+ "chai-typescript-typings": "^0.0.6",
"copyfiles": "^1.2.0",
+ "dirty-chai": "^2.0.1",
+ "mocha": "^4.0.1",
"npm-run-all": "^4.1.2",
+ "nyc": "^11.0.1",
"shx": "^0.2.2",
+ "sinon": "^4.0.0",
"tslint": "5.8.0",
"typescript": "2.7.1",
"web3-typescript-typings": "^0.9.11"
+ },
+ "publishConfig": {
+ "access": "public"
}
}