-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
134 lines (134 loc) · 4.96 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
{
"name": "t-performance-dash",
"version": "4.1.1",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-regular-svg-icons": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/react-fontawesome": "^0.2.2",
"@headlessui/react": "^1.7.19",
"@heroicons/react": "^2.1.5",
"@svgr/webpack": "^8.1.0",
"@tanstack/react-query": "^5.54.1",
"@tanstack/react-query-devtools": "^5.54.1",
"@tippyjs/react": "^4.2.6",
"@transitmatters/stripmap": "^0.1.9",
"@types/react-flatpickr": "^3.8.11",
"bezier-js": "^6.1.4",
"chart.js": "4.4.3",
"chartjs-adapter-date-fns": "^3.0.0",
"chartjs-color": "^2.4.1",
"chartjs-plugin-annotation": "^3.0.1",
"chartjs-plugin-datalabels": "^2.2.0",
"chartjs-plugin-watermark": "^2.0.2",
"classnames": "^2.5.1",
"color": "^4.2.3",
"concurrently": "^8.2.2",
"date-fns": "^3.6.0",
"dayjs": "^1.11.13",
"fast-memoize": "^2.5.2",
"flowbite": "^2.5.1",
"flowbite-react": "^0.10.1",
"lodash": "^4.17.21",
"mini-css-extract-plugin": "^2.9.1",
"next": "14.2.7",
"next-goatcounter": "^1.0.5",
"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.0.13",
"react-flatpickr": "^3.10.13",
"react-lottie-player": "^2.1.0",
"react-responsive": "^10.0.0",
"zustand": "^4.5.5"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@storybook/addon-actions": "^8.2.9",
"@storybook/addon-essentials": "^8.2.9",
"@storybook/addon-interactions": "^8.2.9",
"@storybook/addon-links": "^8.2.9",
"@storybook/nextjs": "^8.2.9",
"@storybook/react": "^8.2.9",
"@storybook/testing-library": "^0.2.2",
"@tailwindcss/forms": "^0.5.8",
"@types/bezier-js": "^4.1.3",
"@types/color": "^3.0.6",
"@types/lodash": "^4.17.7",
"@types/node": "^20.12.7",
"@types/react": "^18.3.5",
"@types/react-csv": "^1.1.10",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"autoprefixer": "^10.4.20",
"babel-plugin-inline-react-svg": "^2.0.2",
"eslint": "^8.57.0",
"eslint-config-next": "14.2.7",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-storybook": "^0.8.0",
"eslint-plugin-unicorn": "^55.0.0",
"eslint-plugin-unused-imports": "^4.1.3",
"postcss": "^8.4.44",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.6",
"serve": "^14.2.3",
"storybook": "^8.2.9",
"tailwindcss": "^3.4.10",
"typescript": "~5.5.4"
},
"overrides": {
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.0c3f3b7.0"
},
"homepage": ".",
"scripts": {
"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",
"build": "next build && rm -rf build/static/slowzones",
"serve-static": "npm run build && serve out",
"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-sz-totals": "wget -N -x -nH -P public https://dashboard.transitmatters.org/static/slowzones/delay_totals.json",
"get-landing-trip-metrics": "wget -N -x -nH -P public https://dashboard.transitmatters.org/static/landing/trip_metrics.json",
"get-landing-ridership": "wget -N -x -nH -P public https://dashboard.transitmatters.org/static/landing/ridership.json",
"get-szs": "wget -N -x -nH -P public https://dashboard.transitmatters.org/static/slowzones/all_slow.json",
"get-speed-restrictions": "cd server && poetry run python -m scripts.update_speed_restrictions && cd ..",
"generate-oss-list": "generate-attribution --outputDir common/constants/licenses",
"lint": "npm run lint-frontend && npm run lint-backend",
"lint-frontend": "tsc --noEmit && eslint . && next lint",
"lint-backend": "cd server && poetry run flake8 && poetry run black . --check",
"test": "react-scripts test",
"eject": "react-scripts eject",
"postinstall": "cd server && poetry install",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"proxy": "http://localhost:5000",
"engines": {
"node": ">=20.12.0",
"npm": ">=10.2.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}