-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
64 lines (64 loc) · 1.54 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
{
"name": "swaggie",
"version": "0.7.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": ">=12.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 'src/**/*.spec.ts'"
},
"files": [
"dist",
"templates"
],
"keywords": [
"swagger",
"swagger 2.0",
"openapi",
"rest",
"service",
"typescript",
"codegen"
],
"dependencies": {
"case": "^1.6.3",
"commander": "^8.3.0",
"dset": "^3.1.1",
"eta": "^1.12.3",
"js-yaml": "^4.1.0",
"nanocolors": "^0.2.0",
"node-fetch": "^2.6.7"
},
"devDependencies": {
"@types/chai": "4.3.0",
"@types/js-yaml": "4.0.5",
"@types/mocha": "9.1.0",
"@types/node-fetch": "2.5.12",
"chai": "4.3.6",
"mocha": "9.2.0",
"sucrase": "3.20.3",
"typescript": "4.5.5"
}
}