generated from maemreyo/nodets-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.07 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
{
"name": "oas2ts",
"version": "1.0.4",
"description": "A Node.js tool that converts OpenAPI YAML/JSON files into TypeScript types and interfaces, with support for recursive `$ref` resolution and customizable file structure.",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
"license": "MIT",
"scripts": {
"start": "node dist/index.js",
"build": "tsc && npm run copy-types",
"copy-types": "copyfiles -u 1 src/types/index.d.ts dist/",
"dev": "tsc && node ./dist/index.js --input ./mocks/input/openapi.yaml --output ./mocks/output",
"watch": "tsc --watch",
"clean": "rm -rf dist",
"prettier": "prettier --write '**/*.{js,ts,tsx,json,md}'",
"lint": "eslint --fix",
"setup": "node scripts/setup.js",
"release": "node scripts/release.mjs",
"rollback": "node scripts/rollback.js"
},
"standard-version": {
"preset": "angular"
},
"lint-staged": {
"**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write",
"tsc --noEmit"
],
"!dist/**/*": "echo Ignored"
},
"keywords": [
"typescript",
"openapi",
"api",
"generator",
"paths"
],
"author": "Matthew Ngo <matthew.ngo1114@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/maemreyo/oas2ts.git"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.16.2",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"copyfiles": "^2.4.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^8.0.0",
"js-yaml": "^4.1.0",
"lint-staged": "^13.0.0",
"prettier": "^3.3.3",
"standard-version": "^9.5.0",
"ts-node": "^10.9.2",
"typescript": "^4.9.5"
},
"files": [
"dist/**/*"
],
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"fs-extra": "^11.2.0",
"p-map": "^7.0.2",
"tsx": "^4.19.0",
"winston": "^3.14.2",
"yaml": "^2.5.1",
"yargs": "^17.7.2"
}
}