-
Notifications
You must be signed in to change notification settings - Fork 3
/
template.json
80 lines (80 loc) · 2.79 KB
/
template.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
{
"package": {
"scripts": {
"start": "cross-env HTTPS=true EXTEND_ESLINT=true FORCE_COLOR=true craco start | cat",
"build": "cross-env INLINE_RUNTIME_CHUNK=false craco build",
"test": "cross-env craco test",
"eject": "react-scripts eject",
"analyze": "cross-env source-map-explorer 'build/static/js/*.js'",
"lint": "eslint --ignore-path .gitignore . --fix",
"prettier": "cross-env ./node_modules/.bin/prettier --write 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'",
"prepare": "husky install"
},
"dependencies": {
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^13.5.0",
"@babel/plugin-proposal-decorators": "^7.22.5",
"@craco/craco": "^7.1.0",
"axios": "^1.4.0",
"cross-env": "^7.0.3",
"mobx": "^6.9.0",
"mobx-react-lite": "^3.4.3",
"mobx-state-tree": "^5.1.8",
"mst-middlewares": "^5.1.8",
"react-error-boundary": "^4.0.10",
"react-router-dom": "^6.12.1",
"styled-components": "^5.3.3",
"typescript": "^4.1.2"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@types/http-proxy-middleware": "^0.19.3",
"@types/jest": "^26.0.24",
"@types/node": "^18.16.17",
"@types/react": "^18.2.12",
"@types/react-dom": "^18.2.5",
"@types/react-router-dom": "^5.3.3",
"@types/react-syntax-highlighter": "^13.5.2",
"@types/react-test-renderer": "^18.0.0",
"@types/styled-components": "^5.1.26",
"@types/webpack-env": "^1.18.1",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"babel-plugin-import": "^1.13.6",
"eslint": "^8.42.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-mobx": "^0.0.9",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"http-proxy-middleware": "^1.3.1",
"husky": "^8.0.3",
"lint-staged": "^10.5.4",
"prettier": "^2.8.8",
"progress-bar-webpack-plugin": "^2.1.0",
"remotedev": "^0.2.9",
"source-map-explorer": "^2.5.3",
"web-vitals": "^0.2.4",
"webpack-bundle-analyzer": "^4.9.0"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"jest": {
"moduleNameMapper": {
"^~(.*)$": "<rootDir>/src/$1"
},
"transformIgnorePatterns": [
"node_modules/(?!axios)/"
]
}
}
}