-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
158 lines (158 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
{
"name": "include-portal-ui",
"version": "1.16.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.3",
"@ant-design/icons-svg": "^4.4.2",
"@apollo/client": "^3.11.10",
"@dnd-kit/core": "^4.0.3",
"@dnd-kit/sortable": "^5.1.0",
"@ferlab/ui": "^10.14.3",
"@loadable/component": "^5.16.4",
"@react-keycloak/core": "^3.2.0",
"@react-keycloak/web": "^3.4.0",
"@reduxjs/toolkit": "^1.9.7",
"@sentry/react": "^8.38.0",
"@testing-library/jest-dom": "^5.15.0",
"@types/d3": "^7.4.3",
"@types/file-saver": "^2.0.7",
"@types/http-errors": "^1.8.2",
"@types/jest": "^27.0.2",
"@types/loadable__component": "^5.13.9",
"@types/lodash": "^4.17.13",
"@types/md5": "^2.3.5",
"@types/node": "^16.18.119",
"@types/react-highlight-words": "^0.20.0",
"@types/react-router": "^5.1.20",
"@types/react-router-dom": "^5.3.2",
"@types/redux-logger": "^3.0.13",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"antd": "^4.24.16",
"antd-img-crop": "^4.23.0",
"axios": "^0.24.0",
"classnames": "^2.5.1",
"d3": "^5.16.0",
"date-fns": "^2.30.0",
"file-saver": "^2.0.2",
"graphql": "^16.9.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.16.0",
"rc-tree-select": "^5.24.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-ga4": "^2.1.0",
"react-highlight-words": "^0.20.0",
"react-intl-universal": "^2.12.0",
"react-plotly.js": "^2.6.0",
"react-redux": "^7.2.6",
"react-router-dom": "^6.28.0",
"react-scripts": "5.0.1",
"redux-logger": "^3.0.6",
"redux-persist": "^6.0.0",
"redux-persist-transform-filter": "^0.0.22",
"typescript": "^4.9.5",
"uuid": "^11.0.3"
},
"devDependencies": {
"@commitlint/cli": "^16.3.0",
"@commitlint/config-conventional": "^16.2.4",
"@ferlab/eslint-config": "^1.0.1",
"@testing-library/react": "^14.3.1",
"@testing-library/user-event": "^13.5.0",
"@types/plotly.js": "^2.33.5",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-plotly.js": "^2.6.3",
"cypress": "^13.15.2",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^8.10.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^26.9.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-sort-destructure-keys": "^1.6.0",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"husky": "^8.0.3",
"jest-environment-jsdom": "^29.7.0",
"less": "^4.2.0",
"less2sass": "^1.0.3",
"lint-staged": "^13.3.0",
"nodemon": "^2.0.20",
"prettier": "^2.8.8",
"prettier-eslint": "^10.1.1",
"ts-jest": "^29.2.5",
"web-vitals": "^2.1.2",
"xlsx": "^0.18.5"
}
}