-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
51 lines (51 loc) · 1.67 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
{
"name": "vitepress-theme-async",
"version": "1.0.0",
"main": "index.js",
"repository": "git@github.com:MaLuns/vitepress-theme-async.git",
"author": "白云苍狗 <admin@imalun.com>",
"license": "MIT",
"private": true,
"type": "module",
"scripts": {
"build": "npm run docs:build && npm run config:build && npm run demo:build",
"config:dev": "npm --prefix packages/vitepress-theme-async run config:dev",
"config:build": "npm --prefix packages/vitepress-theme-async run config:build",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"demo:dev": "vitepress dev demo --host",
"demo:build": "vitepress build demo",
"demo:preview": "vitepress preview demo",
"generate:demo-sites": "node ./scripts/sites-check.mjs",
"lint": "eslint --cache --max-warnings 0 \"**/*.{js,jsx,vue,ts,tsx}\" --fix",
"prettier": "prettier --write \"**/*.{js,jsx,vue,ts,tsx,json,less}\"",
"prepare": "husky install"
},
"devDependencies": {
"@commitlint/cli": "^17.7.2",
"@commitlint/config-conventional": "^17.7.0",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-vue": "^9.17.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"tsup": " ^7.2.0",
"vue-eslint-parser": "^9.3.2"
},
"workspaces": [
"demo",
"packages/*"
],
"lint-staged": {
"**/*.{js,jsx,vue,ts,tsx}": [
"eslint --cache --max-warnings 0 --fix --ignore-pattern !.vitepress",
"prettier --write"
],
"**/*.{js,jsx,vue,ts,tsx,json,less}": "prettier --write"
}
}