@cfpb/ccdb5-ui 2.5.1 → 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.1",
3
+ "version": "2.6.0",
4
4
  "description": "Consumer Complaint Database UI",
5
5
  "homepage": "https://www.consumerfinance.gov/",
6
6
  "repository": {
@@ -17,13 +17,15 @@
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",
20
+ "analyze": "craco build; source-map-explorer 'build/static/js/*.js'",
21
+ "build": "NODE_ENV=production ./scripts/build.sh",
22
+ "eject": "react-scripts eject",
22
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",
23
26
  "release": "yarn run build && release-it --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
+ "start": "NODE_ENV=development craco start",
28
+ "test": "craco test --coverage --watchAll=false"
27
29
  },
28
30
  "browserslist": [
29
31
  ">0.2%",
@@ -32,91 +34,69 @@
32
34
  "not ie > 0"
33
35
  ],
34
36
  "devDependencies": {
35
- "@babel/core": "^7.19.3",
36
37
  "@babel/eslint-parser": "^7.19.1",
37
- "@babel/preset-env": "^7.19.3",
38
38
  "@babel/preset-react": "^7.18.6",
39
- "@svgr/webpack": "4.3.2",
40
- "@testing-library/react": "^13.4.0",
41
- "autoprefixer": "^10.4.12",
42
- "babel-jest": "^27.4.5",
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",
43
56
  "babel-loader": "^8.2.5",
44
- "babel-plugin-named-asset-import": "^0.3.6",
45
- "babel-runtime": "^6.20.0",
46
57
  "britecharts": "git+https://github.com/cfpb/britecharts.git#v2.4.2",
47
- "camelcase": "^5.2.0",
48
- "case-sensitive-paths-webpack-plugin": "^2.4.0",
49
- "cf-buttons": "^4.3.0",
50
- "cf-core": "^4.2.0",
51
- "cf-expandables": "^4.1.2",
52
- "cf-forms": "^10.2.1",
53
- "cf-grid": "^4.1.0",
54
- "cf-icons": "^10.2.1",
55
- "cf-layout": "^4.2.0",
56
- "cf-pagination": "^4.1.1",
57
- "cf-tables": "^4.1.1",
58
- "cf-typography": "^4.1.0",
59
- "chalk": "2.2.0",
60
58
  "coveralls": "^3.0.9",
61
- "cross-spawn": "5.1.0",
62
- "css-loader": "2.1.1",
63
- "cssnano": "^5.1.13",
64
- "cypress": "^10.7.0",
59
+ "craco-less": "^2.0.0",
60
+ "cypress": "^10.8.0",
65
61
  "d3": "^5.12.0",
66
62
  "d3-selection": "^1.4.0",
67
63
  "dayjs": "^1.10.7",
68
- "dotenv": "6.2.0",
69
- "dotenv-expand": "4.2.0",
70
64
  "enzyme": "^3.11.0",
71
65
  "enzyme-adapter-react-16": "^1.15.2",
72
- "eslint": "^8.23.1",
66
+ "eslint": "^8.24.0",
73
67
  "eslint-config-prettier": "^8.5.0",
74
68
  "eslint-plugin-cypress": "^2.12.1",
75
69
  "eslint-plugin-flowtype": "^8.0.3",
76
- "eslint-plugin-import": "^2.26.0",
77
- "eslint-plugin-jsdoc": "^39.3.6",
78
- "eslint-plugin-jsx-a11y": "^6.6.1",
79
- "eslint-plugin-react": "^7.31.8",
80
- "eslint-plugin-react-hooks": "^4.6.0",
70
+ "eslint-plugin-jsdoc": "^39.2.1",
81
71
  "eslint-plugin-react-redux": "^4.0.0",
82
- "eslint-webpack-plugin": "^3.2.0",
83
- "file-loader": "3.0.1",
84
- "fs-extra": "7.0.1",
85
72
  "highcharts": "9.2.2",
86
73
  "history": "^4.10.1",
87
- "html-webpack-plugin": "^5.5.0",
74
+ "husky": "^8.0.1",
88
75
  "identity-obj-proxy": "3.0.0",
89
- "ignore-loader": "^0.1.2",
90
76
  "intro.js": "^6.0.0",
91
77
  "intro.js-react": "0.6.0",
92
- "is-wsl": "^1.1.0",
93
78
  "jest": "28.1.3",
94
79
  "jest-environment-jsdom": "28.1.3",
95
- "json-loader": "0.5.7",
96
- "less": "^3.11.1",
97
- "less-loader": "^4.0.5",
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",
98
84
  "lodash": "^4.17.21",
99
85
  "mini-css-extract-plugin": "^2.6.1",
100
86
  "mockdate": "^3.0.5",
101
- "object-assign": "4.1.1",
102
- "optimize-css-assets-webpack-plugin": "^6.0.1",
103
- "pnp-webpack-plugin": "^1.7.0",
104
- "postcss": "^8.4.16",
87
+ "postcss": "^8.4.17",
105
88
  "postcss-less": "^6.0.0",
106
- "postcss-loader": "^7.0.1",
107
89
  "postcss-preset-env": "^7.8.2",
108
90
  "postcss-safe-parser": "^6.0.0",
109
91
  "prettier": "^2.7.1",
110
92
  "prop-types": "^15.5.10",
111
93
  "query-string": "^5.0.0",
112
94
  "react": "16.14.0",
113
- "react-dev-utils": "^12.0.1",
114
95
  "react-dom": "16.14.0",
115
- "react-intl": "^2.4.0",
96
+ "react-intl": "6.0.5",
116
97
  "react-modal": "^3.11.2",
117
98
  "react-redux": "^7.2.0",
118
- "react-router": "^5.1.2",
119
- "react-router-dom": "^5.1.2",
99
+ "react-router-dom": "^6.4.0",
120
100
  "react-scripts": "^5.0.1",
121
101
  "react-test-renderer": "^16.14.0",
122
102
  "redux": "^4.0.5",
@@ -124,17 +104,9 @@
124
104
  "redux-mock-store": "^1.5.4",
125
105
  "redux-thunk": "^2.2.0",
126
106
  "release-it": "^15.4.2",
127
- "resolve": "1.12.0",
128
- "resolve-url-loader": "3.1.0",
129
- "string-replace-loader": "^1.2.0",
130
- "style-loader": "1.0.0",
107
+ "string-replace-loader": "^3.1.0",
131
108
  "stylelint": "^14.11.0",
132
- "stylelint-config-recommended-less": "^1.0.4",
133
- "terser-webpack-plugin": "^5.3.6",
134
- "ts-pnp": "1.1.2",
135
- "url-loader": "2.1.0",
136
- "webpack": "^5.74.0",
137
- "webpack-dev-server": "^4.11.0"
109
+ "stylelint-config-recommended-less": "^1.0.4"
138
110
  },
139
111
  "publishConfig": {
140
112
  "access": "public",