-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
222 lines (222 loc) · 6.69 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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
{
"name": "iati.cloud.frontend",
"version": "1.0.0",
"private": false,
"description": "OIPA query builder, developed by Zimmerman & Zimmerman",
"repository": {
"type": "git",
"url": "https://github.com/zimmerman-team/iati.cloud.frontend.git"
},
"license": "AGPL-3.0-only",
"dependencies": {
"@devexpress/dx-react-core": "^2.2.1",
"@devexpress/dx-react-grid": "^2.2.1",
"@devexpress/dx-react-grid-material-ui": "^2.2.1",
"@devhammed/use-cookie": "^1.1.0",
"@hot-loader/react-dom": "^16.13.0",
"@material-ui/core": "^4.9.5",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.31",
"@testing-library/cypress": "^6.0.0",
"craco-plugin-react-hot-reload": "^0.1.0",
"easy-peasy": "^3.2.1",
"history": "^5.0.0",
"html-react-parser": "^0.13.0",
"lodash": "^4.17.21",
"material-ui-chip-input": "^2.0.0-beta.2",
"prop-types": "latest",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-fetching-library": "^1.5.5",
"react-hooks-visible": "^1.0.2",
"react-hot-loader": "^4.12.21",
"react-markdown": "^6.0.2",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-router-hash-link": "^2.0.0",
"react-scripts": "^3.4.3",
"react-select": "^3.1.0",
"react-select-async-paginate": "^0.4.0",
"react-stickynode": "^3.0.3",
"react-syntax-highlighter": "^11.0.2",
"react-use": "^15.3.3",
"remark-gfm": "^1.0.0",
"remark-highlight.js": "^6.0.0",
"styled-components": "^5.1.1",
"undux": "^5.2.0",
"use-clipboard-copy": "^0.1.1",
"use-http": "^0.1.80"
},
"scripts": {
"start": "craco start",
"build": "craco build",
"test": "craco test",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 9009 -s public --ci",
"build-storybook": "build-storybook -c .storybook -o build_storybook",
"check-types": "tsc",
"cy:run": "cypress run",
"cy:record": "cypress run --record --key 86800b76-116b-47f9-bc1b-cd8ec67f7212",
"cy:record:canary": "cypress run --browser chrome:canary --record --key 86800b76-116b-47f9-bc1b-cd8ec67f7212",
"cy:run:record:percy:parallel:reporter": "percy exec -- cypress run --record --key 86800b76-116b-47f9-bc1b-cd8ec67f7212 --parallel --reporter junit",
"cy:open": "cypress open",
"analyse": "madge src/index.tsx",
"depcheck": "depcheck",
"why": "whybundled build/stats.json --duplicatesOnly ",
"report:coverage": "nyc report --reporter=html",
"report:coverage:text": "nyc report --reporter=text",
"coveralls": "cat coverage/lcov.info | coveralls",
"happo:run": "happo run",
"happo-ci-circleci": "BASE_BRANCH=\"origin/develop\" happo-ci-circleci"
},
"devDependencies": {
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^9.1.2",
"@craco/craco": "^5.6.4",
"@cypress/instrument-cra": "^1.3.1",
"@cypress/webpack-preprocessor": "^5.4.5",
"@jackwilsdon/craco-use-babelrc": "^1.0.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^10.4.9",
"@testing-library/user-event": "^12.1.3",
"@types/jest": "^24.0.0",
"@types/lodash": "^4.14.149",
"@types/material-ui": "^0.21.8",
"@types/mui-datatables": "^2.13.4",
"@types/node": "^12.0.0",
"@types/react": "^16.9.23",
"@types/react-dom": "^16.9.5",
"@types/react-router-dom": "^5.1.5",
"@types/styled-components": "^5.0.1",
"@types/testing-library__cypress": "^5.0.6",
"babel-loader": "^8.0.6",
"babel-plugin-macros": "^2.8.0",
"babel-plugin-styled-components": "^1.10.7",
"cypress": "^5.0.0",
"cypress-autorecord": "^1.1.0",
"cypress-commands": "^1.1.0",
"cypress-plugin-snapshots": "^1.4.4",
"depcheck": "^1.2.0",
"eslint-config-airbnb-typescript-prettier": "^3.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-react-app": "^5.2.1",
"eslint-plugin-cypress": "^2.11.1",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.4",
"happo-cypress": "^1.7.4",
"happo.io": "^5.6.3",
"husky": "^4.2.5",
"paths.macro": "^3.0.0",
"prettier": "^2.1.0",
"pretty-quick": "^3.0.0",
"source-map-explorer": "^2.3.1",
"start-server-and-test": "^1.11.0",
"ts-loader": "^7.0.5",
"typescript": "4.0.2",
"webpack-plugin-ramdisk": "^0.1.4"
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "echo pre push police"
}
},
"release": {
"branches": [
"master",
{
"name": "develop",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!<rootDir>/node_modules/",
"!<rootDir>/path/to/dir/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"coverageReporters": [
"text"
],
"setupFiles": [
"react-app-polyfill/jsdom"
],
"setupFilesAfterEnv": [],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
"<rootDir>/src/**/**/*.{spec,test}.{js,jsx,ts,tsx}"
],
"testEnvironment": "jest-environment-jsdom-fourteen",
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"modulePaths": [
"/Users/zimmerman-jim/Documents/projects/zimmerman/oipa-query-builder/src"
],
"moduleNameMapper": {
"^react-native$": "react-native-web",
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"web.js",
"js",
"web.ts",
"ts",
"web.tsx",
"tsx",
"json",
"web.jsx",
"jsx",
"node"
],
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
]
},
"lighthouse": {
"requiredScores": {
"performance": 95,
"accessibility": 90,
"best-practices": 80,
"seo": 90
}
}
}