diff options
author | Brandon Millman <brandon@0xproject.com> | 2018-03-20 01:28:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-20 01:28:02 +0800 |
commit | c7c12371ef581920cbb10cc4586de17cdaa333f6 (patch) | |
tree | 40daa2b500f20078d31c9ee864f936c4b7bb2a3d /packages/sra-report/package.json | |
parent | 2a438419ab3bc32dba43918cf2eb480439ef81de (diff) | |
parent | fb40b105015a20bb4359a3360258c9f85c495744 (diff) | |
download | dexon-sol-tools-c7c12371ef581920cbb10cc4586de17cdaa333f6.tar dexon-sol-tools-c7c12371ef581920cbb10cc4586de17cdaa333f6.tar.gz dexon-sol-tools-c7c12371ef581920cbb10cc4586de17cdaa333f6.tar.bz2 dexon-sol-tools-c7c12371ef581920cbb10cc4586de17cdaa333f6.tar.lz dexon-sol-tools-c7c12371ef581920cbb10cc4586de17cdaa333f6.tar.xz dexon-sol-tools-c7c12371ef581920cbb10cc4586de17cdaa333f6.tar.zst dexon-sol-tools-c7c12371ef581920cbb10cc4586de17cdaa333f6.zip |
Merge pull request #451 from 0xProject/feature/sra-report/collection-tests@0xproject/deployer@0.3.3
Add scaffolding for sra-report collection unit tests
Diffstat (limited to 'packages/sra-report/package.json')
-rw-r--r-- | packages/sra-report/package.json | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/packages/sra-report/package.json b/packages/sra-report/package.json index eba7fd91f..d3f676666 100644 --- a/packages/sra-report/package.json +++ b/packages/sra-report/package.json @@ -6,9 +6,14 @@ "types": "lib/index.d.ts", "scripts": { "build:watch": "tsc -w", - "lint": "tslint --project . 'src/**/*.ts'", "clean": "shx rm -rf lib scripts", - "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts" + "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts", + "lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'", + "build": "tsc", + "test": "run-s clean build copy_test_environments copy_test_fixtures run_mocha", + "copy_test_fixtures": "copyfiles -u 2 './test/fixtures/**/*.json' ./lib/test/fixtures", + "copy_test_environments": "copyfiles -u 2 './test/environments/**/*.json' ./lib/test/environments", + "run_mocha": "mocha lib/test/**/*_test.js" }, "bin": { "sra-report": "lib/index.js" @@ -37,9 +42,19 @@ "@0xproject/monorepo-scripts": "^0.1.14", "@0xproject/tslint-config": "^0.4.12", "@types/lodash": "^4.14.86", + "@types/mocha": "^2.2.48", + "@types/nock": "^9.1.2", "@types/node": "^8.0.53", "@types/yargs": "^10.0.0", + "chai": "^4.0.1", + "chai-as-promised": "^7.1.0", + "chai-as-promised-typescript-typings": "^0.0.10", + "chai-typescript-typings": "^0.0.4", "copyfiles": "^1.2.0", + "dirty-chai": "^2.0.1", + "mocha": "^4.0.1", + "nock": "^9.2.3", + "npm-run-all": "^4.1.2", "shx": "^0.2.2", "tslint": "5.8.0", "typescript": "2.7.1" |