-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·112 lines (112 loc) · 3.36 KB
/
package.json
File metadata and controls
executable file
·112 lines (112 loc) · 3.36 KB
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "api-typescript-generator",
"version": "2.8.6",
"description": "Generates OpenAPI TypeScript client. Extremely fast and flexible.",
"license": "MIT",
"author": "Marat Dulin <mdevils@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/mdevils/api-typescript-generator.git"
},
"files": [
"index.d.ts",
"openapi.d.ts",
"openapi-client.d.ts",
"lib",
"docs",
"LICENSE",
"README.md"
],
"exports": {
".": {
"import": "./lib/index.js",
"types": "./lib/index.d.ts",
"require": "./lib/index.js"
},
"./openapi": {
"import": "./lib/openapi.js",
"types": "./lib/openapi.d.ts",
"require": "./lib/openapi.js"
},
"./openapi-client": {
"import": "./lib/openapi-client.js",
"types": "./lib/openapi-client.d.ts",
"require": "./lib/openapi-client.js"
}
},
"main": "lib/index.js",
"bin": "lib/cli/index.js",
"scripts": {
"precheck": "tsc --noEmit && jest && ",
"build": "rimraf lib && tsc -p tsconfig.build.json && cp -R src/schema-to-typescript/common/core/* lib/schema-to-typescript/common/core && cp -R src/schema-to-typescript/common/validation-providers/zod-validation-provider/*-*.ts lib/schema-to-typescript/common/validation-providers/zod-validation-provider",
"build:docs": "rm -Rf docs && typedoc && ts-node tools/cleanup-docs.ts",
"prepublishOnly": "npm run build",
"lint": "eslint {src,test,tools}/**/*.ts",
"lint:fix": "eslint --fix {src,test,tools}/**/*.ts",
"test": "jest",
"test:watch": "jest --watch",
"test:update": "ts-node src/cli/index.ts generate test/pet-store/api-typescript-generator-config.ts",
"release": "npm run build:docs && [ -z \"$(git status --porcelain)\" ] && standard-version || ( echo '\n\nPlease commit all changes first!' && exit 1 )"
},
"devDependencies": {
"@babel/preset-env": "^7.24.4",
"@babel/preset-typescript": "^7.24.1",
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@types/eslint": "^8.56.10",
"@types/esutils": "^2.0.0",
"@types/glob": "^7.2.0",
"@types/jest": "^29.5.2",
"@types/js-yaml": "^4.0.9",
"@types/ramda": "^0.27.40",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-unused-imports": "^3.2.0",
"husky": "^4.3.8",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"prettier-plugin-jsdoc": "^1.3.0",
"standard-version": "^9.5.0",
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^3.15.3",
"zod": "^3.23.6"
},
"dependencies": {
"@babel/generator": "^7.24.4",
"@babel/parser": "^7.24.4",
"@babel/types": "^7.24.4",
"@babel/traverse": "^7.24.4",
"js-yaml": "^4.1.0",
"ramda": "^0.27.1",
"ts-node": "^10.9.2",
"yargs": "^17.7.2"
},
"peerDependencies": {
"typescript": ">= 4.7.4"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"subject-case": [
2,
"never",
[
"start-case",
"pascal-case"
]
]
}
}
}