forked from oazapfts/oazapfts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
57 lines (57 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
{
"name": "oazapfts",
"version": "3.3.1",
"description": "OpenApi TypeScript client generator",
"main": "lib/index.js",
"bin": {
"oazapfts": "lib/codegen/cli.js"
},
"scripts": {
"build": "tsc",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "jest",
"test:e2e": "npm run generate-demo && with-server 'cd demo && jest'",
"start": "open-api-mocker -p $PORT -s demo/petstore.json",
"generate-demo": "npm run prepare && ./lib/codegen/cli.js ./demo/petstore.json ./demo/api.ts && ./lib/codegen/cli.js --optimistic ./demo/petstore.json ./demo/optimisticApi.ts && prettier -w demo",
"prepare": "npm run build && chmod +x ./lib/codegen/cli.js"
},
"keywords": [
"openapi",
"typescript"
],
"author": "Felix Gnass",
"license": "MIT",
"repository": "cellular/oazapfts",
"devDependencies": {
"@types/jest": "^26.0.12",
"@types/lodash": "^4.14.161",
"@types/minimist": "^1.2.0",
"@types/node": "^14.6.2",
"form-data": "^3.0.0",
"husky": "^4.2.5",
"jest": "^26.4.2",
"lint-staged": "^10.2.13",
"node-fetch": "^2.6.0",
"open-api-mocker": "1.4.x",
"openapi-types": "^1.3.5",
"prettier": "^2.1.1",
"ts-jest": "^26.3.0",
"ts-node": "^8.10.2",
"with-server": "^2.0.0"
},
"dependencies": {
"@apidevtools/swagger-parser": "^9.0.1",
"lodash": "^4.17.20",
"minimist": "^1.2.5",
"swagger2openapi": "^6.2.3",
"typescript": "^4.1.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js,json,md}": "prettier --write"
}
}