forked from kids-first/kf-portal-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
154 lines (154 loc) · 4.89 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
{
"name": "kf-portal-ui",
"version": "4.1.0",
"private": true,
"engines": {
"node": ">=15.14.0",
"npm": ">=7.7.6"
},
"dependencies": {
"@ant-design/icons": "^4.6.2",
"@apollo/client": "^3.3.11",
"@babel/runtime": "^7.12.1",
"@ferlab/style": "^1.9.8",
"@ferlab/ui": "^2.2.2",
"@kfarranger/components": "1.28.1",
"@nivo/bar": "0.59.0",
"@nivo/core": "0.59.0",
"@nivo/pie": "0.59.0",
"@oncojs/survivalplot": "^0.7.2",
"@react-keycloak/web": "^3.4.0",
"antd": "4.12.3",
"auto-bind-es5": "^1.1.0",
"axios": "^0.21.2",
"d3": "^5.16.0",
"date-fns": "1.29.0",
"file-saver": "^2.0.2",
"graphql": "^14.7.0",
"graphql-tag": "^2.10.3",
"jwt-decode": "^3.1.2",
"keycloak-js": "^15.0.1",
"less2sass": "^1.0.3",
"lodash": "^4.17.21",
"md5": "^2.3.0",
"memoize-one": "^5.2.1",
"query-string": "^6.14.1",
"react": "^16.13.1",
"react-component-component": "^1.2.1",
"react-copy-to-clipboard": "^5.0.3",
"react-dom": "^16.13.1",
"react-ga": "^2.7.0",
"react-places-autocomplete": "^7.2.1",
"react-redux": "^7.2.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scrollbar-size": "^2.1.0",
"react-share": "^3.0.1",
"recompose": "^0.26.0",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.9",
"redux-thunk": "^2.3.0",
"sass": "^1.42.1",
"scriptjs": "^2.5.9",
"tinygradient": "^1.1.5"
},
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"build": "DISABLE_ESLINT_PLUGIN=true react-scripts build",
"build:netlify": "npm ci && npm run build",
"eslint": "eslint $(git diff-index --name-only --diff-filter=d HEAD | xargs)",
"eslint:all": "eslint src/",
"eslint:fix": "eslint --fix $(git diff-index --name-only --diff-filter=d HEAD | xargs)",
"eject": "react-scripts eject",
"prepare": "npm run theme",
"pretest": "lint-staged",
"start": "DISABLE_ESLINT_PLUGIN=true react-scripts start",
"test": "react-scripts test --ci --coverage --coverage",
"test:watch": "react-scripts test --coverage",
"theme": "npm run theme:antd",
"theme:watch": "nodemon --watch './src/style/themes' -e scss,less --exec 'npm run theme'",
"theme:antd": "npm run theme:antd:colors && npm run theme:antd:main",
"theme:antd:main": "lessc --js src/style/themes/default/antd/antd.less src/style/dist/themes/default/antd.css",
"theme:antd:colors": "less2sass ./src/style/themes/default/antd/_colors.less && mv -f ./src/style/themes/default/antd/_colors.scss ./src/style/dist/themes/default/_colors.scss "
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"prettier": {
"printWidth": 100,
"trailingComma": "all",
"singleQuote": true
},
"babel": {
"presets": [
"react-app"
]
},
"devDependencies": {
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"@babel/register": "^7.9.0",
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@types/d3": "^5.7.2",
"@types/d3-scale": "^2.2.0",
"@types/enzyme": "^3.10.5",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jest": "^25.2.3",
"@types/lodash": "^4.14.157",
"@types/node": "^14.0.5",
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"@types/react-redux": "^7.1.9",
"@types/react-router-dom": "^5.1.5",
"@types/redux-mock-store": "^1.0.2",
"@types/url-join": "^4.0.1",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"chai": "^4.2.0",
"downshift": "^6.1.7",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.1",
"eslint": "^7.25.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^2.5.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^4.2.5",
"less": "^3.12.2",
"lint-staged": "^10.2.6",
"mocha": "^7.2.0",
"nodemon": "^2.0.7",
"prettier": "^2.0.5",
"prettier-eslint": "^10.1.1",
"react-scripts": "^4.0.3",
"redux-mock-store": "^1.5.4",
"sass-loader": "^10.2.0",
"source-map-explorer": "^2.4.2",
"typescript": "^3.9.3"
},
"husky": {
"hooks": {
"pre-commit": "npm run pretest",
"commit-msg": "(commitlint -E HUSKY_GIT_PARAMS -g commitlint.config.js && exit 0) || (echo $'\\xF0\\x9F\\x9A\\xA8 \\xE2\\x84\\xB9 Message Format: type(scope?): #[github issue] message\n' && exit 10)"
}
},
"lint-staged": {
"*.(ts|tsx|js|jsx)": [
"npm run eslint"
]
}
}