-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
134 lines (134 loc) · 4.07 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "vue-global-config",
"PascalCasedName": "VueGlobalConfig",
"type": "commonjs",
"version": "0.6.3",
"private": false,
"description": "Configure your Vue 2/3 components globally.",
"author": {
"name": "Cloyd Lau",
"url": "https://github.com/cloydlau"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/cloydlau/vue-global-config.git"
},
"keywords": [
"config",
"configuration",
"global",
"option",
"options",
"slot",
"slots",
"vue",
"vue-demi"
],
"exports": {
".": {
"import": {
"types": "./dist/vue-global-config.d.mts",
"default": "./dist/vue-global-config.mjs"
},
"require": {
"types": "./dist/vue-global-config.d.ts",
"default": "./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": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui",
"typegen": "npx tsup --entry.vue-global-config src/index.ts --format esm,cjs --cjsInterop --clean --dts-only",
"build": "vite build && pnpm typegen",
"license-scan": "license-checker --summary --out ./depencency-licenses.txt",
"serve": "vite preview",
"release": "esno ./scripts/release.mts",
"sync-to-cnpm": "npx cnpm sync && curl -L https://npmmirror.com/sync/vue-global-config",
"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 && pnpm license-scan)"
},
"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.10"
},
"devDependencies": {
"@antfu/eslint-config": "^3.7.3",
"@arethetypeswrong/cli": "^0.16.4",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@element-plus/icons-vue": "latest",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.7.5",
"@vitejs/plugin-vue": "latest",
"@vue/compiler-sfc": "latest",
"@vue/test-utils": "latest",
"case-police": "^0.7.0",
"change-case": "^5.4.4",
"cnpm": "^9.4.0",
"cross-spawn": "^7.0.3",
"del": "^8.0.0",
"element-plus": "latest",
"eslint-plugin-format": "^0.1.2",
"esno": "^4.8.0",
"faim": "^0.10.0",
"kolorist": "^1.8.0",
"license-checker": "^25.0.1",
"lint-staged": "^15.2.10",
"lodash-es": "^4.17.21",
"magicast": "^0.3.5",
"only-allow": "^1.2.1",
"open": "^10.1.0",
"prompts": "^2.4.2",
"publint": "^0.2.11",
"rollup-plugin-visualizer": "^5.12.0",
"semver": "^7.6.3",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.3.0",
"typescript": "^5.6.3",
"unplugin-auto-import": "^0.18.3",
"unplugin-vue-components": "^0.27.4",
"vite": "^5.4.8",
"vitepress": "^1.4.0",
"vitest": "^2.1.2",
"vue": "latest",
"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"
}
}