aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-api/package.json
blob: 5fed56303a1eb074c1477ae35de666423cfd7d32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
    "name": "@0xproject/sra-api",
    "version": "0.0.1",
    "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-json:watch serve",
        "lint": "tslint --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 && yarn build-json",
        "build-site": "yarn build && redoc-cli bundle lib/api.json --output public/index.html",
        "build-json": "ts-node build_scripts/buildJson.ts",
        "build-json:watch": "chokidar 'src/**/*' -c 'yarn build-json' ",
        "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-api/README.md",
    "dependencies": {
        "@0xproject/json-schemas": "1.0.1-rc.3"
    },
    "devDependencies": {
        "@0xproject/tslint-config": "^1.0.4",
        "@loopback/openapi-v3-types": "^0.8.2",
        "@types/mocha": "^2.2.42",
        "@types/node": "^10.5.3",
        "chai": "^4.0.1",
        "chokidar-cli": "^1.2.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": "2.7.1"
    },
    "publishConfig": {
        "access": "public"
    }
}