-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 3.85 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
{
"name": "radschnellverbindungen.info",
"description": "The website for https://radschnellverbindungen.info.",
"version": "0.3.0",
"author": "FixMyCity <[email protected]>",
"license": "AGPL-3.0",
"scripts": {
"dev": "astro dev",
"start": "npm run dev",
"build": "astro build",
"build:local": "ASTRO_OUTPUT_MODE=static astro build",
"preview": "ASTRO_OUTPUT_MODE=static astro preview --open",
"astro": "astro",
"validateConfig": "bun run ./shared/configValidation/validate.ts",
"generate-types": "astro sync --verbose --force && npm run generate-types:highlightError",
"generate-types:highlightError": "echo -e '\\033[47;30mSHOW TYPES `any`\\033[0m' && cat ./.astro/astro/content.d.ts | grep -B 1 ': any'",
"generate-types:full": "astro sync --verbose && npm run generate-types:highlightError && echo -e '\\033[47;30mSHOW FULL GENERATED TYPE FILE\\033[0m' && cat ./.astro/astro/content.d.ts",
"type-check": "astro check && tsc --skipLibCheck --noEmit",
"lint": "eslint '{src,keystatic}/**/*.+(ts|js|tsx|astro)' --fix",
"format": "prettier --ignore-path .gitignore '{src,keystatic}/**/*.+(ts|js|tsx|astro)' --write",
"format:all": "prettier --ignore-path .gitignore '{src,keystatic}/**/*.+(ts|js|tsx|astro|mdx)' --write",
"check": "npm run type-check && npm run format && npm run lint",
"updatePackages:major": "npx taze major --includeLocked --write && npm install",
"updatePackages:minor": "npx taze minor --includeLocked --write && npm install",
"updateGeometrySchema": "json-schema-to-zod -i data/schema/geometry.schema.json -o data/schema/geometry.schema.ts -n geometrySchema -m esm --type GeometrySchema",
"updateMetaSchema": "json-schema-to-zod -i data/schema/meta.schema.json -o data/schema/meta.schema.ts -n metaSchema -m esm --type MetaSchema",
"generateTsxFromSvg": "bun ./scripts/svgToTsx/svgToTsx.ts && npm run format",
"bleach": "rm -rf node_modules/.astro && rm -rf node_modules/.bin && rm -rf node_modules/.vite && rm -rf .astro/ && rm -rf .netlify/ && rm -rf dist/ && npm install && npm run bleach:info",
"bleach:info": "echo \"\u001b[43m\u001b[30m(!) Also delete the browser cache, see https://github.com/vitejs/vite/discussions/17738#discussioncomment-10158746\u001b[0m\"",
"bleach:all": "rm -rf node_modules/ && npm run bleach",
"bleach:full": "rm package-lock.json && npm run bleach:all",
"prepare": "husky",
"release": "gh pr create --base main --head develop --title \"Release $(date '+%Y-%m-%d')\" --body \"\""
},
"browserslist": [
"defaults",
"not IE 11"
],
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/markdoc": "^0.11.5",
"@astrojs/mdx": "^3.1.9",
"@astrojs/netlify": "^5.5.4",
"@astrojs/react": "^3.6.2",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/tailwind": "^5.1.2",
"@astrojs/ts-plugin": "^1.10.4",
"@fontsource/overpass": "^5.1.1",
"@googlemaps/polyline-codec": "^1.0.28",
"@headlessui/react": "^2.2.0",
"@heroicons/react": "^2.2.0",
"@keystatic/astro": "^5.0.3",
"@keystatic/core": "^0.5.41",
"@turf/turf": "^7.1.0",
"@types/filesystem": "^0.0.36",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"astro": "^4.16.13",
"clsx": "^2.1.1",
"jsonschema": "^1.4.1",
"maplibre-gl": "^4.7.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-map-gl": "^7.2.0-beta.1",
"svg-to-jsx": "^1.0.4",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.15",
"@typescript-eslint/parser": "^8.15.0",
"eslint": "^9.15.0",
"eslint-plugin-astro": "^1.3.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"husky": "^9.1.7",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-organize-imports": "^4.1.0",
"prettier-plugin-tailwindcss": "^0.6.9"
}
}