-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·87 lines (87 loc) · 2.44 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
85
86
87
{
"name": "vite-ssr-react",
"version": "0.0.0",
"scripts": {
"start": "vite-ssr dev --port 1337 --open --force",
"start:spa": "vite dev --port 1337 --open --force",
"start:mock": "vite-ssr dev --mode mock",
"start:test": "vite-ssr dev --mode test",
"build": "rm -rf dist && vite-ssr build",
"lint": "eslint src",
"lint:create": "eslint --init",
"test": "jest",
"test:u": "jest -u",
"tsc": "tsc --noEmit",
"lint-staged": "lint-staged",
"lint:css": "stylelint src/**/*.less --fix --custom-syntax postcss-less"
},
"pre-commit": [
"lint-staged"
],
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.{json.md,xml,svg,html,js,jsx}": "prettier --write",
"*.less": [
"stylelint --fix --custom-syntax postcss-less",
"git add"
]
},
"dependencies": {
"@types/react": "^17.0.38",
"@types/react-router-config": "^5.0.3",
"@types/react-router-dom": "^5.1.8",
"ahooks": "^3.1.7",
"express": "^4.17.1",
"graphql": "^15.5.0",
"less": "^4.1.2",
"node-fetch": "^2.6.1",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-helmet-async": "^1.0.9",
"react-router-config": "^5.1.1",
"react-router-dom": "^5.3.0",
"ts-node": "^10.4.0",
"vite-ssr": "^0.15.0",
"mobx": "^6.3.3",
"mobx-react": "^7.2.0",
"pre-commit": "^1.2.2",
"stylelint-config-standard": "^23.0.0",
"umi-request": "^1.4.0"
},
"devDependencies": {
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.6",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@types/jest": "^27.0.1",
"@testing-library/react": "^12.1.0",
"@types/node": "^16.9.1",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"@vitejs/plugin-react": "^1.1.3",
"babel-jest": "^27.2.0",
"eslint": "^7.32.0",
"eslint-plugin-react": "^7.25.1",
"prettier": "^2.4.1",
"typescript": "^4.3.2",
"vite": "2.7.x",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-router-dom": "^5.1.8",
"@vitejs/plugin-react-refresh": "^1.3.1",
"husky": "^7.0.4",
"jest": "^27.2.0",
"lint-staged": "^11.2.6",
"postcss-less": "^5.0.0",
"stylelint": "^14.0.1",
"stylelint-config-css-modules": "^2.3.0",
"stylelint-order": "^5.0.0"
},
"engines": {
"node": ">=12.0.0"
}
}