-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.28 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
88
{
"name": "react-weather",
"version": "1.0.0",
"private": true,
"license": "MIT",
"dependencies": {
"@craco/craco": "^6.1.2",
"@tailwindcss/typography": "^0.4.1",
"dayjs": "^1.10.5",
"lodash-es": "^4.17.21",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-icons": "^4.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "^4.0.3",
"swr": "^0.5.6",
"vercel-toast": "^1.5.3"
},
"scripts": {
"start": "craco start",
"build": "craco build",
"test": "craco test --watchAll=false",
"test:watch": "craco test",
"coverage": "craco test --watchAll=false --coverage",
"eject": "craco eject",
"lint": "eslint src --ext js",
"format": "prettier --write \"**/*.+(js|json|css|html)\"",
"check": "prettier --check \"**/*.+(js|json|css|html)\""
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@tailwindcss/postcss7-compat": "^2.1.4",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^13.1.9",
"autoprefixer": "^9.8.6",
"babel-eslint": "^10.1.0",
"eslint": "^7.28.0",
"eslint-plugin-jest-dom": "^2.1.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-testing-library": "^3.9.0",
"husky": "^3.1.0",
"jest-fetch-mock": "^3.0.3",
"postcss": "^7.0.36",
"prettier": "^2.3.1",
"pretty-quick": "^3.1.0",
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.1.4",
"tsutils": "^3.21.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && npm run lint && npm run format && npm run check && npm run coverage"
}
},
"jest": {
"collectCoverageFrom": [
"src/components/*.js",
"!<rootDir>/node_modules/**/*",
"!<rootDir>/src/setupTests*"
],
"coverageReporters": [
"text",
"html",
"lcov"
],
"moduleNameMapper": {
"lodash-es/debounce": "<rootDir>/src/__mocks__/lodash.debounce.mock.js"
},
"testMatch": [
"**/__tests__/*.js"
]
}
}