-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpackage.json
More file actions
144 lines (144 loc) · 5.37 KB
/
package.json
File metadata and controls
144 lines (144 loc) · 5.37 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
{
"name": "t-performance-dash",
"version": "4.3.0",
"private": true,
"homepage": ".",
"scripts": {
"build": "next build && rm -rf build/static/slowzones",
"build-storybook": "storybook build",
"eject": "react-scripts eject",
"generate-openapi": "cd server && uv run python -m scripts.generate_openapi && cd ..",
"generate-oss-list": "generate-attribution --outputDir common/constants/licenses",
"get-api-cache": "cd server && uv run python -m scripts.fetch_static_data && cd ..",
"get-data": "npm run get-sz-totals && npm run get-szs && npm run get-speed-restrictions && npm run get-landing-trip-metrics && npm run get-landing-ridership && npm run get-api-cache",
"get-landing-ridership": "wget -N -x -nH -P public https://dashboard.transitmatters.org/static/landing/ridership.json",
"get-landing-trip-metrics": "wget -N -x -nH -P public https://dashboard.transitmatters.org/static/landing/trip_metrics.json",
"get-speed-restrictions": "cd server && uv run python -m scripts.update_speed_restrictions && cd ..",
"get-sz-totals": "wget -N -x -nH -P public https://dashboard.transitmatters.org/static/slowzones/delay_totals.json",
"get-szs": "wget -N -x -nH -P public https://dashboard.transitmatters.org/static/slowzones/all_slow.json",
"postinstall": "cd server && uv sync",
"lint": "npm run lint-frontend && npm run lint-backend",
"lint-backend": "cd server && uv run ruff check . && uv run ruff format . --check",
"lint-backend-fix": "cd server && uv run ruff check . --fix && uv run ruff format .",
"lint-frontend": "tsc --noEmit && eslint .",
"lint-frontend-fix": "tsc --noEmit && eslint . --fix",
"serve-static": "npm run build && serve out",
"start": "concurrently npm:start-python npm:start-react",
"start-python": "cd server && uv run chalice local --port=5000",
"start-react": "npm run get-data && next dev",
"storybook": "storybook dev -p 6006",
"test": "react-scripts test"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"overrides": {
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.0c3f3b7.0"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.7.2",
"@fortawesome/free-regular-svg-icons": "^6.7.2",
"@fortawesome/free-solid-svg-icons": "^6.7.2",
"@fortawesome/react-fontawesome": "^0.2.2",
"@headlessui/react": "^1.7.19",
"@heroicons/react": "^2.2.0",
"@svgr/webpack": "^8.1.0",
"@tanstack/react-query": "^5.90.20",
"@tanstack/react-query-devtools": "^5.91.2",
"@tippyjs/react": "^4.2.6",
"@transitmatters/stripmap": "^0.1.15",
"bezier-js": "^6.1.4",
"chart.js": "4.5.1",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-color": "^2.4.1",
"chartjs-plugin-annotation": "^3.1.0",
"chartjs-plugin-datalabels": "^2.2.0",
"chartjs-plugin-watermark": "^2.0.2",
"classnames": "^2.5.1",
"color": "^4.2.3",
"concurrently": "^9.2.1",
"date-fns": "^3.6.0",
"dayjs": "^1.11.19",
"fast-memoize": "^2.5.2",
"flowbite": "^2.5.2",
"flowbite-react": "^0.10.2",
"lodash": "^4.17.21",
"mini-css-extract-plugin": "^2.9.2",
"next": "^15.5.9",
"next-goatcounter": "^1.0.6",
"npm-attribution-generator": "^2.0.0",
"patternomaly": "^1.3.2",
"react": "18.3.1",
"react-chartjs-2": "^5.2.0",
"react-csv": "^2.2.2",
"react-device-detect": "^2.2.3",
"react-dom": "18.3.1",
"react-error-boundary": "^4.1.2",
"react-flatpickr": "^3.10.13",
"react-lottie-player": "^2.1.0",
"react-responsive": "^10.0.0",
"zustand": "^4.5.5"
},
"devDependencies": {
"@babel/core": "^7.28.6",
"@babel/preset-env": "^7.28.6",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^10.0.1",
"@storybook/addon-docs": "^10.2.0",
"@storybook/addon-links": "^10.2.0",
"@storybook/nextjs": "^10.2.0",
"@storybook/react": "^10.2.0",
"@storybook/testing-library": "^0.2.2",
"@tailwindcss/forms": "^0.5.11",
"@types/bezier-js": "^4.1.3",
"@types/color": "^4.2.0",
"@types/lodash": "^4.17.23",
"@types/node": "^24.10.0",
"@types/react": "^18.3.12",
"@types/react-csv": "^1.1.10",
"@types/react-flatpickr": "^3.8.11",
"ajv": "^8.17.1",
"ajv-keywords": "^5.1.0",
"autoprefixer": "^10.4.20",
"babel-plugin-inline-react-svg": "^2.0.2",
"baseline-browser-mapping": "^2.9.18",
"eslint": "^9.39.2",
"eslint-config-next": "^15.5.9",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import-x": "^4.16.1",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-storybook": "^10.2.0",
"eslint-plugin-unused-imports": "^4.3.0",
"globals": "^17.3.0",
"postcss": "^8.5.6",
"prettier": "^3.8.1",
"prettier-plugin-tailwindcss": "^0.7.2",
"serve": "^14.2.5",
"storybook": "^10.2.0",
"tailwindcss": "^3.4.15",
"typescript": "~6.0",
"typescript-eslint": "^8.57.2"
},
"engines": {
"node": ">=24.12.0",
"npm": ">=11.0.0"
},
"volta": {
"node": "24.12.0"
},
"proxy": "http://localhost:5000"
}