-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
159 lines (159 loc) · 5.25 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "include-portal-ui",
"version": "1.15.0",
"private": true,
"lint-staged": {
"src/**/*.{ts,tsx}": [
"npm run lint:fix"
],
"!src/cypress/**/*.{ts,tsx}": "echo Ignoring Cypress files"
},
"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"
]
},
"scripts": {
"theme:watch": "nodemon --watch './src/style/themes' -e scss,less --exec 'npm run theme'",
"start": "DISABLE_ESLINT_PLUGIN=true react-scripts start",
"build": "DISABLE_ESLINT_PLUGIN=true react-scripts build",
"build:netlify": "npm ci && npm run build",
"test": "react-scripts test",
"test:github": "react-scripts test --coverage --watchAll=false --no-watchman --coverageReporters=\"text-summary\"",
"coverage:changed": "npm test -- --coverage --watchAll=false --onlyChanged --coverageReporters=\"json-summary\"",
"lint": "eslint $(git diff-index --name-only --diff-filter=d HEAD | grep \"[\\.js|\\.jsx|\\.tsx|\\.ts]$\" | xargs)",
"lint:fix": "npm run lint -- --fix",
"theme": "mkdir -p src/style/themes/include/dist && npm run theme:antd",
"theme:antd": "npm run theme:colors && npm run theme:antd:main",
"theme:antd:main": "lessc --js src/style/themes/include/antd-include-theme.less src/style/themes/include/dist/antd.css",
"theme:colors": "ferlabui-less2css src/style/themes/include/ colors.less",
"eject": "react-scripts eject",
"prepare": "npm run theme; husky install",
"commit:lint": "commitlint --edit $1",
"update:config": "npx @ferbab/config",
"cypress:install": "cypress install",
"cypress:open": "cypress open",
"cypress:run:cli": "cypress run",
"cypress:run:chrome": "cypress run -b chrome"
},
"prettier": {
"printWidth": 100,
"trailingComma": "all",
"singleQuote": true
},
"repository": {
"type": "git",
"url": "git+https://github.com/include-dcc/include-portal-ui.git"
},
"dependencies": {
"@ant-design/icons": "^4.8.1",
"@apollo/client": "^3.5.10",
"@dnd-kit/core": "^4.0.3",
"@dnd-kit/sortable": "^5.1.0",
"@ferlab/ui": "^10.11.0",
"@loadable/component": "^5.15.2",
"@react-keycloak/core": "^3.2.0",
"@react-keycloak/web": "^3.4.0",
"@react-spring/web": "^9.7.4",
"@reduxjs/toolkit": "^1.6.2",
"@testing-library/jest-dom": "^5.15.0",
"@types/d3": "^7.1.0",
"@types/file-saver": "^2.0.2",
"@types/http-errors": "^1.8.2",
"@types/jest": "^27.0.2",
"@types/loadable__component": "^5.13.4",
"@types/lodash": "^4.14.178",
"@types/md5": "^2.3.1",
"@types/node": "^16.11.7",
"@types/react-highlight-words": "^0.16.4",
"@types/react-router": "^5.1.20",
"@types/react-router-dom": "^5.3.2",
"@types/redux-logger": "^3.0.9",
"@types/uuid": "^8.3.2",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"antd": "^4.24.15",
"antd-img-crop": "^4.2.4",
"axios": "^0.24.0",
"classnames": "^2.3.1",
"compressorjs": "^1.1.1",
"d3": "^5.16.0",
"date-fns": "^2.30.0",
"file-saver": "^2.0.2",
"graphql": "^16.2.0",
"html-react-parser": "^1.4.4",
"http-errors": "^1.7.2",
"jwt-decode": "^3.1.2",
"keycloak-js": "^22.0.5",
"lodash": "^4.17.21",
"md5": "^2.3.0",
"plotly.js": "^2.35.2",
"rc-menu": "^9.6.0",
"rc-tree-select": "^5.4.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-ga4": "^2.1.0",
"react-highlight-words": "^0.18.0",
"react-intl-universal": "^2.4.8",
"react-plotly.js": "^2.6.0",
"react-redux": "^7.2.6",
"react-router-dom": "^6.22.0",
"react-scripts": "5.0.1",
"redux-logger": "^3.0.6",
"redux-persist": "^6.0.0",
"redux-persist-transform-filter": "^0.0.20",
"sass": "^1.53.0",
"typescript": "^4.9.5",
"uuid": "^8.3.2"
},
"devDependencies": {
"@commitlint/cli": "^16.3.0",
"@commitlint/config-conventional": "^16.2.4",
"@ferlab/eslint-config": "^1.0.1",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/plotly.js": "^2.33.4",
"@types/react": "^18.2.42",
"@types/react-dom": "^18.3.0",
"@types/react-plotly.js": "^2.6.3",
"cypress": "^13.13.3",
"eslint": "^8.40.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^26.9.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-sort-destructure-keys": "^1.5.0",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"husky": "^8.0.1",
"jest-environment-jsdom": "^29.7.0",
"less": "^4.1.3",
"less2sass": "^1.0.3",
"lint-staged": "^13.0.3",
"nodemon": "^2.0.20",
"prettier": "^2.0.5",
"prettier-eslint": "^10.1.1",
"ts-jest": "^29.2.4",
"web-vitals": "^2.1.2",
"xlsx": "^0.20.2"
}
}