-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
39 lines (39 loc) · 1.36 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
{
"name": "@democracy-deutschland/bt-dip-sdk",
"version": "1.3.0",
"description": "Bundestag DIP - TypeScript SDK",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"author": "Manuel Ruck <[email protected]>",
"license": "Apache-2.0",
"homepage": "https://www.democracy-deutschland.de",
"repository": {
"type": "git",
"url": "git+https://github.com/demokratie-live/bt-dip-sdk.git"
},
"files": [
"lib"
],
"scripts": {
"build": "pnpm gen && tsc && node esbuild.js",
"gen": "pnpm gen-sdk && pnpm gen-docs",
"gen-sdk": "openapi-generator-cli generate -o ./src/__generated -i https://search.dip.bundestag.de/api/v1/openapi.yaml -g typescript-axios --additional-properties=useSingleRequestParameter=true,supportsES6=true,modelPropertyNaming='original' --enable-post-process-file --reserved-words-mappings abstract=abstract",
"gen-docs": "typedoc --out docs src/index.ts",
"test": "ts-node-dev -r dotenv/config src/tests/usage.ts",
"prepublishOnly": "pnpm build"
},
"peerDependencies": {
"axios": "*"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.7.0",
"@types/node": "^20.8.7",
"axios": "^1.6.8",
"dotenv": "^16.3.1",
"esbuild": "^0.20.2",
"esbuild-node-externals": "^1.9.0",
"ts-node-dev": "^2.0.0",
"typedoc": "^0.25.2",
"typescript": "5.4.2"
}
}