-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
165 lines (165 loc) · 7 KB
/
Copy pathpackage.json
File metadata and controls
165 lines (165 loc) · 7 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
{
"name": "events-helsinki",
"version": "1.25.0",
"private": true,
"type": "module",
"scripts": {
"?share-static-hardlink": "echo 'Use this command to link assets... from shared static folder'",
"?share-static-symlink": "echo 'Use this command to link assets... from shared static folder'",
"?test:browser": "echo 'Run browser-tests locally. You need to have production build of the application running locally (yarn build & yarn start)",
"build": "next build",
"build-fast": "cross-env NEXTJS_IGNORE_TYPECHECK=1 NEXTJS_IGNORE_ESLINT=1 NEXTJS_DISABLE_SENTRY=1 NEXTJS_SENTRY_UPLOAD_DRY_RUN=1 next build",
"bundle-analyze": "cross-env ANALYZE=true NEXTJS_IGNORE_TYPECHECK=1 NEXTJS_IGNORE_ESLINT=1 NEXTJS_SENTRY_UPLOAD_DRY_RUN=1 yarn build",
"check-dist": "es-check -v",
"check-size": "size-limit --highlight-less",
"clean": "rimraf --no-glob ./.next ./out ./coverage ./tsconfig.tsbuildinfo",
"dev": "next dev",
"docker:build": "cross-env DOCKER_BUILDKIT=1 docker compose -f docker-compose.yml build --progress=tty runner",
"docker:develop": "cross-env DOCKER_BUILDKIT=1 docker compose -f ./docker-compose.yml up",
"docker:develop:reinstall": "cross-env DOCKER_BUILDKIT=1 docker compose -f docker-compose.yml build --progress=tty --no-cache --force-rm develop",
"docker:install": "docker buildx bake -f docker-compose.events.yml --progress=tty deps",
"docker:prune-cache": "docker buildx prune",
"docker:serve": "docker compose -f docker-compose.yml --env-file .env up runner",
"generate:graphql": "DOTENV_CONFIG_PATH=./.env.local graphql-codegen -r dotenv/config --config ../../packages/components/codegen.ts",
"get-translations": "node ./scripts/get-translations.js",
"lint": "eslint . --ext .ts,.tsx,.js,.jsx,.cjs,.mjs,.mdx,.graphql --cache --cache-location ../../.cache/eslint/events-helsinki.eslintcache",
"lint-fix": "eslint . --ext .ts,.tsx,.js,.jsx,.cjs,.mjs,.mdx,.graphql --fix",
"pre-commit": "next lint --fix",
"prepare": "husky",
"share-static-hardlink": "rimraf ./public/shared-assets && syncdir ../../static/assets ./public/shared-assets --copy",
"share-static-symlink": "rimraf ./public/shared-assets && symlink-dir ../../static/assets ./public/shared-assets",
"start": "next start",
"test": "cross-env TZ=Europe/Helsinki vitest run",
"test:changed": "yarn test --changed",
"test:coverage": "yarn test --coverage",
"test:debug": "yarn test --inspect-brk ----no-file-parallelism",
"test:staged": "cross-env TZ=Europe/Helsinki vitest related --run",
"test:watch": "cross-env TZ=Europe/Helsinki vitest watch",
"test:browser": "testcafe \"chrome --window-size='1249,720'\" browser-tests/ --live --dev",
"test:browser:ci": "testcafe \"chrome:headless --disable-gpu --window-size='1249,720'\" --screenshots path=report takeOnFails=true --video report browser-tests/",
"test:browser:wsl2win": "testcafe 'path:`/mnt/c/Program Files/Google/Chrome/Application/chrome.exe`' browser-tests/ --live --dev",
"typecheck": "tsc --project ./tsconfig.json --noEmit",
"vercel-build": "yarn share-static-hardlink && next build"
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all"
],
"dependencies": {
"@apollo/client": "^3.11.10",
"@events-helsinki/common-i18n": "workspace:^",
"@events-helsinki/components": "workspace:^",
"@sentry/browser": "9.38.0",
"@sentry/nextjs": "9.38.0",
"@sentry/react": "9.38.0",
"@svgr/webpack": "8.1.0",
"@types/jsdom": "21.1.7",
"@types/lodash": "^4.17.20",
"classnames": "^2.5.1",
"copy-to-clipboard": "^3.3.3",
"csstype": "3.1.3",
"date-fns": "^4.1.0",
"date-fns-tz": "^3.2.0",
"dotenv": "^17.2.0",
"file-saver": "^2.0.5",
"graphql": "^16.11.0",
"graphql-request": "7.2.0",
"hds-react": "^3.11.0",
"i18next": "25.3.2",
"ics": "^3.8.1",
"lodash": "4.17.21",
"msw": "^2.10.4",
"next": "14.2.30",
"next-i18next": "15.4.2",
"postcss": "^8.5.6",
"query-string": "^9.2.2",
"react": "18.3.1",
"react-content-loader": "^7.1.1",
"react-datepicker": "^8.4.0",
"react-dom": "18.3.1",
"react-error-boundary": "4.0.10",
"react-helsinki-headless-cms": "1.0.2",
"react-i18next": "15.6.0",
"react-scroll": "^1.9.3",
"react-toastify": "^11.0.5",
"sanitize-html": "^2.17.0"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@events-helsinki/common-tests": "workspace:^",
"@events-helsinki/eslint-config-bases": "workspace:^",
"@faker-js/faker": "^9.9.0",
"@ffmpeg-installer/ffmpeg": "^1.1.0",
"@graphql-codegen/cli": "5.0.7",
"@graphql-codegen/introspection": "^4.0.3",
"@graphql-codegen/typescript": "4.1.6",
"@graphql-codegen/typescript-operations": "4.6.1",
"@graphql-codegen/typescript-react-apollo": "4.3.3",
"@graphql-codegen/typescript-resolvers": "^4.5.1",
"@next/env": "15.4.1",
"@next/eslint-plugin-next": "15.4.1",
"@size-limit/file": "11.2.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/testcafe": "^5.0.1",
"@testing-library/user-event": "^14.6.1",
"@types/file-saver": "^2.0.7",
"@types/node": "20.19.1",
"@types/react": "18.3.1",
"@types/react-datepicker": "^7.0.0",
"@types/react-dom": "18.3.1",
"@types/react-helmet": "^6.1.11",
"@types/react-scroll": "^1.8.10",
"@types/sanitize-html": "^2.16.0",
"@typescript-eslint/eslint-plugin": "^8.37.0",
"@typescript-eslint/parser": "^8.37.0",
"@vitejs/plugin-react": "4.6.0",
"@vitest/coverage-v8": "3.2.4",
"@vitest/eslint-plugin": "1.3.4",
"@vitest/ui": "3.2.4",
"change-case-all": "2.1.0",
"cross-env": "7.0.3",
"es-check": "9.1.4",
"esbuild": "0.25.6",
"eslint": "9.31.0",
"eslint-config-next": "15.4.1",
"eslint-config-prettier": "^10.1.5",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.5.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-regexp": "^2.9.0",
"eslint-plugin-sonarjs": "^3.0.4",
"eslint-plugin-testcafe-community": "2.0.0",
"eslint-plugin-testing-library": "^7.6.0",
"graphql-tag": "2.12.6",
"husky": "^9.1.7",
"identity-obj-proxy": "^3.0.0",
"jest-date-mock": "^1.0.10",
"k6": "0.0.0",
"next-router-mock": "^1.0.2",
"picocolors": "1.1.1",
"postcss-flexbugs-fixes": "5.0.2",
"postcss-preset-env": "10.2.4",
"prettier": "^3.6.2",
"require-from-string": "2.0.2",
"rimraf": "6.0.1",
"sass": "^1.89.2",
"size-limit": "11.2.0",
"symlink-dir": "6.0.5",
"sync-directory": "6.0.5",
"testcafe": "^3.7.2",
"typescript": "5.8.3",
"vite": "7.0.4",
"vite-plugin-css-injected-by-js": "3.5.2",
"vitest": "3.2.4",
"vitest-axe": "0.1.0",
"waait": "^1.0.5",
"webpack": "5.100.1"
}
}