-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
64 lines (64 loc) · 2.05 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
{
"name": "base-library",
"version": "1.0.0",
"description": "从 零 到 一 搭建一个基础工具库的工程化流程。",
"main": "index.js",
"engines": {
"node": ">=16",
"pnpm": ">=8"
},
"scripts": {
"preinstall": "npx only-allow pnpm && node ./scripts/pre-install",
"postinstall": "node ./scripts/post-install",
"prepare": "husky install",
"test": "vitest",
"test:ui": "vitest --ui",
"coverage": "vitest run --coverage",
"docs:dev": "pnpm --filter ./web-docs docs:dev",
"docs:build": "pnpm --filter ./web-docs docs:build",
"docs:preview": "pnpm --filter ./web-docs docs:preview",
"up:version": "lerna version",
"release": "lerna publish",
"create:package": "node ./scripts/create-new-package \"${npm_config_name}\""
},
"keywords": [],
"author": "JuctTr",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"@vitest/coverage-v8": "^0.34.1",
"@vitest/ui": "^0.34.1",
"chalk": "4.1.2",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.0",
"jsdom": "^21.0.0",
"lerna": "^7.1.4",
"lint-staged": "^13.1.0",
"prettier": "^2.8.1",
"rimraf": "^3.0.2",
"typescript": "^4.9.4",
"vite": "^4.4.9",
"vite-plugin-dts": "^1.7.1",
"vitest": "^0.34.1",
"vue": "^3.2.45"
},
"lint-staged": {
"*.{ts,js}": [
"eslint --cache --fix"
],
"**/(package|tsconfig(.*)?).json": [
"prettier --write"
],
"(pnpm-workspace|.github/**/*).{yml,yaml}": [
"prettier --write"
],
"((.github/**/*)|(README|CHANGELOG)|(**/(README|CHANGELOG))).md": [
"prettier --write"
]
}
}