-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
148 lines (148 loc) · 4.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
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "admate",
"PascalCasedName": "Admate",
"type": "commonjs",
"version": "1.0.0-beta.3",
"private": false,
"description": "Admin CRUD frontend meta framework for Vue 2/3, extremely concise without losing flexibility.",
"author": {
"name": "Cloyd Lau",
"url": "https://github.com/cloydlau"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/cloydlau/admate.git"
},
"keywords": [
"admin",
"admin-interfaces",
"assistant",
"helper",
"manage",
"management",
"vue-pure-admin",
"vue-vben-admin",
"vue-element-admin",
"vue-demi",
"axios",
"antd",
"ant-design",
"ant-design-vue",
"element",
"element-ui",
"element-plus",
"prime-vue",
"quasar",
"vuetify"
],
"exports": {
".": {
"import": {
"types": "./dist/admate.d.mts",
"default": "./dist/admate.mjs"
},
"require": {
"types": "./dist/admate.d.ts",
"default": "./dist/admate.umd.js"
}
},
"./*": "./*"
},
"main": "./dist/admate.umd.js",
"module": "./dist/admate.mjs",
"unpkg": "./dist/admate.umd.js",
"jsdelivr": "./dist/admate.umd.js",
"types": "./dist/admate.d.ts",
"files": [
"dist",
"docs"
],
"scripts": {
"dev": "esno ./scripts/dev.mts",
"typegen": "npx tsup --entry.admate src/index.js --format esm,cjs --cjsInterop --clean --dts-only",
"build": "vite build && pnpm typegen",
"doc": "vitepress dev --open /RsEADME",
"serve": "vite preview",
"release": "esno ./scripts/release.mts",
"sync-to-cnpm": "npx cnpm sync && curl -L https://npmmirror.com/sync/admate",
"license-scan": "license-checker --summary --out ./depencency-licenses.txt",
"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",
"vue": "2||3"
},
"peerDependenciesMeta": {
"@vue/composition-api": {
"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",
"admate": "workspace:*",
"axios": "^1.7.7",
"case-police": "^0.7.0",
"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",
"mockjs": "^1.1.0",
"only-allow": "^1.2.1",
"open": "^10.1.0",
"prompts": "^2.4.2",
"publint": "^0.2.11",
"qs": "^6.13.0",
"rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.79.5",
"semver": "^7.6.3",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.3.0",
"typescript": "^5.6.3",
"unocss": "~0.63.4",
"unplugin-auto-import": "^0.18.3",
"unplugin-unused": "^0.2.3",
"unplugin-vue-components": "^0.27.4",
"vite": "^5.4.8",
"vite-plugin-mock": "^3.0.2",
"vitepress": "^1.4.0",
"vue": "latest",
"vue-global-config": "^0.6.2",
"vue-router": "latest",
"zhlint": "^0.8.2"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
"commit-msg": "npx --no -- commitlint --edit ${1}"
},
"lint-staged": {
"*.md": [
"case-police --fix",
"zhlint --fix"
],
"*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,json,md,html,css,scss,sass}": "eslint --ignore-pattern stats.html --ignore-pattern \"demo/*\" --cache --fix"
}
}