-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.41 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
48
49
{
"name": "@penkov/swagger-code-gen",
"version": "1.7.7",
"type": "module",
"bin": {
"generate-client": "./dist/cli.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/papirosko/swagger-code-gen"
},
"keywords": [
"swagger",
"openapi",
"typescript",
"code generator"
],
"author": "penkov.vladimir@gmail.com",
"license": "ISC",
"bugs": {
"url": "https://github.com/papirosko/swagger-code-gen/issues"
},
"homepage": "https://github.com/papirosko/swagger-code-gen#readme",
"scripts": {
"test:petstore": "node --loader ts-node/esm ./src/cli.mjs --enableScats --targetNode --url https://petstore3.swagger.io/api/v3/openapi.json tmp/petstore.ts",
"clean": "rimraf dist",
"lint": "eslint \"{src,test}/**/*.ts\" --fix",
"prebuild": "npm run lint && npm run clean",
"copy-files": "mkdir -p ./dist/templates && cp -R ./src/templates/* ./dist/templates/",
"build": "tsc && chmod +x ./dist/cli.mjs && npm run copy-files"
},
"dependencies": {
"commander": "^9.4.1",
"ejs": "^3.1.8",
"log4js": "^6.7.1",
"node-fetch": "^3.3.0",
"scats": "1.4.2",
"tslib": "^2.4.1"
},
"devDependencies": {
"@types/ejs": "^3.1.1",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"eslint": "^7.30.0",
"rimraf": "^3.0.2",
"ts-node": "^10.9.2",
"typescript": "^4.9.3"
}
}