aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-report/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sra-report/package.json')
-rw-r--r--packages/sra-report/package.json37
1 files changed, 26 insertions, 11 deletions
diff --git a/packages/sra-report/package.json b/packages/sra-report/package.json
index 86083d000..78c37e002 100644
--- a/packages/sra-report/package.json
+++ b/packages/sra-report/package.json
@@ -1,14 +1,19 @@
{
"name": "@0xproject/sra-report",
- "version": "0.0.1",
+ "version": "0.0.5",
"description": "Generate reports for standard relayer API compliance",
"main": "lib/index.js",
"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"
@@ -23,23 +28,33 @@
},
"homepage": "https://github.com/0xProject/0x-monorepo/packages/sra-report/README.md",
"dependencies": {
- "0x.js": "^0.33.1",
- "@0xproject/assert": "^0.2.0",
- "@0xproject/connect": "^0.6.3",
- "@0xproject/json-schemas": "^0.7.14",
- "@0xproject/utils": "^0.4.1",
+ "0x.js": "^0.33.6",
+ "@0xproject/assert": "^0.2.3",
+ "@0xproject/connect": "^0.6.6",
+ "@0xproject/json-schemas": "^0.7.17",
+ "@0xproject/utils": "^0.4.3",
"chalk": "^2.3.0",
"lodash": "^4.17.4",
"newman": "^3.9.3",
"yargs": "^10.0.3"
},
"devDependencies": {
- "@0xproject/monorepo-scripts": "^0.1.12",
- "@0xproject/tslint-config": "^0.4.10",
- "@types/lodash": "^4.14.86",
+ "@0xproject/monorepo-scripts": "^0.1.14",
+ "@0xproject/tslint-config": "^0.4.12",
+ "@types/lodash": "4.14.104",
+ "@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"