-
-
Notifications
You must be signed in to change notification settings - Fork 69
/
package.json
68 lines (68 loc) · 1.97 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
{
"name": "casbin-website-v2",
"version": "0.0.1",
"license": "Apache 2.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
"serve": "docusaurus serve",
"lint:js": "eslint --fix . --ext .js",
"lint:css": "stylelint \"src/**/*.{css,scss}\" --fix",
"lint:md": "markdownlint 'docs/**/*.{md,mdx}' --fix",
"lint": "yarn lint:js && yarn lint:css && yarn lint:md",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"crowdin:sync": "docusaurus write-translations && crowdin upload && crowdin download",
"prepare": "husky install"
},
"dependencies": {
"@crowdin/cli": "^3.7.10",
"@docusaurus/core": "^2.4.3",
"@docusaurus/preset-classic": "^2.4.3",
"@giscus/react": "^2.2.4",
"@mdx-js/react": "^1.6.21",
"@popperjs/core": "^2.11.8",
"clsx": "^1.1.1",
"markdown-to-jsx": "^7.4.0",
"prism-react-renderer": "^1.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-popper": "^2.3.0"
},
"devDependencies": {
"@babel/core": "^7.18.13",
"@babel/eslint-parser": "^7.18.9",
"@babel/preset-react": "^7.18.6",
"eslint": "8.22.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^8.0.0",
"lint-staged": "^13.0.3",
"markdownlint-cli": "^0.35.0",
"prettier": "^3.2.4",
"stylelint": "^14.11.0",
"stylelint-config-standard": "^28.0.0",
"stylelint-config-standard-scss": "^5.0.0"
},
"lint-staged": {
"*.js": "eslint --fix",
"*.{css, scss}": "stylelint --fix"
},
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}