forked from NemProject/nem
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
36 lines (36 loc) · 1.49 KB
/
Copy pathpackage.json
File metadata and controls
36 lines (36 loc) · 1.49 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
36
{
"name": "nem-openapi",
"version": "1.0.0",
"description": "OpenAPI Specification of NEM Client API",
"main": "index.js",
"scripts": {
"lint:openapi:source": "redocly lint spec/openapi.yml",
"lint:openapi:build": "redocly lint _build/openapi3.yml _build/openapi3.json",
"lint": "npm run lint:openapi:source",
"test": "npm run lint:openapi:build && npm run verify-links",
"verify-links": "markdown-link-check _build/openapi3.yml -c .markdown-link-check.json -q",
"build:openapi-yaml": "redocly bundle spec/openapi.yml -o _build/openapi3.yml",
"build:openapi-json": "redocly bundle spec/openapi.yml -o _build/openapi3.json",
"build:postman": "openapi2postmanv2 -s _build/openapi3.yml -o _build/postman.json -p",
"build": "npm run build:openapi-yaml && npm run build:openapi-json && npm run build:postman",
"version": "echo $npm_package_version",
"version:prepare": "mkdir -p _build/v$npm_package_version",
"version:pack": "cp _build/openapi3.yml _build/openapi3.json _build/postman.json _build/v$npm_package_version"
},
"repository": {
"type": "git",
"url": "git+https://github.com/NemProject/nem.git",
"directory": "openapi"
},
"license": "Apache 2.0",
"bugs": {
"url": "https://github.com/NemProject/nem/issues"
},
"homepage": "https://github.com/NemProject/nem/tree/dev/openapi",
"dependencies": {},
"devDependencies": {
"@redocly/cli": "^2.29.0",
"markdown-link-check": "^3.14.2",
"openapi-to-postmanv2": "^6.0.1"
}
}