forked from ecaps1038/yike-design-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.29 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
{
"name": "yike-design-monorepo",
"version": "0.0.1",
"private": true,
"type": "module",
"scripts": {
"prepare": "pnpm --filter @yike-design/build build && pnpm gen:icon",
"dev:demo": "pnpm --filter demo dev",
"build:demo": "pnpm --filter demo build",
"preview:demo": "pnpm --filter demo preview",
"eslint": "npx eslint --ext .ts,.tsx,.js,.jsx,.vue . --fix",
"stylelint": "npx stylelint --aei .vue,.less,.css,.html . --fix",
"lint": "eslint . && stylelint .",
"lint:fix": "pnpm run eslint && pnpm run stylelint",
"new": "node ./config/script/new-component.mjs",
"postinstall": "npx husky install",
"preinstall": "npx only-allow pnpm",
"version:release": "pnpm --filter @yike-design/ui release",
"build:comp": "pnpm --filter @yike-design/ui build:comp",
"build:less": "pnpm --filter @yike-design/ui build:less",
"gen:icon": "pnpm --filter @yike-design/ui gen:icon",
"test": "pnpm --filter @yike-design/test test",
"test:coverage": "pnpm --filter @yike-design/test test:coverage"
},
"dependencies": {
"dayjs": "^1.11.9",
"vue": "^3.3.4"
},
"devDependencies": {
"@testing-library/vue": "^7.0.0",
"@types/node": "^18.11.12",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue-jsx": "^3.0.1",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.9.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-unused-imports": "^2.0.0",
"eslint-plugin-vue": "^9.16.1",
"husky": "^8.0.0",
"less": "^4.0.0",
"lint-staged": "^13.2.3",
"postcss": "^8.4.27",
"postcss-html": "^1.5.0",
"postcss-less": "^6.0.0",
"prettier": "^2.8.8",
"standard-version": "^9.5.0",
"stylelint": "^15.10.1",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard-vue": "^1.0.0",
"stylelint-less": "^1.0.8",
"stylelint-order": "^6.0.3",
"typescript": "5.1.6",
"vite": "^4.0.0",
"vue-tsc": "^1.6.4",
"release-it": "^15.10.0"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,vue}": [
"prettier --write",
"eslint --fix"
],
"*.{css,less,vue}": [
"prettier --write",
"stylelint --fix"
]
}
}