This repository was archived by the owner on Jun 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.39 KB
/
package.json
File metadata and controls
35 lines (35 loc) · 1.39 KB
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
{
"name": "ccf-api",
"version": "0.7.0",
"description": "A specificaton and set of web service calls to return information about CCF-mapped data",
"main": "index.js",
"private": true,
"scripts": {
"test": "npm-run-all validate",
"validate": "swagger-cli validate schema/openapi.yaml",
"build": "swagger-cli bundle -w 80 -t yaml schema/openapi.yaml -o ccf-api-spec.yaml",
"start:mock": "npm-run-all --serial build --parallel start:mock-server start:graphql-server",
"start:mock-server": "prism mock -h 0.0.0.0 ccf-api-spec.yaml -p 8080",
"start:graphql-server": "openapi-to-graphql -q --cors ccf-api-spec.yaml -u http://localhost:8080 -p 8081",
"start:docker-mock": "npm-run-all build start:docker-mock-up",
"start:docker-mock-up": "docker-compose -f docker/docker-compose.mock-server.yml up",
"start:docker-mock-down": "docker-compose -f docker/docker-compose.mock-server.yml down",
"start": "npm run start:mock"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hubmapconsortium/ccf-api.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/hubmapconsortium/ccf-api/issues"
},
"homepage": "https://github.com/hubmapconsortium/ccf-api#readme",
"devDependencies": {
"@stoplight/prism-cli": "^3.1.1",
"npm-run-all": "^4.1.5",
"openapi-to-graphql-cli": "^1.6.2",
"swagger-cli": "^2.3.3"
}
}