-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
executable file
·89 lines (89 loc) · 3.02 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
82
83
84
85
86
87
88
89
{
"name": "vite-plugin-swagger2ts",
"description": "transform swagger to ts",
"version": "1.0.4",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "index.d.ts",
"license": "MIT",
"author": "morelearn1990 <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/morelearn1990/vite-plugin-swagger2ts"
},
"homepage": "https://github.com/morelearn1990/vite-plugin-swagger2ts",
"bugs": "https://github.com/morelearn1990/vite-plugin-swagger2ts/issues",
"files": [
"dist",
"src",
"index.d.ts"
],
"scripts": {
"dev": "pnpm run build -- --watch --ignore-watch examples",
"build": "tsup src/index.ts --dts --format cjs,esm",
"prepublishOnly": "pnpm run build",
"release": "pnpx git-ensure -a && pnpx bumpp --commit --tag --push",
"demo:dev": "pnpm -C examples/demo run dev",
"demo:build": "pnpm -C examples/demo run build",
"demo:preview": "pnpm -C examples/demo run preview",
"test": "jest",
"lint": "eslint --fix --ext .ts ./",
"prepare": "[ -d '.husky' ] && echo '' || (pnpx husky install && pnpm commitprepare && pnpm lintprepare)",
"commitprepare": "pnpx husky add .husky/commit-msg 'pnpx commitlint --edit $1'",
"lintprepare": "pnpx husky add .husky/pre-commit 'pnpx lint-staged'",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
"preinstall": "npx only-allow pnpm"
},
"dependencies": {
"cross-fetch": "^3.1.5",
"openapi3-ts": "^2.0.2",
"swagger2openapi": "^7.0.8"
},
"peerDependencies": {
"vite": "^2.0.0"
},
"devDependencies": {
"@antfu/eslint-config": "^0.6.6",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@types/jest": "^26.0.24",
"@types/node": "^14.18.12",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^5.14.0",
"conventional-changelog": "^3.1.25",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^3.4.1",
"husky": "^6.0.0",
"jest": "^26.6.3",
"jest-esbuild": "^0.1.6",
"lint-staged": "^10.5.4",
"prettier": "^2.5.1",
"rollup": "^2.70.0",
"ts-node": "^9.1.1",
"tsup": "^4.14.0",
"typescript": "^4.6.2",
"vite": "^2.8.6"
},
"lint-staged": {
"*.{ts}": "eslint --fix --ext",
"*.{ts,md}": "prettier --write"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}