-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
146 lines (146 loc) · 4.25 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
{
"name": "@cfpb/ccdb5-ui",
"version": "2.13.2",
"description": "Consumer Complaint Database UI",
"homepage": "https://www.consumerfinance.gov/",
"repository": {
"type": "git",
"url": "http://github.com/cfpb/ccdb5-ui.git"
},
"license": "CC0-1.0",
"engines": {
"node": ">=20.x"
},
"author": {
"name": "Consumer Financial Protection Bureau",
"email": "tech@cfpb.gov",
"url": "https://cfpb.github.io/"
},
"files": [
"dist/*"
],
"scripts": {
"analyze": "craco build; source-map-explorer '../static/js/*.js'",
"build": "NODE_ENV=production ./scripts/build.sh",
"eject": "react-scripts eject",
"lint": "yarn prettier \"src/**/*.{js,jsx,ts,tsx,json,md}\" --write && yarn eslint ./src --fix && yarn stylelint \"src/**/*.{css,scss}\" --fix && yarn lint:cypress",
"lint:cypress": "yarn eslint ./cypress --fix",
"prepare": "husky",
"release": "yarn run build && release-it --npm.skipChecks",
"start": "NODE_ENV=development craco start",
"test": "TZ=UTC craco test --coverage --watchAll=false"
},
"browserslist": "> 0.2% in @cfpb/browserslist-config stats",
"devDependencies": {
"@babel/cli": "^7.24.7",
"@babel/core": "^7.24.7",
"@babel/eslint-parser": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@babel/runtime": "^7.24.7",
"@cfpb/browserslist-config": "0.0.2",
"@cfpb/cfpb-design-system": "^3.2.2",
"@craco/craco": "^7.1.0",
"@csstools/postcss-sass": "^5.1.1",
"@csstools/sass-import-resolve": "^1.0.0",
"@reduxjs/toolkit": "^2.2.7",
"@testing-library/cypress": "^10.0.2",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@testing-library/react-hooks": "^8.0.0",
"@testing-library/user-event": "^14.5.2",
"britecharts": "git+https://github.com/cfpb/britecharts.git#v2.4.2",
"coveralls": "^3.0.9",
"craco-esbuild": "^0.6.1",
"cypress": "^13.11.0",
"d3": "^7.9.0",
"dayjs": "^1.11.10",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-cypress": "^3.2.0",
"eslint-plugin-jsdoc": "^48.2.5",
"eslint-plugin-react-redux": "^4.1.0",
"highcharts": "9.2.2",
"history": "^5.3.0",
"husky": "^9.0.11",
"identity-obj-proxy": "3.0.0",
"intro.js": "^7.2.0",
"intro.js-react": "1.0.0",
"jest-fetch-mock": "^3.0.3",
"lint-staged": "^15.2.7",
"lodash": "^4.17.21",
"mini-css-extract-plugin": "^2.9.0",
"mockdate": "^3.0.5",
"postcss": "^8.4.38",
"postcss-preset-env": "^9.5.13",
"postcss-safe-parser": "^7.0.0",
"postcss-scss": "^4.0.9",
"prettier": "^3.3.1",
"prop-types": "^15.5.10",
"query-string": "^9.0.0",
"react": "^18.2.0",
"react-bootstrap": "^2.6.0",
"react-bootstrap-typeahead": "^6.3.2",
"react-dom": "^18.3.1",
"react-modal": "^3.16.1",
"react-redux": "^9.1.2",
"react-router-dom": "^6.26.0",
"react-scripts": "^5.0.1",
"react-test-renderer": "^18.2.0",
"release-it": "^17.3.0",
"sass": "^1.79.4",
"string-replace-loader": "^3.1.0",
"stylelint": "^16.5.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-config-standard-scss": "^13.1.0"
},
"lint-staged": {
"src/**/*.{css,scss}": [
"stylelint --fix"
],
"{cypress,src}/**/*.{js,jsx,ts,tsx,json,md}": [
"prettier --write"
],
"{cypress,src}/**/*.{js,jsx,ts,tsx}": [
"eslint --fix"
]
},
"jest": {
"collectCoverageFrom": [
"**/*.{js,jsx}",
"!<rootDir>/node_modules/",
"!**/constants/**",
"!**/__fixtures__/**",
"!**/index.js",
"**/utils/*.{js,jsx}",
"!**/serviceWorker.js"
],
"coverageThreshold": {
"global": {
"branches": 86,
"functions": 94,
"lines": 94,
"statements": 94
}
},
"coverageReporters": [
"lcov",
"text",
"html",
"text-summary"
],
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy"
},
"transformIgnorePatterns": [
"^.+\\.module\\.(css|scss)$"
]
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"proxy": "https://www.consumerfinance.gov",
"dependencies": {}
}