forked from flowup/api-client-generator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
81 lines (81 loc) · 2.47 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "api-client-generator",
"version": "3.0.3",
"description": "Angular REST API client generator from Swagger YAML or JSON file with camel case settigs",
"homepage": "https://github.com/flowup/api-client-generator/blob/master/README.md",
"main": "src/main.ts",
"author": {
"name": "FlowUp",
"email": "hello@flowup.cz",
"url": "https://flowup.cz"
},
"bin": {
"api-client-generator": "./dist/main.js"
},
"bugs": {
"url": "https://github.com/flowup/api-client-generator/issues"
},
"repository": {
"type": "git",
"url": "git@github.com:flowup/api-client-generator.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"keywords": [
"swagger",
"rest",
"angular5",
"angular4",
"angular",
"ngx",
"scaffolding",
"webapi",
"api",
"apiclient",
"generator",
"camelCase",
"HTTP",
"HTTPClient"
],
"engines": {
"node": ">=8.9.1",
"yarn": ">=1.4.0"
},
"license": "MIT",
"scripts": {
"generate": "node ./dist/main.js",
"build": "rimraf dist && tsc",
"lint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts' 'src/tests.ts'",
"gen": "ts-node ./src/main.ts",
"gen-sports": "rimraf ./tests/sports/api && ts-node ./src/main.ts -s ./tests/sports/swagger.yaml -o ./tests/sports/api",
"gen-esquare": "rimraf ./tests/esquare/api && ts-node ./src/main.ts -s ./tests/esquare/swagger.yaml -o ./tests/esquare/api",
"gen-gcloud-firestore": "rimraf ./tests/gcloud-firestore/api && ts-node ./src/main.ts -s ./tests/gcloud-firestore/swagger.yaml -o ./tests/gcloud-firestore/api",
"gen-github": "rimraf ./tests/github/api && ts-node ./src/main.ts -s ./tests/github/swagger.yaml -o ./tests/github/api",
"release": "npm run build && standard-version --tag-prefix=''",
"test": "ts-node ./src/tests.ts"
},
"dependencies": {
"fs-extra": "^5.0.0",
"mustache": "^2.3.0",
"optimist": "^0.6.1",
"swagger-parser": "^4.0.1"
},
"devDependencies": {
"@types/fs-extra": "^5.0.1",
"@types/mustache": "^0.8.30",
"@types/node": "^9.3.0",
"@types/optimist": "0.0.29",
"@types/rimraf": "^2.0.2",
"@types/swagger-parser": "^4.0.2",
"@types/swagger-schema-official": "^2.0.9",
"dir-compare": "^1.4.0",
"rimraf": "^2.5.2",
"standard-version": "^4.3.0",
"swagger-schema-official": "^2.0.0-bab6bed",
"ts-node": "^5.0.1",
"tslint": "^5.9.1",
"tslint-immutable": "^4.5.2",
"typescript": "^2.7.2"
}
}