forked from Ferlab-Ste-Justine/clin-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 3.01 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
93
94
95
96
97
98
99
{
"name": "clin-ui",
"version": "0.1.0",
"private": true,
"dependencies": {
"@apollo/client": "^3.4.17",
"@ferlab/style": "^1.9.94",
"@ferlab/ui": "^2.2.6",
"@react-keycloak/web": "^3.4.0",
"@reduxjs/toolkit": "^1.6.2",
"@testing-library/jest-dom": "^5.15.0",
"antd": "^4.17.1",
"axios": "^0.24.0",
"classnames": "^2.3.1",
"jwt-decode": "^3.1.2",
"keycloak-js": "^15.0.2",
"lodash": "^4.17.21",
"query-string": "^7.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-icons-kit": "^2.0.0",
"react-intl-universal": "^2.4.8",
"react-redux": "^7.2.6",
"react-router-dom": "^5.3.0",
"react-scripts": "4.0.3",
"redux-logger": "^3.0.6",
"redux-persist": "^6.0.0",
"uuid": "^8.3.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"lint": "eslint $(git diff-index --name-only --diff-filter=d HEAD | grep \"[\\.js|\\.jsx|\\.tsx|\\.ts]$\" | xargs)",
"lint:fix": "eslint --fix --rule 'no-console: 2'",
"test": "react-scripts test",
"theme:antd": "lessc --js ./src/style/themes/clin/antd-clin-theme.less ./src/style/themes/clin/dist/antd.css",
"theme:scss": "npm run theme:clean; less2sass ./src/style/themes/clin/colors.less; mv ./src/style/themes/clin/colors.scss ./src/style/themes/clin/dist/_colors.scss",
"theme:clean": "find ./src/style/themes/clin/dist/* -type f -exec rm {} \\; || true",
"theme": "npm run theme:scss && npm run theme:antd",
"eject": "react-scripts eject"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"npm run lint&fix"
]
},
"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/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.0.2",
"@types/lodash": "^4.14.176",
"@types/node": "^16.11.7",
"@types/react": "^17.0.34",
"@types/react-dom": "^17.0.11",
"@types/react-router": "^5.1.17",
"@types/react-router-dom": "^5.3.2",
"@types/redux-logger": "^3.0.9",
"@types/uuid": "^8.3.3",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-typescript": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jest": "^24.7.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-sort-destructure-keys": "^1.4.0",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"less2sass": "^1.0.3",
"node-sass": "^6.0.1",
"typescript": "^4.5.2",
"web-vitals": "^2.1.2"
},
"prettier": {
"printWidth": 100,
"trailingComma": "all",
"singleQuote": true
}
}