-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 1.9 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
{
"name": "router-builder",
"version": "1.0.26",
"description": "A plugin that automatically generates routing configurations based on the directories",
"keywords": [
"路由动态生成",
"路由生成",
"vue",
"vue-router",
"router-builder",
"rollup"
],
"repository": {
"type": "git",
"url": "https://github.com/QdabuliuQ/router-builder"
},
"homepage": "https://github.com/QdabuliuQ/router-builder",
"files": [
"bin"
],
"bin": {
"router-builder": "bin/index.cjs"
},
"type": "module",
"scripts": {
"build": "rollup -c",
"build:w": "rollup -c -w",
"dev": "ts-node src/index.ts analyze",
"prepublish": "npm run version && npm run build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{ts,js}": [
"node --max_old_space_size=8192 ./node_modules/.bin/prettier -w",
"node --max_old_space_size=8192 ./node_modules/.bin/eslint --fix --color",
"git add"
]
},
"author": "QdabuliuQ",
"license": "MIT",
"dependencies": {
"line-reader": "^0.4.0",
"ora": "^5.4.1",
"prettier": "^3.2.4"
},
"devDependencies": {
"@commitlint/cli": "^18.5.0",
"@commitlint/config-conventional": "^18.5.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@types/node": "^20.11.5",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"eslint": "^8.56.0",
"husky": "^3.1.0",
"lint-staged": "^15.2.0",
"rollup": "^4.9.6",
"rollup-plugin-visualizer": "^5.12.0",
"tslib": "^2.6.2",
"typescript": "^5.3.3"
}
}