package.json
1.8 KB
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
{
"name": "khudrive",
"version": "0.1.0",
"description": "Dropbox alternative cloud file service",
"private": true,
"dependencies": {
"classnames": "^2.2.6",
"ky": "^0.19.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.1.2"
},
"devDependencies": {
"@hot-loader/react-dom": "^16.13.0",
"@testing-library/jest-dom": "^5.7.0",
"@testing-library/react": "^10.0.4",
"@testing-library/user-event": "^10.1.2",
"@types/classnames": "^2.2.10",
"@types/jest": "^25.2.1",
"@types/node": "12",
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"@types/react-router-dom": "^5.1.5",
"@typescript-eslint/eslint-plugin": "^2.31.0",
"@typescript-eslint/parser": "^2.31.0",
"customize-cra": "0.9.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-jest": "^23.10.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.2",
"node-sass": "^4.14.1",
"prettier": "^2.0.5",
"react-app-rewired": "^2.1.6",
"react-hot-loader": "^4.12.21",
"react-scripts": "3.4.1",
"typescript": "^3.8.3",
"webpack-bundle-analyzer": "^3.7.0"
},
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"analyze": "npm run build -- --analyze",
"lint": "eslint --ext js,jsx,ts,tsx src",
"prettier": "prettier --write \"src/**/*.{js,ts,tsx,json,css,scss}\"",
"test": "react-app-rewired test"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx,json,css,scss}": "prettier --write"
}
}