-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
package.json
91 lines (91 loc) · 2.35 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
90
91
{
"name": "@rtk-query/codegen-openapi",
"version": "2.0.0",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"module": "lib/index.mjs",
"author": "Lenz Weber",
"license": "MIT",
"sideEffects": false,
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./lib/index.d.mts",
"default": "./lib/index.mjs"
},
"default": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
}
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/reduxjs/redux-toolkit.git"
},
"bugs": {
"url": "https://github.com/reduxjs/redux-toolkit/issues"
},
"homepage": "https://redux-toolkit.js.org",
"bin": {
"rtk-query-codegen-openapi": "lib/bin/cli.mjs"
},
"scripts": {
"build": "yarn clean && tsup && chmod +x lib/bin/cli.mjs",
"clean": "rimraf lib",
"prepack": "yarn build && chmod +x lib/bin/cli.mjs",
"format": "prettier --write \"src/**/*.ts\"",
"test:update": "vitest --run --update",
"test:update:enum": "lib/bin/cli.mjs test/config.example.enum.ts",
"test": "vitest --run --typecheck",
"test:watch": "vitest --watch",
"cli": "esr src/bin/cli.ts"
},
"files": [
"lib",
"src"
],
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-typescript": "^7.12.7",
"@oazapfts/runtime": "^1.0.3",
"@reduxjs/toolkit": "^1.6.0",
"@types/commander": "^2.12.2",
"@types/glob-to-regexp": "^0.4.0",
"@types/lodash.camelcase": "^4.3.9",
"@types/node": "^20.11.10",
"@types/semver": "^7.3.9",
"chalk": "^4.1.0",
"del": "^6.0.0",
"esbuild": "^0.23.1",
"esbuild-runner": "^2.2.1",
"husky": "^4.3.6",
"msw": "^2.1.5",
"node-fetch": "^3.3.2",
"openapi-types": "^9.1.0",
"pretty-quick": "^4.0.0",
"rimraf": "^5.0.5",
"ts-node": "^10.9.2",
"tsup": "^8.2.4",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^2.0.5",
"yalc": "^1.0.0-pre.47"
},
"dependencies": {
"@apidevtools/swagger-parser": "^10.0.2",
"commander": "^6.2.0",
"lodash.camelcase": "^4.3.0",
"oazapfts": "^6.1.0",
"prettier": "^3.2.5",
"semver": "^7.3.5",
"swagger2openapi": "^7.0.4",
"typescript": "^5.5.4"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}