-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
67 lines (67 loc) · 1.69 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
67
{
"name": "openapi-client",
"version": "1.0.5",
"description": "Generate ES6 or TypeScript service integration code from an OpenAPI spec.",
"author": {
"name": "Mike Stead",
"url": "https://github.com/mikestead"
},
"license": "MIT",
"homepage": "https://github.com/mikestead/openapi-client",
"repository": {
"type": "git",
"url": "https://github.com/mikestead/openapi-client.git"
},
"bugs": {
"url": "https://github.com/mikestead/openapi-client/issues"
},
"engines": {
"node": ">=4.0.0",
"npm": ">=2.14.2"
},
"main": "dist/index.js",
"bin": {
"openapi": "dist/cli.js"
},
"scripts": {
"setup": "typings install",
"prebuild": "npm run init",
"build": "tsc",
"predev": "npm run init",
"dev": "tsc -w",
"init": "npm run clean && npm run copy:template",
"clean": "shx rm -rf ./dist",
"copy:template": "shx mkdir -p ./dist/gen/js && npm run copy:service-ts && npm run copy:service-js",
"copy:service-ts": "shx cp ./src/gen/js/service.ts.template ./dist/gen/js/service.ts.template",
"copy:service-js": "shx cp ./src/gen/js/service.js.template ./dist/gen/js/service.js.template"
},
"files": [
"dist"
],
"keywords": [
"swagger",
"swagger 2.0",
"openapi",
"rest",
"service",
"typescript",
"codegen"
],
"dependencies": {
"chalk": "^1.1.3",
"commander": "^2.9.0",
"isomorphic-fetch": "^2.2.1",
"js-yaml": "^3.6.1",
"mkdirp": "^0.5.1",
"mustache": "^2.2.1"
},
"devDependencies": {
"cross-env": "^1.0.7",
"expect": "^1.20.1",
"mocha": "^2.5.3",
"shx": "^0.1.2",
"tslint": "^3.10.2",
"typescript": "^1.8.10",
"typings": "^1.0.5"
}
}