-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 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
40
41
42
43
44
45
46
47
{
"name": "digitalocean-api-client",
"version": "1.20240621.0",
"author": "Samuel Kopp (https://samuelkopp.de)",
"license": "MIT",
"description": "A preconfigured, up-to-date OpenAPI client for DigitalOcean.",
"funding": "https://github.com/sponsors/boywithkeyboard",
"repository": "github:boywithkeyboard/digitalocean-api-client",
"keywords": [
"digitalocean",
"openapi"
],
"main": "./build/main.cjs",
"module": "./build/main.mjs",
"types": "./build/main.d.ts",
"files": [
"./build"
],
"exports": {
".": {
"import": {
"default": "./build/main.mjs",
"types": "./build/main.d.ts"
},
"require": {
"default": "./build/main.cjs",
"types": "./build/main.d.ts"
}
}
},
"scripts": {
"download": "openapi-typescript https://api-engineering.nyc3.cdn.digitaloceanspaces.com/spec-ci/DigitalOcean-public.v2.yaml -o ./spec.ts && node .github/fix.mjs",
"build": "npm run download && tsc && esbuild main.ts --bundle --minify --format=esm --outfile=build/main.mjs && esbuild main.ts --bundle --minify --format=cjs --outfile=build/main.cjs"
},
"dependencies": {
"openapi-fetch": "^0.9.7"
},
"devDependencies": {
"@types/node": "^20.14.2",
"esbuild": "^0.21.5",
"openapi-typescript": "^6.7.6",
"typescript": "^5.4.5"
},
"engines": {
"node": ">=18"
}
}