-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 3.46 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "vue-global-config",
"PascalCasedName": "VueGlobalConfig",
"version": "0.6.1",
"private": false,
"description": "Configure your Vue 2.6/2.7/3 components globally.",
"author": {
"name": "Cloyd Lau",
"url": "https://github.com/cloydlau"
},
"license": "MIT",
"repository": "https://github.com/cloydlau/vue-global-config",
"keywords": [
"config",
"configuration",
"global",
"option",
"options",
"slot",
"slots",
"vue",
"vue-demi"
],
"exports": {
".": {
"types": "./dist/vue-global-config.d.ts",
"import": "./dist/vue-global-config.mjs",
"require": "./dist/vue-global-config.umd.js"
},
"./*": "./*"
},
"main": "./dist/vue-global-config.umd.js",
"module": "./dist/vue-global-config.mjs",
"unpkg": "./dist/vue-global-config.umd.js",
"jsdelivr": "./dist/vue-global-config.umd.js",
"types": "./dist/vue-global-config.d.ts",
"files": [
"dist",
"docs"
],
"scripts": {
"dev": "esno ./scripts/dev.mts",
"doc": "vitepress dev --open /README",
"test-unit": "vitest run",
"build": "vite build",
"serve": "vite preview",
"release": "esno ./scripts/release.mts",
"lint": "eslint \"**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}\" --ignore-pattern stats.html",
"lint:fix": "eslint \"**/*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}\" --ignore-pattern stats.html --fix",
"preinstall": "node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || npx only-allow pnpm",
"postinstall": "node -e \"if (process.env.INIT_CWD === process.cwd()) { process.exit(1) }\" || npx simple-git-hooks"
},
"peerDependencies": {
"@vue/composition-api": ">=1",
"element-plus": ">=2",
"vue": "2||3"
},
"peerDependenciesMeta": {
"@vue/composition-api": {
"optional": true
},
"element-plus": {
"optional": true
}
},
"dependencies": {
"vue-demi": "^0.14.7"
},
"devDependencies": {
"@antfu/eslint-config": "^2.15.0",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@element-plus/icons-vue": "^2.3.1",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.12.7",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/compiler-sfc": "^3.4.25",
"@vue/test-utils": "^2.4.5",
"case-police": "^0.6.1",
"change-case": "^5.4.4",
"cross-spawn": "^7.0.3",
"del": "^7.1.0",
"element-plus": "^2.7.1",
"eslint": "npm:eslint-ts-patch@8.57.0-0",
"eslint-plugin-format": "^0.1.1",
"eslint-ts-patch": "8.57.0-0",
"esno": "^4.7.0",
"faim": "^0.8.1",
"kolorist": "^1.8.0",
"lint-staged": "^15.2.2",
"lodash-es": "^4.17.21",
"magicast": "^0.3.4",
"only-allow": "^1.2.1",
"open": "^10.1.0",
"prompts": "^2.4.2",
"rollup-plugin-visualizer": "^5.12.0",
"semver": "^7.6.0",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.4.5",
"unplugin-auto-import": "^0.17.5",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.2.10",
"vite-plugin-dts": "^3.9.0",
"vitepress": "^1.1.3",
"vitest": "^1.5.2",
"vue": "^3.4.25",
"vue-global-config": "workspace:*"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
"commit-msg": "npx --no -- commitlint --edit ${1}"
},
"lint-staged": {
"*.md": "case-police --fix",
"*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}": "eslint --ignore-pattern stats.html --cache --fix"
}
}