-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
84 lines (84 loc) · 2.81 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "klaw-docs",
"version": "1.0.0",
"scripts": {
"prepare": "git config --local core.hooksPath .githooks/",
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
"serve": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"check-sidebar": "node scripts/check-sidebar/index.js",
"lint:code": "eslint . && prettier --check .",
"lint:markdown": "markdownlint \"**/*.md\" --ignore '**/.github/vale/styles/**' --ignore '**/node_modules/**'",
"lint": "pnpm lint:code && pnpm lint:markdown",
"reformat:code": "eslint . --fix && prettier --write .",
"reformat:markdown": "markdownlint \"**/*.md\" --ignore node_modules --fix",
"reformat": "pnpm reformat:code && pnpm reformat:markdown",
"lint-staged": "lint-staged",
"markdown-link-check": "bash scripts/markdown-link-check-script/markdown-link-check.sh \"$@\"",
"spell:error": "vale --glob='!.github/vale/styles/*' . --minAlertLevel=error",
"spell:warn": "vale --glob='!.github/vale/styles/*' . --minAlertLevel=warning",
"spell:all": "vale --glob='!.github/vale/styles/*' . --minAlertLevel=suggestion"
},
"lint-staged": {
"**/*.{js,jsx,json}": [
"prettier --check .",
"eslint ."
],
"**/*.css": [
"prettier --check ."
],
"**/*.md": [
"markdownlint \"**/*.md\" --ignore '**/.github/vale/styles/**' --ignore '**/node_modules/**'",
"prettier --check ."
]
},
"dependencies": {
"@docusaurus/core": "3.7.0",
"@docusaurus/preset-classic": "3.7.0",
"@mdx-js/react": "^3.1.0",
"@snowplow/browser-tracker": "^4.1.0",
"clsx": "^2.1.1",
"prism-react-renderer": "^2.4.1",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@docusaurus/eslint-plugin": "^3.7.0",
"@docusaurus/module-type-aliases": "3.7.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-json": "^4.0.1",
"eslint-plugin-react": "^7.37.3",
"lint-staged": "^15.3.0",
"markdown-link-check": "^3.13.6",
"markdownlint": "^0.37.3",
"markdownlint-cli": "^0.43.0",
"prettier": "^3.4.2",
"prop-types": "^15.8.1"
},
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"engineStrict": true,
"engines": {
"node": ">=20.0.0 <21.0.0",
"pnpm": ">=9.0.0 <10.0.0",
"yarn": "❗Please use pnpm to assure a consistent package management.",
"npm": "❗Please use pnpm to assure a consistent package management."
}
}