-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
45 lines (45 loc) · 1.7 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
{
"name": "open-banking-graphql",
"version": "1.0.0",
"description": "Open Banking API Specifications -> GraphQL schemas -> ?",
"main": "index.js",
"directories": {
"lib": "lib",
"test": "test"
},
"dependencies": {
"graphql": "^14.0.2",
"jsonpath": "^1.0.0",
"yargs": "^12.0.5"
},
"devDependencies": {
"chai": "^4.2.0",
"graphql-schema-linter": "^0.1.6",
"mocha": "^5.2.0"
},
"scripts": {
"test": "mocha --recursive",
"coverage": "nyc --reporter=html --reporter=text ./node_modules/.bin/_mocha --recursive ; open ./coverage/index.html",
"lint": "node_modules/.bin/graphql-schema-linter -c .",
"lint:account-info": "API_NAME=account-info && npm run lint -- dist/${API_NAME}.graphql",
"generate": "node scripts/generate.js",
"generate:account-info": "API_NAME=account-info && npm run generate -- --input src/specs/${API_NAME}-swagger.json --template src/templates/${API_NAME}.graphql --rootInterface OBAccount3 --filter '^((?!(OBRead.*|Links|Meta|OBRisk2|OBError.*|OB.*Basic$|OB.*Detail$|OBCreditDebitCode|OBExternalPermissions1Code|OBExternalRequestStatus1Code)))' --output dist/${API_NAME}.graphql",
"build:account-info": "API_NAME=account-info && npm run generate:${API_NAME} && npm run lint:${API_NAME}"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SensibleWood/open-banking-graphql.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/SensibleWood/open-banking-graphql/issues"
},
"homepage": "https://github.com/SensibleWood/open-banking-graphql#readme",
"graphql-schema-linter": {
"rules": [
"enum-values-sorted-alphabetically",
"defined-types-are-used"
]
}
}