diff options
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" |