-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 932 Bytes
/
Copy pathpackage.json
File metadata and controls
35 lines (35 loc) · 932 Bytes
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
{
"name": "api-client",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"version": "0.0.0",
"repository": "git@github.com:IcePanel/ice-openapi-node.git",
"author": "IcePanel <mail@icepanel.io>",
"license": "MIT",
"files": [
"dist",
"res/openapi.json",
"res/openapi-refs.json"
],
"scripts": {
"clean": "rimraf src dist",
"build": "run-s build:res build:ts",
"build:res": "cpx '../api/src/res/*' ./res",
"build:ts": "tsc",
"gen": "run-s clean gen:client build",
"gen:client": "openapi --useUnionTypes --client axios true --input ../api/src/res/openapi.yaml --output ./src"
},
"dependencies": {
"axios": "^0.25.0",
"cross-blob": "2.x",
"form-data": "4.x"
},
"devDependencies": {
"cpx": "^1.5.0",
"npm-run-all": "^4.1.5",
"openapi-typescript-codegen": "^0.23.0",
"rimraf": "^3.0.2",
"tslib": "^2.4.0",
"typescript": "^4.8.4"
}
}