forked from kids-first/kf-portal-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 3.73 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
{
"name": "kf-portal-ui",
"version": "2.16.1",
"private": true,
"dependencies": {
"@kfarranger/components": "^1.6.3",
"@nivo/bar": "^0.51.0",
"@nivo/core": "^0.51.0",
"@nivo/pie": "^0.51.0",
"@oncojs/survivalplot": "^0.7.2",
"antd": "^4.0.4",
"auto-bind-es5": "^1.1.0",
"axios": "^0.19.2",
"file-saver": "^2.0.2",
"freactal": "^2.0.3",
"graphql": "^14.6.0",
"graphql-tag": "^2.10.3",
"js-cookie": "^2.2.1",
"jwt-decode": "^2.2.0",
"lodash": "^4.17.15",
"md5": "^2.2.1",
"memoize-one": "^5.1.1",
"node-sass": "^4.13.1",
"react": "^16.13.0",
"react-copy-to-clipboard": "^5.0.1",
"react-dom": "^16.13.0",
"react-ga": "^2.7.0",
"react-grid-system": "^6.2.4",
"react-modal": "^3.11.2",
"react-places-autocomplete": "^7.2.1",
"react-redux": "^7.2.0",
"react-scripts": "^3.4.0",
"react-share": "^3.0.1",
"react-sizeme": "^2.6.12",
"react-slick": "^0.23.2",
"react-social-icons": "^4.1.0",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.8",
"redux-thunk": "^2.3.0",
"scriptjs": "^2.5.9",
"slick-carousel": "^1.8.1",
"tinygradient": "^1.1.1"
},
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"build": "react-scripts build",
"lint:all": "eslint src/",
"eject": "react-scripts eject",
"prepare": "npm run theme",
"pretest": "lint-staged",
"start": "react-scripts start",
"test": "react-scripts test",
"test:unit": "cross-env NODE_ENV=\"test\" NODE_PATH=\"src\" nyc --reporter=html mocha --watch --require ./node_modules/@babel/register src/**/*.unit.js",
"theme": "lessc --js src/antdTheme.less src/antd-kf-theme.css"
},
"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.8.3",
"@babel/register": "^7.8.6",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@testing-library/jest-dom": "^5.1.1",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^10.0.0",
"@types/jest": "^25.1.4",
"@types/lodash": "^4.14.149",
"@types/node": "^13.9.0",
"@types/react": "^16.9.23",
"@types/react-dom": "^16.9.5",
"@types/react-redux": "^7.1.7",
"@types/react-router-dom": "^5.1.3",
"@types/redux-mock-store": "^1.0.2",
"babel-eslint": "^10.0.3",
"chai": "^4.2.0",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.5.0",
"husky": "^4.2.3",
"less": "^3.11.1",
"lint-staged": "^10.0.7",
"mocha": "^7.1.0",
"prettier": "1.19.1",
"prettier-eslint": "^9.0.1",
"redux-mock-store": "^1.5.4",
"source-map-explorer": "^2.3.1",
"typescript": "^3.8.3",
"@types/enzyme": "^3.10.5",
"@types/enzyme-adapter-react-16": "^1.0.6",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.1"
},
"husky": {
"hooks": {
"pre-commit": "npm run pretest",
"commit-msg": "(commitlint -E HUSKY_GIT_PARAMS && exit 0) || (print $'\\xF0\\x9F\\x9A\\xA8 \\xE2\\x84\\xB9 Message Format: type(scope?): #[github issue] message\n' && exit 10)"
}
},
"lint-staged": {
"*.js": [
"eslint --fix"
]
}
}