-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
81 lines (81 loc) · 2.18 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
{
"name": "tmf-map",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"lint": "eslint --cache \"**/*.js\"",
"prettier": "prettier --config .prettierrc --write \"**/*.{js,ts}\"",
"prettier:diff": "prettier --config .prettierrc --list-different \"**/*.{js,ts}\"",
"prettier-docs": "prettier --config .prettierrc --write \"**/*.md\"",
"prepare": "husky install"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"lint-staged": {
"*.{js,jsx}": [
"yarn lint --fix",
"yarn prettier"
],
"*.{ts,tsx}": [
"yarn prettier"
],
"*.md": [
"yarn prettier-docs"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"@cmfcmf/docusaurus-search-local": "^1.1.0",
"@docusaurus/core": "^2.4.1",
"@docusaurus/plugin-pwa": "^2.4.1",
"@docusaurus/preset-classic": "^2.4.1",
"@docusaurus/remark-plugin-npm2yarn": "^2.4.1",
"@docusaurus/theme-live-codeblock": "^2.4.1",
"@http-util/request": "^0.1.0",
"@node-rs/jieba": "^1.7.0",
"classnames": "^2.3.1",
"npm-to-yarn": "^2.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-lifecycles-compat": "^3.0.4",
"react-toggle": "^4.1.1"
},
"devDependencies": {
"@babel/eslint-parser": "^7.18.2",
"@docusaurus/module-type-aliases": "^2.4.1",
"@tsconfig/docusaurus": "^2.0.0",
"@types/react": "^17.0.1",
"@types/react-helmet": "^6.1.0",
"@types/react-router-dom": "^5.3.3",
"eslint": "^8.11.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.1.2",
"typescript": "^5.1.6"
}
}