generated from Himenon/template-js
-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
152 lines (152 loc) · 4.46 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "@himenon/openapi-typescript-code-generator",
"version": "1.0.10",
"description": "OpenAPI Code Generator using TypeScript AST.",
"keywords": [
"openapi",
"openapi3",
"openapi-codegen",
"openapi-generator",
"typescript",
"typescript-ast"
],
"homepage": "https://github.com/Himenon/openapi-typescript-code-generator#readme",
"bugs": {
"url": "https://github.com/Himenon/openapi-typescript-code-generator/issues"
},
"repository": {
"type": "git",
"url": "[email protected]:Himenon/openapi-typescript-code-generator.git"
},
"license": "MIT",
"author": {
"name": "Himenon",
"email": "[email protected]",
"url": "https://github.com/Himenon"
},
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./dist/api": {
"import": "./dist/api.js",
"require": "./dist/api.cjs"
},
"./dist/templates": {
"import": "./dist/templates.js",
"require": "./dist/templates.cjs"
},
"./dist/types": {
"import": "./dist/types.js",
"require": "./dist/types.cjs"
},
"./dist/meta": {
"import": "./dist/meta.js",
"require": "./dist/meta.cjs"
}
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"browser": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"package.json"
],
"scripts": {
"lint": "biome lint .",
"format": "biome format --write .",
"build": "tsup",
"clean": "pnpm ts ./scripts/clean.ts",
"lerna:version:up": "lerna version --yes",
"release:github:registry": "pnpm publish --no-git-checks --registry https://npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}",
"release:npm:registry": "pnpm publish --no-git-checks",
"test": "run-p test:depcruise test:jest test:code:gen:* test:snapshot",
"test:code:gen": "run-p test:code:gen:*",
"test:code:gen:class": "pnpm ts ./scripts/testCodeGenWithClass.ts",
"test:code:gen:function": "pnpm ts ./scripts/testCodeGenWithFunctional.ts",
"test:code:gen:currying-function": "pnpm ts ./scripts/testCodeGenWithCurryingFunctional.ts",
"test:depcruise": "depcruise --validate .dependency-cruiser.cjs src",
"test:jest": "cross-env NODE_OPTIONS=--experimental-specifier-resolution=node jest -c ./jest.config.cjs --collect-coverage",
"test:snapshot": "jest -c ./jest.snapshot.config.cjs",
"ts": "node --no-warnings=ExperimentalWarning --experimental-specifier-resolution=node --loader ts-node/esm",
"update:snapshot": "pnpm jest -c ./jest.snapshot.config.cjs --updateSnapshot",
"watch": "pnpm ts ./scripts/watch.ts",
"validate": "pnpm ts ./scripts/validate.ts"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.{js,jsx,json,yml,yaml,html,md,ts,tsx}": [
"biome format --no-errors-on-unmatched --write"
],
"package.json": [
"sort-package-json"
]
},
"resolutions": {
"kind-of": "6.0.3",
"node-fetch": "2.6.1"
},
"dependencies": {
"@types/json-schema": "7.0.15",
"ajv": "8.12.0",
"js-yaml": "4.1.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@commitlint/cli": "18.6.0",
"@commitlint/config-conventional": "18.6.0",
"@himenon/path-oriented-data-structure": "1.0.2",
"@swc/core": "^1.9.3",
"@swc/helpers": "^0.5.15",
"@swc/jest": "^0.2.37",
"@types/chokidar": "2.1.3",
"@types/jest": "29.5.12",
"@types/js-yaml": "4.0.9",
"@types/node": "20.11.16",
"@types/rimraf": "3.0.2",
"chokidar": "3.5.3",
"conventional-changelog-angular-all": "1.7.0",
"cpy": "11.0.0",
"cross-env": "^7.0.3",
"dependency-cruiser": "16.1.0",
"dot-prop": "8.0.2",
"execa": "8.0.1",
"generate-changelog": "1.8.0",
"import-sort-style-module": "6.0.0",
"jest": "29.7.0",
"jest-cli": "29.7.0",
"lerna": "8.0.2",
"lint-staged": "15.2.1",
"npm-run-all": "4.1.5",
"openapi-schema-validator": "12.1.3",
"read-package-up": "^11.0.0",
"rimraf": "5.0.5",
"simple-git-hooks": "^2.11.1",
"sort-package-json": "2.7.0",
"ts-jest": "29.1.2",
"ts-node": "10.9.2",
"tsup": "^8.3.5",
"typescript": "5.3.3"
},
"peerDependencies": {
"typescript": ">=5"
},
"engines": {
"pnpm": ">=9"
},
"publishConfig": {
"access": "public"
},
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module",
"parser": "typescript"
}
}
}