-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
174 lines (174 loc) · 6.02 KB
/
Copy pathpackage.json
File metadata and controls
174 lines (174 loc) · 6.02 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
{
"name": "@events-helsinki/components",
"version": "1.0.0",
"homepage": "https://github.com/City-of-Helsinki/events-helsinki-monorepo",
"repository": {
"type": "git",
"url": "https://github.com/City-of-Helsinki/events-helsinki-monorepo",
"directory": "packages/components"
},
"license": "MIT",
"author": {
"name": "Jaakko Nenonen <jaakko@codelicious.fi>"
},
"type": "module",
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.esm.js",
"source": "src/index.ts",
"types": "dist/index.d.ts",
"scripts": {
"build": "rimraf --no-glob ./dist && cross-env NODE_ENV=production microbundle --tsconfig ./tsconfig.build.json --jsx React.createElement --jsxFragment React.Fragment -f cjs,es --no-compress",
"build-react17jsx": "microbundle --tsconfig ./tsconfig.build.json --jsx jsx --jsxImportSource react --globals react/jsx-runtime=jsx --compress",
"build-storybook": "storybook build",
"clean": "rimraf --no-glob ./dist ./build ./tsconfig.tsbuildinfo ./node_modules/.cache",
"dev": "microbundle watch --tsconfig ./tsconfig.build.json",
"lint": "eslint . --ext .ts,.tsx,.js,.jsx,.cjs,.mjs --cache --cache-location ../../.cache/eslint/components.eslintcache",
"lint-fix": "eslint . --ext .ts,.tsx,.js,.jsx,.cjs,.mjs --fix",
"publish-canary": "node ../../scripts/publish-canary.js",
"publish-stable": "yarn build && node ../../scripts/publish-stable.js",
"serve-storybook": "sirv build/storybook --cors --port 8888",
"storybook": "storybook dev -p 6006",
"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-watch": "vitest watch --ui",
"typecheck": "tsc --project ./tsconfig.json --noEmit"
},
"dependencies": {
"@apollo/client": "^3.11.10",
"@changey/react-leaflet-markercluster": "4.0.0-rc1",
"@city-of-helsinki/react-helsinki-headless-cms": "3.0.1",
"@jonkoops/matomo-tracker-react": "0.7.0",
"@next/env": "15.5.5",
"@react-leaflet/core": "2.1.0",
"@sentry/browser": "9.38.0",
"@types/file-saver": "^2.0.7",
"@types/react-datepicker": "^7.0.0",
"chalk": "5.4.1",
"classnames": "^2.5.1",
"copy-to-clipboard": "^3.3.3",
"cross-fetch": "^4.1.0",
"date-fns": "^4.1.0",
"date-fns-tz": "^3.2.0",
"fast-deep-equal": "3.1.3",
"file-saver": "^2.0.5",
"graphql": "^16.11.0",
"graphql-request": "7.2.0",
"graphql-tag": "2.12.6",
"hds-core": "4.8.1",
"hds-design-tokens": "4.8.1",
"hds-react": "4.8.1",
"https": "1.0.0",
"i18next": "25.3.2",
"i18next-browser-languagedetector": "8.2.0",
"i18next-http-backend": "3.0.2",
"ics": "^3.8.1",
"jsdom": "26.1.0",
"leaflet": "1.9.4",
"leaflet.markercluster": "1.5.3",
"lodash": "4.17.21",
"next": "15.5.7",
"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-i18next": "15.6.0",
"react-leaflet": "4.2.1",
"react-toastify": "^11.0.5",
"sanitize-html": "^2.17.0"
},
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/preset-env": "^7.28.5",
"@babel/preset-react": "7.27.1",
"@babel/preset-typescript": "7.27.1",
"@events-helsinki/common-i18n": "workspace:^",
"@events-helsinki/common-tests": "workspace:^",
"@events-helsinki/eslint-config-bases": "workspace:^",
"@faker-js/faker": "^9.9.0",
"@graphql-codegen/cli": "5.0.7",
"@mdx-js/react": "1.6.22",
"@storybook/addon-docs": "^9.0.17",
"@storybook/addon-onboarding": "^9.0.17",
"@storybook/nextjs": "^9.0.17",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.6.1",
"@types/leaflet": "1.9.20",
"@types/node": "22.18.9",
"@types/react": "18.3.1",
"@types/react-dom": "18.3.1",
"@types/react-leaflet-markercluster": "4.2.1",
"@types/sanitize-html": "^2.16.0",
"@typescript-eslint/parser": "^8.37.0",
"@vitejs/plugin-react": "4.7.0",
"@vitest/coverage-v8": "3.2.4",
"@vitest/eslint-plugin": "1.4.1",
"@vitest/ui": "3.2.4",
"autoprefixer": "10.4.21",
"babel-eslint": "^10.1.0",
"babel-loader": "10.0.0",
"babel-plugin-macros": "3.1.0",
"babel-plugin-polyfill-corejs3": "0.13.0",
"change-case-all": "2.1.0",
"core-js": "3.44.0",
"cross-env": "7.0.3",
"crypto-browserify": "3.12.1",
"csstype": "3.1.3",
"dequal": "2.0.3",
"dompurify": "3.2.6",
"eslint": "9.31.0",
"eslint-config-next": "15.5.5",
"eslint-plugin-storybook": "^9.0.17",
"globals": "16.3.0",
"html-react-parser": "5.2.5",
"identity-obj-proxy": "^3.0.0",
"jest-date-mock": "^1.0.10",
"microbundle": "0.15.1",
"next-router-mock": "^1.0.2",
"npm-run-all": "4.1.5",
"prettier": "^3.6.2",
"require-from-string": "2.0.2",
"rimraf": "6.0.1",
"rooks": "8.1.0",
"sass": "^1.89.2",
"sirv": "3.0.1",
"sirv-cli": "3.0.1",
"storybook": "^9.0.17",
"stylelint": "16.21.1",
"stylelint-config-prettier": "9.0.5",
"stylelint-config-standard": "38.0.0",
"tsconfig-paths-webpack-plugin": "4.2.0",
"typescript": "5.8.3",
"vite": "7.2.1",
"vitest": "3.2.4",
"vitest-axe": "0.1.0",
"vitest-indexeddb": "0.0.0",
"vitest-sonar-reporter": "2.0.4",
"waait": "^1.0.5",
"webpack": "5.100.1"
},
"peerDependencies": {
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"@types/react-dom": {
"optional": true
}
},
"./package.json": "./package.json"
}