-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 3.72 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 3.72 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
{
"name": "safehome",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"fastapi-dev-COMMENT": "TODO: look into if && is cross-platform; if not, replace accordingly",
"fastapi-dev": "cd backend && uv sync --extra dev && uv run fastapi dev ../api/index.py",
"next-dev": "next dev",
"next-build": "next build",
"dev": "run-p next-dev fastapi-dev",
"build": "run-s lint gen:theme-typings next-build",
"start": "next start",
"lint": "eslint",
"lint:fix": "eslint --fix",
"format": "prettier --write .",
"test": "jest",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:debug": "playwright test --debug",
"test:e2e:report": "playwright show-report",
"dev-back": "run-s docker-front fastapi-dev",
"dev-front": "run-p dev-front-no-storybook storybook",
"dev-front-no-storybook": "npm-run-all gen:theme-typings docker-back --parallel next-dev \"gen:theme-typings -- --watch\"",
"docker-back": "docker compose up -d db db_test backend --build",
"docker-front": "docker compose up -d frontend --build",
"clean": "npm run clean-front",
"clean-back-COMMENT": "TODO: add a clean-up script for backend if necessary",
"clean-back": "",
"clean-front": "run-p \"rimraf .next\" \"rimraf node_modules\" \"cache-clean --force\"",
"install-deps": "npm install",
"cache-clean": "npm cache clean",
"rebuild": "npm run rebuild-front",
"rebuild-front": "run-s clean-front install-deps build",
"gen:theme-typings": "chakra typegen styles/theme.ts",
"gen:tokens-COMMENT": "WARNING: this is currently broken and only outputs a default theme that does not include our overrides in `theme.ts`; TODO: look into workarounds or consider contributing an enhancement upstream to Chakra UI",
"gen:tokens": "chakra eject",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"dependencies": {
"@chakra-ui/react": "^3.33.0",
"@emotion/react": "^11.14.0",
"@fontsource/inter": "^5.2.8",
"@mapbox/search-js-react": "^1.5.1",
"@storybook/addon-themes": "^10.2.10",
"@types/geojson": "^7946.0.16",
"@types/node": "^24.10.13",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"autoprefixer": "^10.4.24",
"framer-motion": "^12.34.2",
"mapbox-gl": "^3.18.1",
"next": "16.1.6",
"next-themes": "^0.4.6",
"postcss": "^8.5.6",
"posthog-js": "^1.351.1",
"react": "19.2.4",
"react-dom": "19.2.4",
"react-icons": "^5.5.0",
"typescript": "^5.9.3"
},
"devDependencies": {
"@chakra-ui/cli": "3.33.0",
"@chromatic-com/storybook": "^5.0.1",
"@playwright/test": "^1.58.2",
"@storybook/addon-a11y": "^10.2.10",
"@storybook/addon-docs": "^10.2.10",
"@storybook/addon-onboarding": "^10.2.10",
"@storybook/addon-vitest": "^10.2.10",
"@storybook/nextjs-vite": "^10.2.10",
"@svgr/webpack": "^8.1.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^30.0.0",
"@vitest/browser-playwright": "^4.0.18",
"@vitest/coverage-v8": "^4.0.18",
"babel-plugin-react-compiler": "^1.0.0",
"eslint": "^9.39.2",
"eslint-config-next": "^16.1.6",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-storybook": "^10.2.10",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"jiti": "^2.6.1",
"node-fetch": "^3.3.2",
"npm-run-all": "^4.1.5",
"playwright": "^1.58.2",
"prettier": "^3.8.1",
"rimraf": "^6.1.3",
"storybook": "^10.2.10",
"ts-node": "^10.9.2",
"vitest": "^4.0.18"
},
"engines": {
"node": ">=24.13.1"
}
}