-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
105 lines (105 loc) · 3.74 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
{
"name": "live-trains-finland",
"version": "0.1.0",
"private": true,
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@mui/lab": "^6.0.0-beta.23",
"@mui/material": "^6.4.1",
"@tanstack/react-query": "^5.64.2",
"@turf/distance": "^7.2.0",
"@types/autosuggest-highlight": "^3.2.3",
"@types/jest": "^29.5.14",
"@types/lodash": "^4.17.14",
"@types/node": "^22.10.10",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"autosuggest-highlight": "^3.3.4",
"date-fns": "^4.1.0",
"date-fns-tz": "^3.2.0",
"deck.gl": "^9.1.0",
"graphql": "^16.10.0",
"graphql-request": "^7.1.2",
"hsl-map-style": "github:HSLdevcom/hsl-map-style#master",
"i18next": "^24.2.1",
"i18next-browser-languagedetector": "^8.0.2",
"i18next-http-backend": "^3.0.2",
"lodash": "^4.17.21",
"maplibre-gl": "^4.7.1",
"mdi-material-ui": "^7.9.3",
"mqtt": "^5.10.3",
"next": "^15.1.6",
"nuqs": "^2.3.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-i18next": "^15.4.0",
"react-map-gl": "^7.1.8",
"react-reverse-portal": "^2.1.2",
"react-svg": "^16.2.0",
"react-transition-group": "^4.4.5",
"typescript": "^5.7.3",
"use-local-storage-state": "^19.5.0",
"zustand": "^5.0.3"
},
"overrides": {
"use-sync-external-store": {
"react": "$react",
"react-dom": "$react-dom"
},
"react-svg": {
"react": "$react",
"react-dom": "$react-dom"
},
"react-reverse-portal": {
"react": "$react",
"react-dom": "$react-dom"
}
},
"scripts": {
"dev": "next dev",
"build": "npm run extract-tiles && next build",
"start": "next start",
"test": "jest",
"lint": "next lint --max-warnings=0",
"lint:fix": "next lint --fix",
"type-check": "tsc --noEmit",
"extract-tiles-railway-tracks": "make-dir public/tiles && mbtiles-extractor --input=./data/railway_tracks.mbtiles --outputType=local --localOutDir=./public/tiles --tileDir=railway_tracks",
"extract-tiles-railway-platforms": "make-dir public/tiles && mbtiles-extractor --input=./data/railway_platforms.mbtiles --outputType=local --localOutDir=./public/tiles --tileDir=railway_platforms",
"extract-tiles": "npm run extract-tiles-railway-tracks && npm run extract-tiles-railway-platforms",
"digitransit-codegen": "graphql-codegen --require dotenv/config --config digitransit-codegen.yml dotenv_config_path=.env.local",
"digitraffic-codegen": "graphql-codegen --config digitraffic-codegen.yml",
"gql-codegen": "npm run digitransit-codegen && npm run digitraffic-codegen",
"generate-station-line-km-location-data": "ts-node -O \"{\\\"module\\\":\\\"commonjs\\\"}\" tools/generateStationLineKmLocationData.ts",
"generate-station-platform-data": "ts-node -O \"{\\\"module\\\":\\\"commonjs\\\"}\" tools/generateStationPlatformData.ts",
"prestart": "npm run gql-codegen",
"prepare": "is-ci || husky"
},
"browserslist": [
"defaults",
"not ie 11"
],
"devDependencies": {
"@cloudflare/workers-types": "^4.20250109.0",
"@graphql-codegen/cli": "^5.0.3",
"@graphql-codegen/client-preset": "^4.5.1",
"@svgr/webpack": "^8.1.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"dotenv": "^16.4.7",
"eslint-config-next": "^15.1.5",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import": "^2.31.0",
"husky": "^9.1.7",
"is-ci": "^4.1.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.4.1",
"make-dir-cli": "^4.0.0",
"mbtiles-extractor": "^0.1.1",
"workbox-webpack-plugin": "^7.3.0"
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --max-warnings=0 ./src"
}
}