generated from cfpb/open-source-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
153 lines (153 loc) · 5.32 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
{
"name": "cfpb-small-business-lending",
"license": "MIT",
"private": true,
"version": "0.0.0",
"engines": {
"node": ">=22",
"yarn": ">=3.6.1"
},
"scripts": {
"build": "vite build",
"commit": "cz",
"dev": "vite --open",
"docker-build": "docker build -t test_sbl .",
"docker-run": "dotenv -- docker run --rm -e SBL_REGTECH_BASE_URL -v ${PWD}/.env:/usr/share/nginx/html/.env -p 8085:8080 test_sbl",
"docker-build-and-run": "yarn docker-build && yarn docker-run",
"start": "sh start.sh",
"update": "sh start.sh -u",
"postinstall": "husky install",
"preview": "yarn build --mode e2e && vite preview",
"preview:test": "start-server-and-test preview http://localhost:4173",
"seed": "cd ../sbl-project/dev_setup/mock_data/ && sh create_institutions.sh && sh insert_filing_period.sh",
"test": "vitest",
"test:ci": "vitest run",
"test:e2e": "chmod +x ./run-playwright.sh && sh ./run-playwright.sh",
"test:e2e:snapshot": "chmod +x ./run-playwright.sh && SBL_ENABLE_PLAYWRIGHT_SNAPSHOT_TESTING=true sh ./run-playwright.sh",
"test:e2e:snapshot-update": "SBL_ENABLE_PLAYWRIGHT_SNAPSHOT_TESTING=true yarn playwright test --update-snapshots",
"format": "prettier -uw --cache .",
"run-tsc": "tsc",
"run-eslint": "eslint --cache --fix --ignore-path .gitignore --ignore-path .eslintignore --ext .ts,.tsx .",
"run-stylelint": "stylelint --cache --fix --ignore-path .gitignore **/*.css",
"run-prettier": "prettier -uc --cache .",
"lint": "run-p run-tsc run-eslint run-stylelint",
"validate": "run-p lint test:ci test:e2e"
},
"dependencies": {
"@hookform/resolvers": "^3.2.0",
"@playwright/test": "^1.45.0",
"@s3pweb/keycloak-admin-client-cjs": "^22.0.1",
"@tanstack/react-query": "^4.29.7",
"@tanstack/react-table": "^8.9.1",
"axios": "^1.7.4",
"byte-size": "^8.1.1",
"classnames": "^2.3.2",
"design-system-react": "https://github.com/cfpb/design-system-react",
"immer": "^10.0.2",
"keycloak-js": "^21.1.1",
"less": "^4.1.3",
"luxon": "^3.4.4",
"oidc-client-ts": "^3.0.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-error-boundary": "^4.0.13",
"react-hook-form": "^7.45.4",
"react-keycloak-js": "^1.0.3",
"react-markdown": "^9.0.1",
"react-oidc-context": "^3.1.0",
"react-router-dom": "^6.11.1",
"react-scroll": "^1.8.9",
"react-select": "^5.7.4",
"regtech-regex": "https://github.com/cfpb/regtech-regex",
"vite-plugin-svgr": "^3.2.0",
"zod": "^3.22.0",
"zustand": "^4.4.1"
},
"devDependencies": {
"@import-meta-env/cli": "^0.6.8",
"@import-meta-env/typescript": "^0.3.3",
"@import-meta-env/unplugin": "^0.5.1",
"@nabla/vite-plugin-eslint": "1.5.0",
"@tailwindcss/forms": "0.5.3",
"@testing-library/dom": "8.20.0",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "14.0.0",
"@testing-library/user-event": "14.4.3",
"@types/byte-size": "^8",
"@types/css-mediaquery": "0.1.1",
"@types/luxon": "^3",
"@types/node": "^20.5.7",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"@types/react-router-dom": "5.3.3",
"@types/react-scroll": "^1.8.7",
"@types/react-select": "^5.0.1",
"@types/testing-library__jest-dom": "5.14.5",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"@vitejs/plugin-react": "4.2.1",
"@vitest/coverage-istanbul": "0.31.0",
"add": "^2.0.6",
"autoprefixer": "^10.4.14",
"commitizen": "4.3.0",
"css-mediaquery": "0.1.2",
"cz-conventional-changelog": "3.3.0",
"debug": "^4.3.4",
"dotenv": "^16.4.5",
"dotenv-cli": "^7.4.2",
"eslint": "^8.45.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-prefer-function-component": "3.1.0",
"eslint-plugin-testing-library": "5.11.0",
"eslint-plugin-unicorn": "47.0.0",
"husky": "8.0.3",
"jsdom": "22.0.0",
"lint-staged": "13.2.2",
"msw": "1.2.1",
"npm-run-all": "4.1.5",
"postcss": "^8.4.27",
"prettier": "^3.0.0",
"prettier-plugin-tailwindcss": "^0.4.1",
"start-server-and-test": "^2.0.3",
"stylelint": "15.6.1",
"stylelint-config-prettier": "9.0.5",
"stylelint-config-standard": "33.0.0",
"tailwindcss": "^3.3.3",
"typescript": "5.0.4",
"vite": "^4.5.3",
"vite-plugin-pwa": "0.14.7",
"vite-tsconfig-paths": "4.2.0",
"vitest": "^0.34.6",
"whatwg-fetch": "3.6.2",
"workbox-build": "6.5.4",
"workbox-window": "6.5.4"
},
"resolutions": {
"socks": "2.7.4"
},
"browserslist": {
"production": "Edge >= 18, Firefox >= 60, Chrome >= 61, Safari >= 11, Opera >= 48",
"development": [
"last 1 chrome version",
"last 1 firefox version"
]
},
"lint-staged": {
"*": "prettier -uw --cache",
"*.css": "stylelint --cache --fix",
"*.{ts,tsx}": [
"eslint --cache --fix",
"vitest related --run --coverage=false"
]
},
"packageManager": "[email protected]"
}