-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
136 lines (136 loc) · 5.01 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
{
"name": "t-performance-dash",
"version": "4.2.0",
"private": true,
"homepage": ".",
"scripts": {
"build": "next build && rm -rf build/static/slowzones",
"build-storybook": "storybook build",
"eject": "react-scripts eject",
"generate-oss-list": "generate-attribution --outputDir common/constants/licenses",
"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",
"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 && poetry 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 && poetry install",
"lint": "npm run lint-frontend && npm run lint-backend",
"lint-backend": "cd server && poetry run flake8 && poetry run black . --check",
"lint-frontend": "tsc --noEmit && eslint . && next lint",
"serve-static": "npm run build && serve out",
"start": "concurrently npm:start-python npm:start-react",
"start-python": "cd server && poetry 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"
]
},
"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.64.2",
"@tanstack/react-query-devtools": "^5.64.2",
"@tippyjs/react": "^4.2.6",
"@transitmatters/stripmap": "^0.1.12",
"bezier-js": "^6.1.4",
"chart.js": "4.4.7",
"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.1.2",
"date-fns": "^3.6.0",
"dayjs": "^1.11.13",
"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.1.6",
"next-goatcounter": "^1.0.6",
"oss-attribution-generator": "^1.7.1",
"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.26.7",
"@babel/preset-env": "^7.26.7",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@storybook/addon-actions": "^8.5.1",
"@storybook/addon-essentials": "^8.5.1",
"@storybook/addon-interactions": "^8.5.1",
"@storybook/addon-links": "^8.5.1",
"@storybook/nextjs": "^8.5.1",
"@storybook/react": "^8.5.1",
"@storybook/testing-library": "^0.2.2",
"@tailwindcss/forms": "^0.5.10",
"@types/bezier-js": "^4.1.3",
"@types/color": "^4.2.0",
"@types/lodash": "^4.17.14",
"@types/node": "^20.12.7",
"@types/react": "^18.3.12",
"@types/react-csv": "^1.1.10",
"@types/react-flatpickr": "^3.8.11",
"@typescript-eslint/eslint-plugin": "^8.21.0",
"@typescript-eslint/parser": "^8.21.0",
"ajv": "^8.17.1",
"ajv-keywords": "^5.1.0",
"autoprefixer": "^10.4.20",
"babel-plugin-inline-react-svg": "^2.0.2",
"eslint": "^8.57.0",
"eslint-config-next": "15.1.6",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-storybook": "^0.11.1",
"eslint-plugin-unicorn": "^56.0.1",
"eslint-plugin-unused-imports": "^4.1.4",
"postcss": "^8.5.1",
"prettier": "^3.4.2",
"prettier-plugin-tailwindcss": "^0.6.11",
"serve": "^14.2.4",
"storybook": "^8.5.1",
"tailwindcss": "^3.4.15",
"typescript": "~5.7.3"
},
"engines": {
"node": ">=20.12.0",
"npm": ">=10.2.0"
},
"overrides": {
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.0c3f3b7.0"
},
"proxy": "http://localhost:5000"
}