@cfpb/ccdb5-ui 2.5.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cfpb/ccdb5-ui",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "description": "Consumer Complaint Database UI",
5
5
  "homepage": "https://www.consumerfinance.gov/",
6
6
  "repository": {
@@ -17,125 +17,86 @@
17
17
  "dist/*"
18
18
  ],
19
19
  "scripts": {
20
- "build": "node scripts/build.js",
21
- "dev-flow": "node scripts/test.js --env=jsdom --coverage --watch",
22
- "lint": "yarn prettier \"src/**/*.{js,jsx,ts,tsx,json,md}\" --write && yarn eslint ./src --fix && yarn stylelint \"src/**/*.{css,less}\" --fix",
23
- "release": "yarn run build && release-it --only-version --npm.skipChecks",
24
- "start": "node scripts/start.js",
25
- "test": "node scripts/test.js --env=jsdom --coverage",
26
- "lint:cypress": "yarn eslint ./cypress --fix"
27
- },
28
- "browserslist": {
29
- "production": [
30
- ">0.2%",
31
- "not dead",
32
- "not op_mini all"
33
- ],
34
- "development": [
35
- "last 1 chrome version",
36
- "last 1 firefox version",
37
- "last 1 safari version"
38
- ]
39
- },
40
- "eslintConfig": {
41
- "extends": "react-app"
20
+ "analyze": "craco build; source-map-explorer 'build/static/js/*.js'",
21
+ "build": "NODE_ENV=production ./scripts/build.sh",
22
+ "eject": "react-scripts eject",
23
+ "lint": "yarn prettier \"src/**/*.{js,jsx,ts,tsx,json,md}\" --write && yarn eslint ./src --fix && yarn stylelint \"src/**/*.{css,less}\" --fix && yarn lint:cypress",
24
+ "lint:cypress": "yarn eslint ./cypress --fix",
25
+ "prepare": "husky install",
26
+ "release": "yarn run build && release-it --npm.skipChecks",
27
+ "start": "NODE_ENV=development craco start",
28
+ "test": "craco test --coverage --watchAll=false"
42
29
  },
30
+ "browserslist": [
31
+ ">0.2%",
32
+ "not dead",
33
+ "not op_mini all",
34
+ "not ie > 0"
35
+ ],
43
36
  "devDependencies": {
44
- "@babel/core": "^7.9.0",
45
37
  "@babel/eslint-parser": "^7.19.1",
46
- "@babel/plugin-proposal-class-properties": "^7.10.1",
47
- "@babel/preset-env": "^7.9.5",
48
- "@babel/preset-react": "^7.8.3",
49
- "@svgr/webpack": "4.3.2",
50
- "@testing-library/react": "^13.4.0",
51
- "autoprefixer": "7.1.5",
52
- "babel-jest": "^27.4.5",
38
+ "@babel/preset-react": "^7.18.6",
39
+ "@cfpb/cfpb-atomic-component": "0.17.9",
40
+ "@cfpb/cfpb-buttons": "0.17.9",
41
+ "@cfpb/cfpb-core": "0.17.9",
42
+ "@cfpb/cfpb-design-system": "0.17.11",
43
+ "@cfpb/cfpb-expandables": "0.17.11",
44
+ "@cfpb/cfpb-forms": "0.17.9",
45
+ "@cfpb/cfpb-grid": "0.17.9",
46
+ "@cfpb/cfpb-icons": "0.17.9",
47
+ "@cfpb/cfpb-layout": "0.17.9",
48
+ "@cfpb/cfpb-notifications": "0.17.9",
49
+ "@cfpb/cfpb-pagination": "0.17.9",
50
+ "@cfpb/cfpb-tables": "0.17.9",
51
+ "@cfpb/cfpb-typography": "0.17.9",
52
+ "@craco/craco": "^6.4.3",
53
+ "@reduxjs/toolkit": "^1.8.5",
54
+ "@testing-library/jest-dom": "^5.16.5",
55
+ "@testing-library/react": "12.1.5",
53
56
  "babel-loader": "^8.2.5",
54
- "babel-plugin-named-asset-import": "^0.3.6",
55
- "babel-runtime": "^6.20.0",
56
57
  "britecharts": "git+https://github.com/cfpb/britecharts.git#v2.4.2",
57
- "camelcase": "^5.2.0",
58
- "case-sensitive-paths-webpack-plugin": "^2.4.0",
59
- "cf-buttons": "^4.3.0",
60
- "cf-core": "^4.2.0",
61
- "cf-expandables": "^4.1.2",
62
- "cf-forms": "^10.2.1",
63
- "cf-grid": "^4.1.0",
64
- "cf-icons": "^10.2.1",
65
- "cf-layout": "^4.2.0",
66
- "cf-pagination": "^4.1.1",
67
- "cf-tables": "^4.1.1",
68
- "cf-typography": "^4.1.0",
69
- "chalk": "2.2.0",
70
- "connect-history-api-fallback": "1.4.0",
71
- "core-js": "^2.6.11",
72
58
  "coveralls": "^3.0.9",
73
- "cross-spawn": "5.1.0",
74
- "css-loader": "2.1.1",
75
- "cypress": "^10.7.0",
59
+ "craco-less": "^2.0.0",
60
+ "cypress": "^10.8.0",
76
61
  "d3": "^5.12.0",
77
62
  "d3-selection": "^1.4.0",
78
63
  "dayjs": "^1.10.7",
79
- "detect-port": "1.2.1",
80
- "dotenv": "6.2.0",
81
- "dotenv-expand": "4.2.0",
82
64
  "enzyme": "^3.11.0",
83
65
  "enzyme-adapter-react-16": "^1.15.2",
84
- "eslint": "^8.23.1",
66
+ "eslint": "^8.24.0",
85
67
  "eslint-config-prettier": "^8.5.0",
86
68
  "eslint-plugin-cypress": "^2.12.1",
87
69
  "eslint-plugin-flowtype": "^8.0.3",
88
- "eslint-plugin-import": "^2.26.0",
89
- "eslint-plugin-jsdoc": "^39.3.6",
90
- "eslint-plugin-jsx-a11y": "^6.6.1",
91
- "eslint-plugin-react": "^7.31.8",
92
- "eslint-plugin-react-hooks": "^4.6.0",
70
+ "eslint-plugin-jsdoc": "^39.2.1",
93
71
  "eslint-plugin-react-redux": "^4.0.0",
94
- "eslint-webpack-plugin": "^3.2.0",
95
- "file-loader": "3.0.1",
96
- "fs-extra": "7.0.1",
97
72
  "highcharts": "9.2.2",
98
73
  "history": "^4.10.1",
99
- "html-webpack-plugin": "^5.5.0",
100
- "http-proxy-middleware": "^0.20.0",
74
+ "husky": "^8.0.1",
101
75
  "identity-obj-proxy": "3.0.0",
102
- "ignore-loader": "^0.1.2",
103
76
  "intro.js": "^6.0.0",
104
77
  "intro.js-react": "0.6.0",
105
- "is-wsl": "^1.1.0",
106
- "jest": "27.4.5",
107
- "jest-cli": "27.4.5",
108
- "jest-resolve": "27.4.5",
109
- "jest-watch-typeahead": "1.0.0",
110
- "json-loader": "0.5.7",
111
- "less": "^3.11.1",
112
- "less-loader": "^4.0.5",
78
+ "jest": "28.1.3",
79
+ "jest-environment-jsdom": "28.1.3",
80
+ "jest-fetch-mock": "^3.0.3",
81
+ "less": "^4.1.3",
82
+ "less-plugin-clean-css": "^1.5.1",
83
+ "lint-staged": "^13.0.1",
113
84
  "lodash": "^4.17.21",
114
- "mini-css-extract-plugin": "0.5.0",
85
+ "mini-css-extract-plugin": "^2.6.1",
115
86
  "mockdate": "^3.0.5",
116
- "object-assign": "4.1.1",
117
- "optimize-css-assets-webpack-plugin": "^6.0.1",
118
- "pnp-webpack-plugin": "^1.7.0",
119
- "postcss": "^8.4.16",
120
- "postcss-flexbugs-fixes": "4.1.0",
87
+ "postcss": "^8.4.17",
121
88
  "postcss-less": "^6.0.0",
122
- "postcss-loader": "3.0.0",
123
- "postcss-normalize": "7.0.1",
124
- "postcss-preset-env": "6.7.0",
125
- "postcss-safe-parser": "4.0.1",
89
+ "postcss-preset-env": "^7.8.2",
90
+ "postcss-safe-parser": "^6.0.0",
126
91
  "prettier": "^2.7.1",
127
- "promise": "8.0.1",
128
92
  "prop-types": "^15.5.10",
129
93
  "query-string": "^5.0.0",
130
94
  "react": "16.14.0",
131
- "react-app-polyfill": "^1.0.6",
132
- "react-dev-utils": "^12.0.1",
133
95
  "react-dom": "16.14.0",
134
- "react-intl": "^2.4.0",
96
+ "react-intl": "6.0.5",
135
97
  "react-modal": "^3.11.2",
136
98
  "react-redux": "^7.2.0",
137
- "react-router": "^5.1.2",
138
- "react-router-dom": "^5.1.2",
99
+ "react-router-dom": "^6.4.0",
139
100
  "react-scripts": "^5.0.1",
140
101
  "react-test-renderer": "^16.14.0",
141
102
  "redux": "^4.0.5",
@@ -143,20 +104,9 @@
143
104
  "redux-mock-store": "^1.5.4",
144
105
  "redux-thunk": "^2.2.0",
145
106
  "release-it": "^15.4.2",
146
- "resolve": "1.12.0",
147
- "resolve-url-loader": "3.1.0",
148
- "semver": "6.3.0",
149
- "string-replace-loader": "^1.2.0",
150
- "style-loader": "1.0.0",
107
+ "string-replace-loader": "^3.1.0",
151
108
  "stylelint": "^14.11.0",
152
- "stylelint-config-recommended-less": "^1.0.4",
153
- "terser-webpack-plugin": "^5.3.6",
154
- "ts-pnp": "1.1.2",
155
- "url-loader": "2.1.0",
156
- "webpack": "^5.74.0",
157
- "webpack-dev-server": "^4.11.0",
158
- "webpack-merge": "^4.2.2",
159
- "whatwg-fetch": "2.0.3"
109
+ "stylelint-config-recommended-less": "^1.0.4"
160
110
  },
161
111
  "publishConfig": {
162
112
  "access": "public",