-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
70 lines (70 loc) · 2.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
{
"name": "@vitepress-demo-preview/root",
"version": "2.0.1",
"description": "preview component of code and component in vitepress",
"packageManager": "[email protected]",
"scripts": {
"build": "pnpm copy && pnpm component:build && pnpm plugin:build",
"component:dev": "pnpm --filter=@vitepress-demo-preview/component dev",
"component:build": "pnpm --filter=@vitepress-demo-preview/component build",
"plugin:dev": "pnpm --filter=@vitepress-demo-preview/plugin dev",
"plugin:build": "pnpm --filter=@vitepress-demo-preview/plugin build",
"example:dev": "pnpm --filter=@vitepress-demo-preview/example dev",
"example:build": "pnpm --filter=@vitepress-demo-preview/example build",
"example:serve": "pnpm --filter=@vitepress-demo-preview/example serve",
"lint": "pnpm lint:prettier && pnpm lint:eslint",
"lint:eslint": "eslint --fix {example,packages}/**/*.{js,ts,vue,jsx,tsx}",
"lint:prettier": "prettier --write {example,packages}/**/*.{js,ts,vue,jsx,tsx,scss,css}",
"copy": "esno ./scripts/copy.ts",
"prepare": "husky install",
"changeset": "changeset",
"changeset-version": "changeset version",
"commit": "git-cz"
},
"homepage": "https://github.com/flingyp/vitepress-demo-preview#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/flingyp/vitepress-demo-preview.git"
},
"bugs": "https://github.com/flingyp/vitepress-demo-preview/issues",
"keywords": [
"vitepress",
"plugins",
"component"
],
"author": "FlyPeng",
"license": "MIT",
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@types/node": "^18.19.22",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.22.0",
"esno": "^0.16.3",
"husky": "^8.0.3",
"lint-staged": "^13.3.0",
"prettier": "^2.8.8",
"typescript": "^4.9.5"
},
"lint-staged": {
"{packages, example}/**/*.{js,ts,vue,jsx,tsx}": [
"prettier --write",
"eslint --fix"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}