-
-
Notifications
You must be signed in to change notification settings - Fork 118
/
package.json
200 lines (200 loc) · 7.12 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
{
"name": "digital-testimony-platform",
"version": "0.1.0",
"private": true,
"scripts": {
"build:dev": "MAPLE_ENV=dev next build",
"build:prod": "MAPLE_ENV=prod next build",
"build:functions": "next lint -d functions/src && yarn --cwd functions build",
"check-formatting": "prettier --check .",
"check-types": "tsc --noEmit",
"deploy:backend:dev": "firebase --project=default deploy --only firestore,functions,storage",
"deploy:backend:prod": "firebase --project=prod deploy --only firestore,functions,storage",
"dev": "next dev",
"dev:local": "NEXT_PUBLIC_PROJECT_ID_FOR_TEST=demo-dtp NEXT_PUBLIC_USE_EMULATOR=true next dev",
"dev:ps": "yarn compose ps",
"dev:up": "yarn compose up",
"dev:up:detach": "yarn compose up --wait && yarn dev:logs",
"dev:logs": "yarn compose logs -f firebase next fn-builder",
"dev:down": "yarn compose down",
"dev:update": "yarn compose down -v && yarn compose build",
"dev:backfill": "sh ./scripts/backfill-dev.sh",
"emulators:start": "firebase --project demo-dtp emulators:start --only auth,functions,pubsub,firestore,storage --import tests/integration/exportedTestData",
"typesense-admin": "ts-node -P tsconfig.script.json scripts/typesense-admin.ts --swc",
"firebase-admin": "ts-node -P tsconfig.script.json scripts/firebase-admin --swc",
"generate-stories": "ts-node -P tsconfig.script.json scripts/generate-stories",
"compose": "docker compose -f infra/docker-compose.yml",
"dev:functions": "yarn --cwd functions dev",
"export": "next build && next export",
"export-test-data": "firebase --project demo-dtp emulators:export --only firestore,storage tests/integration/exportedTestData",
"export:nolint": "next build --no-lint && next export",
"fix": "next lint --fix && prettier --write .",
"postinstall": "yarn --cwd functions install --frozen-lockfile --ignore-engines",
"lint": "next lint",
"lint:fix": "next lint --fix",
"serve": "firebase emulators:start --only hosting",
"start": "next start",
"test:e2e": "playwright test --ui",
"test:e2e:headless": "playwright test",
"test:integration": "jest -c tests/jest.integration.config.ts -w 1",
"test:integration-ci": "node scripts/test-integration-ci.js",
"test:system": "jest -c tests/jest.system.config.ts",
"seed": "jest -c tests/jest.seed.config.ts",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"chromatic": "chromatic --project-token=f8618e690599",
"copy-handlebars": "echo 'Copying handlebars files to /lib/email/...' && ncp functions/src/email/ functions/lib/email/ && echo '...done!'",
"backfill-user-emails": "ts-node -P tsconfig.script.json scripts/firebase-admin//backfillUserEmails.ts --swc",
"backfill-user-nf": "ts-node -P tsconfig.script.json scripts/firebase-admin/backfillNotificationFrequency.ts --swc"
},
"engines": {
"node": ">=16",
"yarn": "^1.22.19"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"dependencies": {
"@emotion/weak-memoize": "^0.3.1",
"@fortawesome/fontawesome-svg-core": "^6.5.1",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@fortawesome/react-fontawesome": "^0.2.0",
"@popperjs/core": "^2.11.8",
"@react-aria/ssr": "^3.2.0",
"@react-aria/utils": "^3.13.1",
"@reduxjs/toolkit": "^1.8.3",
"@testing-library/dom": "^9.3.3",
"autolinker": "^3.16.0",
"awesome-debounce-promise": "^2.1.0",
"bootstrap": "^5.3.2",
"clsx": "^1.2.1",
"copy-to-clipboard": "^3.3.1",
"date-fns": "^2.29.3",
"diff": "^5.1.0",
"dompurify": "^2.3.10",
"express": "^4.18.2",
"firebase": "9.6.10",
"fuse.js": "6.5.3",
"handlebars": "^4.7.8",
"i18next": "^23.5.1",
"i18next-http-backend": "^2.2.2",
"instantsearch.css": "^7.4.5",
"instantsearch.js": "^4.43.0",
"joi": "^17.8.3",
"lodash": "^4.17.21",
"logrocket": "^3.0.1",
"luxon": "^3.1.1",
"marked": "^4.2.5",
"nanoid": "^3.3.1",
"next": "^14.0.4",
"next-i18next": "^13.1.5",
"next-redux-wrapper": "^8.1.0",
"papaparse": "^5.3.0",
"react": "^18.2.0",
"react-admin": "^4.16.4",
"react-admin-firebase": "^4.1.3",
"react-async-hook": "^4.0.0",
"react-bootstrap": "^2.9.1",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.33.1",
"react-i18next": "^13.2.2",
"react-inlinesvg": "^3.0.1",
"react-instantsearch": "^7.12.4",
"react-is": "^18.2.0",
"react-markdown": "^8.0.4",
"react-overlays": "^5.1.1",
"react-query": "^3.39.3",
"react-redux": "^8.0.2",
"react-select": "^5.2.2",
"redux-mock-store": "^1.5.4",
"redux-thunk": "^3.1.0",
"runtypes": "6.5.1",
"sidebar-v2": "^0.4.0",
"styled-components": "^5.3.3",
"typesense": "^1.2.2",
"typesense-instantsearch-adapter": "^2.4.0",
"usehooks-ts": "^2.5.3",
"web-vitals": "^0.2.4",
"zod": "^3.20.2"
},
"devDependencies": {
"@babel/core": "^7.18.13",
"@playwright/test": "^1.43.1",
"@storybook/addon-actions": "^7.6.4",
"@storybook/addon-essentials": "^7.6.4",
"@storybook/addon-interactions": "^7.6.4",
"@storybook/addon-links": "^7.6.4",
"@storybook/nextjs": "^7.6.4",
"@storybook/react": "^7.6.4",
"@storybook/testing-library": "^0.2.2",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.1",
"@tsconfig/node16": "^1.0.2",
"@types/diff": "^5.0.2",
"@types/dompurify": "^2.3.3",
"@types/jest": "^27.4.0",
"@types/js-yaml": "^4.0.5",
"@types/lodash": "^4.14.178",
"@types/luxon": "^2.0.9",
"@types/marked": "^4.0.8",
"@types/mustache": "^4.2.1",
"@types/node": "^17.0.36",
"@types/papaparse": "^5.3.5",
"@types/react": "^18.2.43",
"@types/react-copy-to-clipboard": "^5.0.4",
"@types/react-dom": "^18.2.17",
"@types/redux-mock-store": "^1.0.6",
"@types/styled-components": "^5.1.21",
"all-contributors-cli": "^6.20.5",
"axios": "^0.27.2",
"babel-loader": "^9.1.3",
"chromatic": "^10.1.0",
"clsx": "^1.2.1",
"concurrently": "^7.0.0",
"eslint": "^8.7.0",
"eslint-config-next": "^14.0.4",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-i18next": "^6.0.3",
"eslint-plugin-jsx-a11y": "^6.9.0",
"firebase-admin": "^10",
"firebase-tools": "^11.16.0",
"ini": "^1.3.5",
"inquirer": "^6.5.1",
"jest": "^27.5.1",
"jest-environment-jsdom": "^27.5.1",
"jest-summary-reporter": "^0.0.2",
"js-yaml": "^4.1.0",
"lorem-ipsum": "^2.0.4",
"mustache": "^4.2.0",
"ncp": "^2.0.0",
"npm-check": "^6.0.1",
"prettier": "2.8.3",
"sass": "^1.49.0",
"storybook": "^7.6.4",
"ts-node": "^10.5.0",
"tsconfig-paths": "^4.1.2",
"typescript": "5.3.3",
"webpack": "^5.89.0",
"yargs": "^17.5.1"
},
"resolutions": {
"jackspeak": "2.1.1"
}
}