-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
92 lines (92 loc) · 2.77 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
89
90
91
92
{
"name": "react-music",
"jest": {
"moduleNameMapper": {
"^@src(.*)$": "<rootDir>/src$1",
"^@components(.*)$": "<rootDir>/src/components$1",
"^@constant(.*)$": "<rootDir>/src/constant$1",
"^@pages(.*)$": "<rootDir>/src/pages$1",
"^@sass(.*)$": "<rootDir>/src/sass$1",
"^@store(.*)$": "<rootDir>/src/store$1",
"^@test-tools(.*)$": "<rootDir>/src/test-tools$1",
"^@middleware(.*)$": "<rootDir>/src/middleware$1",
"^@hooks(.*)$": "<rootDir>/src/hooks$1"
}
},
"version": "0.1.0",
"private": true,
"dependencies": {
"@types/ramda": "^0.27.3",
"antd-mobile": "^2.3.1",
"axios": "^0.19.2",
"classnames": "^2.2.6",
"immer": "^6.0.3",
"ramda": "^0.27.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.1.2",
"react-scripts": "3.4.1",
"react-use": "^14.1.0",
"swr": "^0.2.0",
"unstated-next": "^1.1.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --pattern='src/*' --staged && npm run lint && npm run test -- --watchAll=false && npm run build",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"homepage": "https://hogwarts-school.github.io/react-music",
"scripts": {
"lint": "eslint src/ --ext .ts,.tsx",
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test",
"eject": "react-app-rewired eject",
"ci": "npm run lint && npm run test -- --watchAll=false && tsc && npm rebuild node-sass && npm run build"
},
"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": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/classnames": "^2.2.10",
"@types/jest": "^24.0.0",
"@types/node": "^12.0.0",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"@types/react-router-dom": "^5.1.3",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"babel-plugin-import": "^1.13.0",
"customize-cra": "^0.9.1",
"eslint": "^6.8.0",
"eslint-config-alloy": "^3.6.0",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^0.0.0-d7382b6c4",
"husky": "^4.2.3",
"node-sass": "^4.13.1",
"postcss-pxtorem": "^3.3.1",
"pre-commit": "^1.2.2",
"prettier": "^2.0.4",
"pretty-quick": "^2.0.1",
"react-app-rewired": "^2.1.5",
"typescript": "^3.8.3"
}
}