aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-spec/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sra-spec/package.json')
-rw-r--r--packages/sra-spec/package.json63
1 files changed, 63 insertions, 0 deletions
diff --git a/packages/sra-spec/package.json b/packages/sra-spec/package.json
new file mode 100644
index 000000000..2d3e7decd
--- /dev/null
+++ b/packages/sra-spec/package.json
@@ -0,0 +1,63 @@
+{
+ "name": "@0x/sra-spec",
+ "version": "1.0.7",
+ "engines": {
+ "node": ">=6.12"
+ },
+ "description": "Standard Relayer API Open API Spec",
+ "main": "lib/src/index.js",
+ "types": "lib/src/index.d.ts",
+ "scripts": {
+ "serve": "redoc-cli serve lib/api.json --watch",
+ "watch_without_deps": "run-p build:watch serve",
+ "lint": "tslint --format stylish --project .",
+ "test": "swagger-cli validate lib/api.json",
+ "rebuild_and_test": "run-s clean build test",
+ "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",
+ "clean": "shx rm -rf lib",
+ "build": "tsc -b && yarn copy_md_files && yarn build-json",
+ "build:ci": "yarn build",
+ "build-json": "node ./lib/build_scripts/buildJson",
+ "build:watch": "chokidar 'src/**/*' -c 'yarn build' ",
+ "copy_md_files": "copyfiles -u 2 './src/md/**/*.md' ./lib/src/md",
+ "deploy-site": "discharge deploy"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/0xProject/0x-monorepo.git"
+ },
+ "author": "Francesco Agosti",
+ "license": "Apache-2.0",
+ "bugs": {
+ "url": "https://github.com/0xProject/0x-monorepo/issues"
+ },
+ "homepage": "https://github.com/0xProject/0x-monorepo/packages/sra-spec/README.md",
+ "dependencies": {
+ "@0x/json-schemas": "^2.0.0",
+ "@loopback/openapi-v3-types": "^0.8.2"
+ },
+ "devDependencies": {
+ "@0x/tslint-config": "^1.0.9",
+ "@types/mocha": "^2.2.42",
+ "@types/node": "^10.5.3",
+ "chai": "^4.0.1",
+ "chokidar-cli": "^1.2.0",
+ "copyfiles": "^2.0.0",
+ "dirty-chai": "^2.0.1",
+ "discharge": "^0.7.1",
+ "mocha": "^4.0.1",
+ "npm-run-all": "^4.1.3",
+ "nyc": "^11.0.1",
+ "redoc-cli": "^0.6.1",
+ "shx": "^0.2.2",
+ "swagger-cli": "^2.1.1",
+ "ts-node": "^7.0.0",
+ "tslint": "5.11.0",
+ "typescript": "3.0.1"
+ },
+ "publishConfig": {
+ "access": "public"
+ }
+}