-
-
Notifications
You must be signed in to change notification settings - Fork 93
/
package.json
85 lines (85 loc) · 2.73 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
{
"name": "dtsgenerator",
"version": "3.19.2",
"description": "TypeScript d.ts file generator for JSON Schema file",
"bin": {
"dtsgen": "bin/dtsgen"
},
"main": "dist/core/",
"typings": "dist/core/index.d.ts",
"scripts": {
"build": "tsc -p ./tsconfig-build.json",
"clean": "rimraf dist/ build/ {src,test}/**/*.{js,js.map} *.tsbuildinfo",
"compile": "tsc -p .",
"lint": "eslint --fix --report-unused-disable-directives --ext ts src/ test/",
"format": "prettier --cache --write 'src/**/*.ts' 'test/*.ts' 'test/core/*.ts'",
"precompile": "npm run lint && npm run format",
"prepublishOnly": "npm run build",
"pretest": "npm run compile",
"do-test": "cross-env TS_NODE_FILES=true mocha --exit --require ts-node/register --require source-map-support/register --colors test/*_test.ts test/**/*_test.ts",
"test": "nyc npm run do-test",
"test:update-snapshot": "UPDATE_SNAPSHOT=1 npm run test",
"coverage": "nyc report --reporter=lcov",
"prepare": "husky install"
},
"directories": {
"test": "test/"
},
"keywords": [
"TypeScript",
"JSON Schema",
"OpenAPI"
],
"author": "horiuchi",
"license": "MIT",
"homepage": "https://github.com/horiuchi/dtsgenerator",
"repository": {
"type": "git",
"url": "[email protected]:horiuchi/dtsgenerator.git"
},
"bugs": {
"url": "https://github.com/horiuchi/dtsgenerator/issues"
},
"engines": {
"node": ">= 18.0"
},
"dependencies": {
"commander": "^12.1.0",
"cross-fetch": "^4.0.0",
"debug": "^4.3.5",
"glob": "^10.4.1",
"http-proxy-agent": "^7.0.2",
"https-proxy-agent": "^7.0.4",
"js-yaml": "^4.1.0",
"tslib": "^2.6.3",
"typescript": "^5.4.5"
},
"devDependencies": {
"@dtsgenerator/do-nothing": "^2.6.0",
"@dtsgenerator/eslint-config": "^0.7.1",
"@dtsgenerator/replace-namespace": "^1.6.0",
"@dtsgenerator/single-quote": "^1.7.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/debug": "^4.1.12",
"@types/glob": "^8.1.0",
"@types/js-yaml": "^4.0.9",
"@types/mocha": "^10.0.6",
"@types/node": "^18.19.34",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.5",
"mocha": "^10.4.0",
"nyc": "^17.0.0",
"prettier": "^3.3.1",
"rimraf": "^5.0.7",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.2"
},
"lint-staged": {
"**/*.ts": [
"prettier --cache --write",
"eslint --fix"
]
}
}