-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
214 lines (214 loc) · 8.03 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
208
209
210
211
212
213
214
{
"name": "matters-web",
"version": "5.6.6",
"description": "codebase of Matters' website",
"author": "Matters <[email protected]>",
"engines": {
"node": ">=16.14 <19.0"
},
"license": "Apache-2.0",
"sideEffects": false,
"scripts": {
"dev": "PORT=\"${PORT:-3000}\"; cross-env NODE_OPTIONS='--no-experimental-fetch --heapsnapshot-signal=SIGUSR2' next -p $PORT",
"test": "concurrently -c \"auto\" \"npm run test:unit\" \"npm run test:e2e\"",
"test:e2e": "playwright test",
"test:e2e:prepare": "playwright install --with-deps",
"test:unit": "vitest run",
"test:unit:coverage": "vitest run --coverage",
"test:unit:report": "vitest --ui --coverage.enabled=true",
"start": "PORT=\"${PORT:-3000}\"; cross-env NODE_OPTIONS='--no-experimental-fetch --heapsnapshot-signal=SIGUSR2' next start -p $PORT",
"build": "npm run i18n && NODE_ENV=production next build",
"export": "next export",
"format": "prettier --write \"{,!(.next|build|node_modules|coverage|out|lang)/**/*.{js,jsx,ts,tsx,json}}\"",
"format:check": "npm run format -- --list-different",
"lint": "concurrently -c \"auto\" \"npm run lint:ts\" \"npm run lint:css\"",
"lint:ts": "tsc --project tsconfig.json --noEmit && next lint",
"lint:ts:fix": "next lint --fix",
"lint:css": "stylelint 'src/**/*.css'",
"analyze": "ANALYZE=true next build",
"gen:type": "GRAPHQL_SCHEMA_URL=https://server-develop.matters.town/graphql graphql-codegen --config codegen.ts",
"gen:type:prod": "GRAPHQL_SCHEMA_URL=https://server.matters.town/graphql graphql-codegen --config codegen.ts",
"gen:fragmentTypes": "node bin/buildFragmentTypes.js",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"prepare": "husky install",
"vercel-build": "set -xe; npm run gen:type && if [[ \"$NEXT_PUBLIC_VERCEL_GIT_COMMIT_REF\" =~ release/* ]] ; then cp -va .env.prod .env.local ; echo 'NEXT_PUBLIC_SITE_DOMAIN=web-next.matters.town' | tee -a .env.local; else cp -va .env.dev .env.local ; echo 'NEXT_PUBLIC_SITE_DOMAIN=web-dev.matters.town' | tee -a .env.local ; fi && { echo 'NEXT_PUBLIC_NEXT_ASSET_DOMAIN='; echo 'NEXT_PUBLIC_ADMIN_VIEW=true'; } | tee -a .env.local && npm run build",
"i18n:extract": "formatjs extract 'src/**/*.ts*' --ignore='**/*.d.ts' --id-interpolation-pattern '[sha512:contenthash:base64:6]' --out-file lang/default.json",
"i18n:generate": "node bin/i18nGenerate.js",
"i18n:compile": "formatjs compile-folder --ast lang compiled-lang",
"i18n": "npm run i18n:extract && npm run i18n:generate && npm run i18n:compile"
},
"dependencies": {
"@apollo/react-common": "^3.1.3",
"@apollo/react-hooks": "^3.1.3",
"@apollo/react-ssr": "^3.1.3",
"@artsy/fresnel": "^6.1.0",
"@ensdomains/content-hash": "^2.5.7",
"@matters/apollo-upload-client": "^11.1.0",
"@matters/matters-editor": "^0.3.1",
"@next/bundle-analyzer": "^13.4.9",
"@reach/alert": "^0.18.0",
"@reach/dialog": "^0.18.0",
"@reach/visually-hidden": "^0.18.0",
"@sentry/browser": "^7.57.0",
"@storybook/addon-styling-webpack": "^0.0.5",
"@stripe/react-stripe-js": "^2.1.1",
"@stripe/stripe-js": "^1.54.1",
"@tippyjs/react": "^4.2.6",
"@use-gesture/react": "^10.3.1",
"apollo-cache-inmemory": "^1.6.6",
"apollo-client": "^2.6.10",
"apollo-link": "^1.2.14",
"apollo-link-context": "^1.0.20",
"apollo-link-error": "^1.1.13",
"apollo-link-persisted-queries": "^0.2.5",
"apollo-utilities": "^1.3.4",
"autosize": "^6.0.1",
"classnames": "^2.3.2",
"clipboard-polyfill": "^4.0.2",
"colorthief": "^2.4.0",
"cross-env": "^7.0.3",
"d3-array": "^2.12.1",
"d3-axis": "^2.1.0",
"d3-ease": "^2.0.0",
"d3-format": "^2.0.0",
"d3-interpolate": "^3.0.1",
"d3-scale": "^4.0.2",
"d3-selection": "^2.0.0",
"d3-shape": "^2.1.0",
"d3-time-format": "^2.3.0",
"d3-transition": "^3.0.1",
"date-fns": "^3.6.0",
"date-fns-tz": "^3.1.3",
"embla-carousel-react": "^7.1.0",
"express": "^4.17.1",
"file-type": "^16.5.4",
"fingerprintjs2": "^2.1.4",
"firebase": "^10.12.4",
"formik": "^2.4.2",
"graphql": "^14.7.0",
"graphql-tag": "^2.12.6",
"husky": "^8.0.3",
"js-base64": "^3.7.5",
"js-cookie": "^3.0.5",
"jump.js": "^1.0.2",
"lodash": "^4.17.21",
"lottie-react": "^2.4.0",
"next": "^12.3.2",
"next-pwa": "^5.6.0",
"next-seo": "^6.5.0",
"next-with-apollo": "^5.3.0",
"nprogress": "^0.2.0",
"number-precision": "^1.6.0",
"path-to-regexp": "^6.2.1",
"photoswipe": "^5.4.4",
"react": "^17.0.2",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "^17.0.2",
"react-focus-lock": "^2.9.4",
"react-hot-toast": "^2.4.1",
"react-intl": "^6.4.4",
"react-markdown": "^8.0.7",
"react-movable": "^3.0.4",
"react-photoswipe-gallery": "^3.0.1",
"react-spring": "^9.7.2",
"react-stickynode": "^4.1.1",
"url-loader": "^4.1.1",
"use-debounce": "^9.0.4",
"validator": "^13.11.0",
"viem": "^1.21.4",
"wagmi": "^1.4.13"
},
"devDependencies": {
"@apollo/react-testing": "^3.1.3",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.22.20",
"@csstools/postcss-global-data": "^2.0.0",
"@formatjs/cli": "^6.1.3",
"@graphql-codegen/cli": "3.3.1",
"@graphql-codegen/client-preset": "3.0.1",
"@playwright/test": "^1.35.1",
"@storybook/addon-a11y": "^7.6.1",
"@storybook/addon-actions": "^7.6.1",
"@storybook/addon-essentials": "^7.6.1",
"@storybook/addon-links": "^7.6.1",
"@storybook/addon-mdx-gfm": "^7.6.1",
"@storybook/nextjs": "^7.6.1",
"@storybook/react": "^7.6.1",
"@svgr/webpack": "^8.0.1",
"@synthetixio/synpress": "^3.7.1",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.1",
"@types/autosize": "^4.0.1",
"@types/d3": "^7.0.0",
"@types/express": "^4.17.9",
"@types/fingerprintjs2": "^2.0.0",
"@types/js-cookie": "^3.0.3",
"@types/jump.js": "^1.0.4",
"@types/lodash": "^4.14.195",
"@types/nprogress": "0.2.0",
"@types/react": "^18.0.26",
"@types/react-beautiful-dnd": "^13.1.4",
"@types/react-dom": "^18.0.10",
"@types/react-responsive": "^8.0.5",
"@types/react-stickynode": "^4.0.0",
"@types/react-window": "^1.8.5",
"@types/segment-analytics": "0.0.34",
"@types/validator": "^13.7.17",
"@types/webpack-env": "^1.18.1",
"@vitejs/plugin-react": "^4.1.0",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/ui": "^0.34.6",
"babel-loader": "^9.1.3",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-polyfill": "^6.26.0",
"concurrently": "^8.2.2",
"css-has-pseudo": "^6.0.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.47.0",
"eslint-config-next": "^13.4.9",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-formatjs": "^4.10.3",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-testing-library": "^6.1.0",
"file-loader": "^6.2.0",
"jsdom": "^22.1.0",
"lorem-ipsum": "^2.0.8",
"next-router-mock": "^0.9.10",
"postcss-calc": "^9.0.1",
"postcss-color-function": "^4.1.0",
"postcss-mixins": "^9.0.4",
"postcss-preset-env": "^9.0.0",
"prettier": "^3.0.0",
"storybook": "^7.6.1",
"storybook-css-modules": "^1.0.8",
"stylelint": "^15.10.1",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recess-order": "^4.2.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-prettier": "^4.0.0",
"typescript": "^5.1.6",
"vite-plugin-svgr": "^3.3.0",
"vitest": "^0.34.6",
"vitest-canvas-mock": "^0.3.3",
"webpack-merge": "^5.9.0"
},
"overrides": {
"@synthetixio/synpress": {
"@adraffy/ens-normalize": "^1.9.1"
}
},
"prettier": {
"singleQuote": true,
"semi": false,
"trailingComma": "es5"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}