-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
66 lines (66 loc) · 1.58 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "swaggie",
"version": "0.8.3",
"description": "Generate ES6 or TypeScript service integration code from an OpenAPI spec",
"author": {
"name": "Piotr Dabrowski",
"url": "https://github.com/yhnavein"
},
"license": "MIT",
"homepage": "https://github.com/yhnavein/swaggie",
"repository": {
"type": "git",
"url": "https://github.com/yhnavein/swaggie.git"
},
"bugs": {
"url": "https://github.com/yhnavein/swaggie/issues"
},
"engines": {
"node": ">=14.0.0"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"swaggie": "dist/cli.js"
},
"scripts": {
"build": "sucrase ./src -d ./dist --transforms typescript,imports && npm run rm-tests && npm run types",
"rm-tests": "find dist/ -name '*.spec.js' -type f -delete",
"types": "tsc src/types.ts --outDir dist/ --declaration --emitDeclarationOnly && cp test/index.d.ts ./dist/",
"test": "mocha"
},
"files": [
"dist",
"templates"
],
"keywords": [
"swagger",
"swagger 2.0",
"openapi",
"rest",
"service",
"typescript",
"codegen"
],
"dependencies": {
"case": "^1.6.3",
"commander": "^10.0.0",
"dset": "^3.1.3",
"eta": "^3.4.0",
"js-yaml": "^4.1.0",
"nanocolors": "^0.2.0",
"node-fetch": "^2.6.7"
},
"devDependencies": {
"@types/chai": "4.3.14",
"@types/js-yaml": "4.0.9",
"@types/mocha": "10.0.6",
"@types/node-fetch": "2.6.11",
"@types/sinon": "17.0.3",
"chai": "4.4.1",
"mocha": "10.4.0",
"sinon": "17.0.1",
"sucrase": "3.35.0",
"typescript": "5.4.3"
}
}