forked from ONEARMY/community-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
207 lines (207 loc) · 7.93 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
201
202
203
204
205
206
207
{
"name": "one-army-community-platform",
"repository": {
"type": "git",
"url": "https://github.com/ONEARMY/community-platform.git"
},
"workspaces": [
"functions",
"shared",
"packages/*",
"scripts"
],
"private": true,
"main": "lib/index.js",
"scripts": {
"start": "concurrently --kill-others --names themes,components,platform --prefix-colors cyan,blue,magenta \"yarn start:themes\" \"yarn start:components\" \"yarn start:platform\"",
"start:themes": "yarn workspace oa-themes dev",
"start:components": "yarn workspace oa-components dev",
"start:platform": "yarn build:shared && env-cmd -e cra yarn craco start",
"start:emulated": "concurrently --kill-others --names functions,themes,components,platform --prefix-colors yellow,cyan,blue,magenta \"yarn workspace functions start\" \"yarn start:themes\" \"yarn start:components\" \"cross-env PORT=4000 yarn start:platform\"",
"start:emulated:docker": "concurrently --names functions,themes,components,platform,emulators --prefix-colors yellow,cyan,blue,magenta,green --kill-others \"yarn workspace functions watch\" \"yarn start:themes\" \"yarn start:components\" \"cross-env PORT=4000 yarn start:platform\" \"yarn workspace oa-emulators-docker start\"",
"start:emulated:docker:local": "concurrently --names functions,themes,components,platform,emulators --prefix-colors yellow,cyan,blue,magenta,green --kill-others \"yarn workspace functions watch\" \"yarn start:themes\" \"yarn start:components\" \"cross-env PORT=4000 yarn start:platform\" \"yarn workspace oa-emulators-docker start --repo=\"",
"build:themes": "yarn workspace oa-themes build",
"build:components": "yarn workspace oa-components build",
"build:cra": "env-cmd -e cra craco build",
"build:post": "yarn workspace oa-scripts post-cra-build",
"build:inject-config": "yarn build:post",
"build:shared": "yarn workspace oa-shared build",
"build": "yarn build:themes && yarn build:components && yarn build:shared && yarn build:cra",
"eject": "react-scripts eject",
"lint": "yarn lint:style && yarn lint:code",
"lint:commits": " npx commitlint --from=$(git merge-base master HEAD) --verbose",
"lint:code": "eslint . --ext .js,.jsx,.ts,.tsx src --color",
"lint:spell": "cspell \"**/*.md\" --config ./.cspell.json",
"lint:style": "prettier --check '**/*.{md,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 '**/*.{md,json,js,tsx,ts}'",
"serve": "npx serve -s build",
"test": "yarn workspace oa-cypress start",
"test:components": "yarn workspace oa-components test-ci",
"test:unit": "yarn build:themes && yarn build:components && env-cmd -e cra craco test --env=jsdom --runInBand --logHeapUsage --coverage --reporters=default --reporters=jest-junit",
"test:madge": "npx madge --circular --extensions ts,tsx ./ --exclude src/stores",
"storybook": "yarn workspace oa-components start",
"storybook:build": "yarn build:themes && yarn workspace oa-components build:sb",
"docs": "yarn workspace oa-docs start",
"install:clean": "yarn workspace oa-scripts install:clean",
"postinstall": "husky install",
"commit": "git-cz",
"healthcheck": "node scripts/healthcheck.js"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"resolutions": {
"__note1__": "Pin react version consistently in all child workspaces",
"react": "17.0.2",
"@types/react": "17.0.2"
},
"dependencies": {
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.8.1",
"@sentry/react": "^6.15.0",
"@uppy/core": "^2.1.4",
"@uppy/dashboard": "^2.1.3",
"@uppy/react": "^2.1.2",
"countries-list": "^2.6.1",
"date-fns": "^3.3.0",
"debounce": "^1.2.0",
"dexie": "^3.2.4",
"dotenv": "^10.0.0",
"final-form": "4.20.2",
"final-form-arrays": "^3.0.2",
"final-form-calculate": "^1.3.2",
"firebase": "10.6.0",
"framer-motion": "^4.1.17",
"fs-extra": "^10.0.0",
"fuse.js": "^6.4.6",
"is-url": "^1.2.4",
"leaflet": "^1.5.1",
"leaflet.markercluster": "^1.4.1",
"mobx": "6.9.0",
"mobx-react": "7.6.0",
"oa-components": "workspace:*",
"oa-shared": "workspace:*",
"oa-themes": "workspace:*",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-dropzone": "^10.1.10",
"react-final-form": "6.5.3",
"react-final-form-arrays": "^3.1.3",
"react-foco": "^1.3.1",
"react-ga4": "^1.4.1",
"react-highlight-words": "^0.20.0",
"react-leaflet": "^2.5.0",
"react-leaflet-markercluster": "^2.0.0-rc3",
"react-router": "^6.20.1",
"react-router-dom": "^6.20.1",
"react-scripts": "5.0.1",
"react-virtualized": "9.22.5",
"rxjs": "^6.6.3",
"theme-ui": "^0.15.7",
"ts-node": "^10.4.0",
"tslog": "^4.9.2",
"yup": "^1.3.2"
},
"devDependencies": {
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@commitlint/cz-commitlint": "^16.2.3",
"@craco/craco": "^7.0.0",
"@craco/types": "^7.0.0",
"@faker-js/faker": "^8.4.1",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^14.4.3",
"@types/browser-image-compression": "^1.0.9",
"@types/flux-standard-action": "1.1.0",
"@types/jest": "^27.4.1",
"@types/node": "^20.8.0",
"@types/pubsub-js": "^1.5.18",
"@types/react": "17.0.2",
"@types/react-dom": "17.0.2",
"@types/react-leaflet": "^1.1.6",
"@types/react-leaflet-markercluster": "^2.0.0",
"@types/react-router-dom": "5.3.3",
"@types/react-select": "^2.0.17",
"@types/react-virtualized": "^9.21.10",
"@types/styled-system": "^5.1.11",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"all-contributors-cli": "^6.20.0",
"buffer": "^6.0.3",
"chai-subset": "^1.6.0",
"commitizen": "^4.2.4",
"concurrently": "^6.2.0",
"cross-env": "^7.0.3",
"cspell": "^6.1.0",
"env-cmd": "^10.1.0",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-mocha": "^10.2.0",
"eslint-plugin-prefer-arrow-functions": "^3.1.4",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-sort-class-members": "^1.18.0",
"eslint-plugin-unicorn": "^48.0.1",
"husky": "^7.0.4",
"idb": "^6.0.0",
"jest-junit": "^16.0.0",
"lint-staged": "^8.1.5",
"mobx-react-devtools": "^6.0.3",
"prettier": "2.5.1",
"react-dev-utils": "^11.0.4",
"resize-observer-polyfill": "^1.5.1",
"start-server-and-test": "^1.11.0",
"stream-browserify": "^3.0.0",
"terser": "3.14.1",
"ts-jest": "^29.1.2",
"ts-loader": "^7.0.5",
"typescript": "^5.1.6",
"wait-on": "^5.2.1",
"workbox-background-sync": "^6.1.5",
"workbox-broadcast-update": "^6.1.5",
"workbox-cacheable-response": "^6.1.5",
"workbox-core": "^6.1.5",
"workbox-expiration": "^6.1.5",
"workbox-google-analytics": "^6.1.5",
"workbox-navigation-preload": "^6.1.5",
"workbox-precaching": "^6.1.5",
"workbox-range-requests": "^6.1.5",
"workbox-recipes": "^6.1.5",
"workbox-routing": "^6.1.5",
"workbox-strategies": "^6.1.5",
"workbox-streams": "^6.1.5"
},
"dependenciesMeta": {
"cypress": {
"built": true
}
},
"engines": {
"npm": "please-use-yarn",
"node": ">=20"
},
"packageManager": "yarn@3.6.4"
}