forked from BRP-API/Haal-Centraal-BRP-bevragen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (46 loc) · 2.73 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
{
"name": "haal-centraal-brp-bevragen",
"version": "1.0.0",
"description": "BRP Bevragen is een Haal Centraal API voor het zoeken en raadplegen van ingeschreven natuurlijke personen voor alle binnengemeentelijke afnemers in NL. De informatie die de API levert is herleidbaar naar het LO GBA 3.10.",
"main": "index.js",
"directories": {
"doc": "docs",
"test": "test"
},
"scripts": {
"oas:generate-client": "openapi-generator-cli generate -i ./specificatie/genereervariant/openapi.yaml --global-property=modelTests=false,apiTests=false,modelDocs=false,apiDocs=false",
"oas:generate-java-client": "npm run oas:generate-client -- -o ./code/java -g java --additional-properties=dateLibrary=java8,java8=true,optionalProjectFile=false,optionalAssemblyInfo=false",
"oas:generate-netcore-client": "npm run oas:generate-client -- -o ./code/netcore -g csharp-netcore --additional-properties=optionalProjectFile=false,optionalAssemblyInfo=false",
"oas:generate-net-client": "npm run oas:generate-client -- -o ./code/net -g csharp --additional-properties=optionalProjectFile=false,optionalAssemblyInfo=false",
"oas:generate-python-client": "npm run oas:generate-client -- -o ./code/python -g python --additional-properties=optionalProjectFile=false,optionalAssemblyInfo=false",
"oas:generate-postman-collection": "openapi2postmanv2 -s ./specificatie/genereervariant/openapi.yaml -o ./test/BRP-Bevragen-postman-collection.json --pretty",
"oas:lint": "spectral lint ./specificatie/openapi.yaml",
"oas:lint-genereervariant": "spectral lint ./specificatie/genereervariant/openapi.yaml",
"preoas:resolve": "mvn-dl io.swagger.codegen.v3:swagger-codegen-cli:3.0.19 -f swagger-codegen-cli.jar",
"oas:resolve": "java -jar swagger-codegen-cli.jar generate -i ./specificatie/openapi.yaml -l openapi-yaml -o ./specificatie/genereervariant && java -jar swagger-codegen-cli.jar generate -i ./specificatie/openapi.yaml -l openapi -o ./specificatie/genereervariant",
"postoas:resolve": "rm swagger-codegen-cli.jar",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/VNG-Realisatie/Haal-Centraal-BRP-bevragen.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/VNG-Realisatie/Haal-Centraal-BRP-bevragen/issues"
},
"homepage": "https://github.com/VNG-Realisatie/Haal-Centraal-BRP-bevragen#readme",
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.1.7",
"@stoplight/spectral": "^5.7.1",
"husky": "^4.3.0",
"mvn-dl": "^5.1.0",
"openapi-to-postmanv2": "^2.0.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run oas:lint && npm run oas:resolve && npm run oas:lint-genereervariant"
}
}
}