generated from Skiyee/quick-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
88 lines (88 loc) · 2.15 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
{
"name": "@uni-ku/root",
"type": "module",
"version": "1.0.0",
"description": "借助 Vite 模拟出虚拟的全局组件,解决 Uniapp 无法使用全局共享组件问题",
"author": {
"name": "sKy",
"email": "[email protected]"
},
"license": "MIT",
"homepage": "https://github.com/uni-ku/root#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/uni-ku/root.git"
},
"bugs": {
"url": "https://github.com/uni-ku/root/issues"
},
"keywords": [
"Uniapp",
"Vue",
"Vite",
"Vite-Plugin"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
"release": "pnpm build && bumpp",
"example:dev:h5": "pnpm build && pnpm -C examples run dev",
"example:build:h5": "pnpm build && pnpm -C examples run build",
"example:dev:mp-weixin": "pnpm build && pnpm -C examples run dev:mp-weixin",
"example:build:mp-weixin": "pnpm build && pnpm -C examples run build:mp-weixin",
"prepare": "simple-git-hooks",
"lint": "eslint . --fix"
},
"peerDependencies": {
"vite": ">=5.0.0",
"vue": ">=3.2.13"
},
"dependencies": {
"chokidar": "^3.6.0",
"jsonc-parser": "^3.3.1"
},
"devDependencies": {
"@antfu/eslint-config": "^2.22.2",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/node": "^20.14.12",
"bumpp": "^9.4.1",
"commitizen": "^4.3.0",
"cz-git": "^1.9.1",
"eslint": "^9.3.0",
"lint-staged": "^15.2.2",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.4.5",
"unbuild": "^2.0.0",
"vite": "^5.3.3",
"vitest": "^2.0.2"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
"commit-msg": "npx commitlint --edit ${1}"
},
"lint-staged": {
"*.{js,ts,tsx,vue,md}": [
"eslint . --fix"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
}
}