This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
69 lines (69 loc) · 3.07 KB
/
package.json
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
62
63
64
65
66
67
68
69
{
"name": "account-info-api-spec",
"version": "1.1.0",
"description": "Tools to compile and flatten JSON schemas, and generate Swagger Docs",
"main": "index.js",
"scripts": {
"buildswagger": "node ./scripts/build-swagger.js",
"copy-product-schemas": "node ./scripts/convert-product-to-definitions.js",
"csvtoyaml": "node ./scripts/convert-gefeg-to-definitions.js",
"flatten-schemas": "cd build && ./flatten-schemas.sh",
"compile-swagger": "cd build && node compile-swagger.js",
"build:swagger": "npm run flatten-schemas && npm run compile-swagger",
"build": "npm run build:swagger && npm run build:spectacle",
"build:all": "npm run build && npm run build:wsd && npm run swagger2markdown && npm run swagger2asciidoc && npm run asciidoc2html && npm run pdfgen",
"build:spectacle": "spectacle ./dist/account-info-swagger.json -t ./dist/public",
"build:wsd": "node build/generate-wsd.js",
"swagger2markdown": "java -jar swagger2markup-cli-1.3.1.jar convert -i dist/account-info-swagger.yaml -f dist/account-info-swagger -c build/swagger2markup/markdown.properties",
"swagger2html": "npm run swagger2asciidoc && npm run asciidoc2html",
"swagger2asciidoc": "java -jar swagger2markup-cli-1.3.1.jar convert -i dist/account-info-swagger.yaml -d ./asciidoc -c build/swagger2markup/asciidoc.properties",
"swagger2pdf": "npm run swagger2asciidoc && npm run pdfgen",
"asciidoc2html": "asciidoctor asciidoc/index.adoc -a toc=left -a toclevels=4 -a numbered='' -o dist/account-info-swagger.html",
"pdfgen": "cd build && ./pdfgen.sh",
"watch:swagger": "spectacle -d ./dist/account-info-swagger.json -t ./dist/public",
"open-localhost": "node -e 'require(\"open\")(\"http://localhost:8080\")'",
"serve": "npm run open-localhost && spectacle -s ./dist/account-info-swagger.json -t ./dist/public -p 8080 ",
"test": "mocha test",
"test:watch": "mocha test --watch",
"test:debug": "mocha test --inspect --watch",
"start": "npm run build && npm run serve"
},
"repository": {
"type": "git",
"url": "git+https://github.com/OpenBankingUK/account-info-api-spec.git"
},
"license": "UNLICENSED",
"bugs": {
"url": "https://github.com/OpenBankingUK/account-info-api-spec-build/issues"
},
"homepage": "https://github.com/OpenBankingUK/account-info-api-spec-build#readme",
"dependencies": {
"find": "^0.2.9",
"flatten": "^1.0.2",
"jsonpath": "^1.0.0",
"yargs": "^12.0.1",
"swagger-parser": "beta"
},
"devDependencies": {
"ajv": "^4.10.0",
"ajv-cli": "1.1.1",
"chai": "^3.5.0",
"csv-parse": "^2.0.4",
"eslint": "^4.18.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.8.0",
"glob": "^7.1.1",
"js-beautify": "*",
"js-yaml": "^3.7.0",
"json-schema-ref-parser": "3.1.2",
"json2yaml": "*",
"lodash": "^4.17.5",
"mkdirp": "*",
"mocha": "^3.2.0",
"mocha-junit-reporter": "^1.12.1",
"open": "*",
"spectacle-docs": "*",
"supertest": "^2.0.1",
"websequencediagrams": "git://github.com/Onegini/node-websequencediagrams"
}
}