This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
69 lines (69 loc) · 2.14 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
{
"name": "leetcode-exercise",
"version": "2.0.0",
"repository": "[email protected]:Hope-Studio/leetcode.git",
"license": "MIT",
"author": {
"name": "Mr.Hope",
"email": "[email protected]",
"url": "https://mrhope.site"
},
"type": "module",
"scripts": {
"build": "vuepress build leetcode",
"dev": "vuepress dev leetcode",
"postinstall": "husky install",
"lint": "pnpm lint-prettier && pnpm lint-eslint && pnpm lint-markdown && pnpm lint-clang",
"lint-clang": "clang-format -i --glob=**/*.{c,csharp,cpp,java}",
"lint-clang:check": "clang-format -i -n --glob=**/*.{c,csharp,cpp,java}",
"lint-eslint": "pnpm lint-eslint:check --fix",
"lint-eslint:check": "eslint . --ext .ts,.js",
"lint-markdown": "pnpm lint-markdown:check --fix",
"lint-markdown:check": "markdownlint **/*.md --ignore node_modules",
"lint-prettier": "pnpm lint-prettier:check --write",
"lint-prettier:check": "prettier --check .",
"lint:check": "pnpm lint-prettier:check && pnpm lint-eslint:check && pnpm lint-markdown:check && pnpm lint-clang:check",
"md:clean": "tsx ./script/clean.ts",
"md:generate": "tsx ./script/generate.ts"
},
"nano-staged": {
"*.{c,csharp,cpp,java}": [
"clang-format -i"
],
"*.{js,ts}": [
"eslint --fix",
"prettier --write"
],
"*.{md,json,yml}": [
"prettier --write"
],
"package.json": [
"sort-package-json"
]
},
"packageManager": "[email protected]",
"dependencies": {
"@vuepress/client": "2.0.0-beta.62",
"vue": "3.3.2",
"vuepress": "2.0.0-beta.62",
"vuepress-theme-hope": "2.0.0-beta.211"
},
"devDependencies": {
"@types/node": "20.1.5",
"@types/turndown": "5.0.1",
"@typescript-eslint/eslint-plugin": "5.59.6",
"@typescript-eslint/parser": "5.59.6",
"clang-format": "1.8.0",
"eslint": "8.40.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "8.0.3",
"markdownlint-cli": "0.34.0",
"nano-staged": "0.8.0",
"prettier": "2.8.8",
"sort-package-json": "2.4.1",
"tsx": "3.12.7",
"turndown": "7.1.2",
"typescript": "5.0.4"
}
}