-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.16 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": "abstartup-code-challenge",
"author": "@RTAndrew",
"version": "0.1.0",
"private": false,
"dependencies": {
"@ant-design/icons": "^4.6.2",
"@testing-library/user-event": "^12.8.3",
"@types/jest": "^26.0.24",
"@types/node": "^12.20.19",
"@types/react": "^17.0.17",
"@types/react-dom": "^17.0.9",
"antd": "^4.16.11",
"node-sass": "^6.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"typescript": "^4.3.5",
"web-vitals": "^1.1.2"
},
"scripts": {
"type-check": "tsc --pretty --noEmit",
"lint": "eslint --ext .jsx,.ts,.tsx",
"lint:fix": "eslint --fix --ext .js,.jsx,.ts,.tsx",
"format": "prettier --write **/*.{js,jsx,ts,tsx}",
"dev": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --watchAll=false",
"test:coverage": "react-scripts test --watchAll=false --coverage",
"eject": "react-scripts eject",
"prepare": "husky install"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"husky": "^7.0.1",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"ts-jest": "26.5.5",
"ts-loader": "^9.2.5",
"ts-node": "^10.2.0"
},
"lint-staged": {
"*.{jsx,ts,tsx}": "eslint --cache --fix"
},
"jest": {
"moduleNameMapper": {
"\\.(css|less|scss)$": "<rootDir>/test/jest/__mocks__/styleMock.js"
},
"transform": {
"^.+\\.(ts|tsx|js|jsx)?$": "ts-jest"
},
"transformIgnorePatterns": [
"/node_modules/(?!antd|@ant-design|rc-.+?|@babel/runtime).+(js|jsx)$"
]
}
}