forked from ONEARMY/community-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
186 lines (186 loc) · 6.56 KB
/
package.json
File metadata and controls
186 lines (186 loc) · 6.56 KB
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
{
"name": "one-army-community-platform",
"repository": {
"type": "git",
"url": "https://github.com/ONEARMY/community-platform.git"
},
"workspaces": [
"shared",
"packages/*",
"scripts"
],
"private": true,
"main": "lib/index.js",
"type": "module",
"scripts": {
"start": "concurrently --kill-others --names shared,themes,components,platform --prefix-colors cyan,blue,magenta \"yarn start:shared\" \"yarn start:themes\" \"yarn start:components\" \"yarn start:platform\"",
"start-ci": "concurrently --kill-others --names shared,themes,components,platform --prefix-colors cyan,blue,magenta \"yarn start:themes\" \"yarn start:components\" \"yarn start:platform-ci\"",
"start:themes": "yarn workspace oa-themes dev",
"start:components": "yarn workspace oa-components dev",
"start:shared": "yarn workspace oa-shared dev",
"start:prod": "yarn build:shared && yarn build:themes && yarn build:components && node ./server.js",
"start:platform": "yarn build:shared && node ./server.js",
"start:platform-ci": "yarn build:shared && cross-env NODE_ENV=production node ./server.js",
"build:themes": "yarn workspace oa-themes build",
"build:components": "yarn workspace oa-components build",
"build:vite": "react-router build",
"build:shared": "yarn workspace oa-shared build",
"build": "yarn build:shared && yarn build:themes && yarn build:components && yarn build:vite",
"lint": "yarn lint:code",
"lint:code": "eslint . --ext .js,.jsx,.ts,.tsx src --color",
"lint:style": "prettier --check '**/*.{json,js,tsx,ts}'",
"format": "yarn format:code && yarn format:style",
"format:code": "eslint . --ext .js,.jsx,.ts,.tsx src --color --fix",
"format:style": "prettier --write '**/*.{json,js,tsx,ts}'",
"serve": "npx serve -s build",
"test": "yarn workspace oa-cypress start",
"test:components": "yarn build:shared && yarn build:themes && yarn build:components && yarn workspace oa-components test",
"test:unit": "yarn build:themes && yarn build:components && vitest",
"test:madge": "npx madge --circular --extensions ts,tsx ./ --exclude src/stores",
"storybook": "yarn workspace oa-components start",
"storybook:build": "yarn build:shared && yarn build:themes && yarn workspace oa-components build:sb",
"docs": "yarn workspace oa-docs start",
"db:reset": "npx supabase db reset && yarn db:seed",
"db:seed": "npx @snaplet/seed sync && npx tsx seed.ts > seed.sql",
"commit": "git-cz",
"prepare": "husky"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all",
"iOS >= 15",
"safari >= 15"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version",
"iOS >= 15"
]
},
"resolutions": {
"__note1__": "Pin react version consistently in all child workspaces",
"react": "19.2.1",
"@types/react": "19.2.7"
},
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.14.1",
"@react-email/components": "0.3.3",
"@react-router/express": "^7.10.1",
"@react-router/fs-routes": "^7.10.1",
"@react-router/node": "^7.10.1",
"@sentry/react": "10.29.0",
"@sentry/react-router": "^10.29.0",
"@supabase/ssr": "^0.7.0",
"@supabase/supabase-js": "^2.76.1",
"@uppy/core": "^5.2.0",
"@uppy/dashboard": "^5.1.0",
"@uppy/drag-drop": "^5.1.0",
"@uppy/file-input": "^4.2.2",
"@uppy/progress-bar": "^4.3.2",
"@uppy/react": "^5.1.1",
"canvas-confetti": "^1.9.3",
"compression": "^1.8.1",
"countries-list": "^3.2.2",
"country-to-iso": "^1.6.1",
"date-fns": "^4.1.0",
"debounce": "^3.0.0",
"dotenv": "^17.2.0",
"express": "^4.19.2",
"final-form": "4.20.2",
"final-form-arrays": "^3.0.2",
"helmet": "^7.1.0",
"isbot": "^5.1.13",
"jsonwebtoken": "^9.0.2",
"keyv": "^5.1.2",
"leaflet": "^1.5.1",
"leaflet.markercluster": "^1.4.1",
"marked": "^17.0.1",
"mobx": "6.15.0",
"mobx-react": "9.2.1",
"oa-components": "workspace:*",
"oa-shared": "workspace:*",
"oa-themes": "workspace:*",
"react": "19.2.1",
"react-country-flag": "^3.1.0",
"react-dom": "19.2.1",
"react-dropzone-esm": "^15.2.0",
"react-final-form": "6.5.3",
"react-final-form-arrays": "^3.1.3",
"react-ga4": "^2.1.0",
"react-highlight-words": "^0.21.0",
"react-leaflet": "^2.5.0",
"react-leaflet-markercluster": "^2.0.0-rc3",
"react-router": "^7.10.1",
"react-spring": "^10.0.3",
"react-tooltip": "^5.30.0",
"remix-utils": "^9.0.0",
"resend": "6.5.2",
"theme-ui": "^0.17.2",
"tslog": "^4.10.2",
"yup": "^1.7.1"
},
"devDependencies": {
"@faker-js/faker": "^10.1.0",
"@react-router/dev": "^7.10.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@snaplet/copycat": "^6.0.0",
"@snaplet/seed": "0.98.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/canvas-confetti": "^1",
"@types/jsonwebtoken": "^9",
"@types/node": "^22.18.0",
"@types/pg": "^8.11.11",
"@types/react": "19.2.7",
"@types/react-dom": "19.2.3",
"@types/react-leaflet": "^1.1.6",
"@types/react-leaflet-markercluster": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^8.41.0",
"@typescript-eslint/parser": "^8.41.0",
"@vitejs/plugin-react": "^5.1.1",
"all-contributors-cli": "^6.20.0",
"concurrently": "^6.2.0",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-cypress": "^3.3.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prefer-arrow-functions": "^3.3.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-sort-class-members": "^1.20.0",
"eslint-plugin-unicorn": "^53.0.0",
"eslint-plugin-vitest": "^0.5.4",
"husky": "^9.1.7",
"lint-staged": "^15.2.7",
"pg": "^8.13.3",
"prettier": "3.7.4",
"supabase": "2.53.6",
"tsx": "^4.20.3",
"typescript": "^5.7.2",
"vite": "^7.1.12",
"vite-plugin-env-compatible": "^2.0.1",
"vite-plugin-svgr": "^4.5.0",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^4.0.5"
},
"dependenciesMeta": {
"cypress": {
"built": true
}
},
"engines": {
"npm": "please-use-yarn",
"node": ">=22.18.0"
},
"packageManager": "yarn@4.5.1"
}