-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
78 lines (78 loc) · 2.25 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
{
"name": "fast-typescript-to-jsonschema",
"version": "0.0.9",
"description": "fast-typescript-to-jsonschema generates JSON Schema files from your Typescript sources.",
"main": "./dist/index.js",
"typings": "dist/index.d.ts",
"repository": "https://github.com/yunke-yunfly/fast-typescript-to-jsonschema",
"author": "zane <[email protected]>",
"license": "MIT",
"keywords": [
"typescript",
"json",
"jsonschema",
"schema"
],
"scripts": {
"build": "gts clean && tsc",
"dev": "tsc --watch",
"prepublishOnly": "npm run build",
"test": "umi-test",
"test:watch": "umi-test --watch",
"test:coverage": "umi-test --coverage",
"ci": "yarn tsc --noEmit && yarn lint:all && yarn spell-check:all && yarn test",
"send-coverage": "codecov -f coverage/*.json",
"lint:all": "yarn eslint --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"spell-check:all": "cspell \"**/*.{txt,ts,tsx,js,json,md}\"",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"prettier": "prettier --write \"**/**.{js,jsx,tsx,ts,less,md,json}\""
},
"engines": {
"node": ">=10.13.0"
},
"files": [
"dist"
],
"husky": {
"hooks": {
"pre-commit": "yarn lint:all && yarn spell-check:all && yarn test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,json}": [
"prettier --write",
"cspell"
],
"*.{js,jsx,ts,tsx}": [
"eslint --cache --fix --format=pretty "
]
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.14.5",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-angular": "^12.1.4",
"@types/jest": "^26.0.24",
"@types/lodash": "^4.14.171",
"@types/node": "^16.10.3",
"@umijs/fabric": "^2.6.2",
"@umijs/test": "^3.5.4",
"codecov": "^3.8.3",
"conventional-changelog-cli": "^2.1.1",
"cspell": "^5.6.6",
"gts": "^3.1.0",
"husky": "4.3.8",
"lint-staged": "10.5.4",
"prettier": "^2.3.2",
"prettier-plugin-jsdoc": "^0.3.23",
"typescript": "^4.3.4"
},
"dependencies": {
"@babel/parser": "^7.14.7",
"@babel/traverse": "^7.14.7",
"chalk": "^4.1.1",
"deepmerge": "^4.2.2",
"doctrine": "^3.0.0",
"lodash": "^4.17.21"
}
}