-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
142 lines (142 loc) · 5.8 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
137
138
139
140
141
142
{
"name": "trassenscout",
"version": "1.0.0",
"author": "FixMyCity <[email protected]>",
"license": "AGPL-3.0",
"private": true,
"scripts": {
"start": "npm run predev:check_docker && blitz start --hostname 127.0.0.1 --port 5000",
"dev": "blitz dev --hostname 127.0.0.1 --port 6173",
"predev": "npm run codegen && npm run predev:check_docker",
"predev:check_docker": "if [[ $(docker inspect -f '{{.State.Running}}' rsv-builder-db) = \"true\" ]]; then echo Docker: Skipping – Container already running; else docker compose up --detach; fi",
"codegen": "blitz codegen",
"postdev": "docker compose stop",
"debug": "DEBUG=blitz:* blitz console",
"build": "blitz build",
"bleach": "rm -rf node_modules/ && rm -rf .next/ && npm install",
"bleach:full": "rm package-lock.json && npm run bleach",
"studio": "blitz prisma studio",
"mailpreview": "NEXT_PUBLIC_APP_ORIGIN=http://localhost:6173 email dev",
"openTypes": "code \"node_modules/.prisma/client/index.d.ts\"",
"migrate": "blitz prisma migrate dev",
"migrate:create": "blitz prisma migrate dev --create-only && npm run migrate:create:openMigration",
"migrate:create:openMigration": "code $(find ./db/migrations -type f -name \"migration.sql\" -cmin -1 | head -n 1)",
"migrate:check": "blitz prisma migrate status",
"migrate:compare": "git diff origin/main... -- db/migrations",
"db:getDump": "db/remote/get-dump.sh",
"db:getDump:staging": "USE_STAGING=1 db/remote/get-dump.sh",
"db:restoreDump": "npm run predev && db/remote/restore-dump.sh && SEED_USER_ONLY=1 blitz db seed",
"check": "npm run migrate:check && npm run type-check && npm run lint && npm run format && npm run test",
"type-check": "tsc --noEmit",
"lint": "eslint --fix --ignore-pattern \"src/core/templates/*\" --ignore-path .gitignore --ext .js,.ts,.tsx .",
"format": "prettier \"**/*.{js,jsx,ts,tsx,css,scss,html,md}\" --write",
"test": "vitest run --passWithNoTests || :",
"pretest": "if [[ $(docker inspect -f '{{.State.Running}}' ts-test-db) = \"true\" ]]; then npm run posttest && npm run pretest; else docker run -d -e POSTGRES_PASSWORD=password -p 6002:5432 --name=ts-test-db postgres:12-alpine; fi",
"posttest": "docker rm ts-test-db -f",
"test:watch": "npm run pretest && vitest watch && npm run posttest",
"test:ui": "npm run pretest && vitest --ui && npm run posttest",
"seed": "npm run predev && npm run migrate && blitz prisma migrate reset && blitz db seed",
"updatePackages:major": "npx taze major --includeLocked --write --exclude eslint && npm run updatePackages:minor && npm install",
"updatePackages:minor": "npx taze minor --includeLocked --write && npm install",
"release": "gh pr create --base main --head develop --title \"Release $(date '+%Y-%m-%d')\" --body \"\"",
"prepare": "husky",
"calc-lengthkm": "node db/calculate-subsection-subsubsection-lengthkm.js"
},
"prisma": {
"schema": "db/schema.prisma"
},
"browserslist": [
"defaults",
"last 2 IE major versions",
"last 4 Edge major versions"
],
"dependencies": {
"@aws-sdk/client-s3": "3.676.0",
"@aws-sdk/client-sts": "3.675.0",
"@aws-sdk/lib-storage": "3.676.0",
"@aws-sdk/s3-request-presigner": "3.676.0",
"@aws-sdk/xhr-http-handler": "3.664.0",
"@blitzjs/auth": "2.1.3",
"@blitzjs/next": "2.1.3",
"@blitzjs/rpc": "2.1.3",
"@fontsource/red-hat-text": "5.1.0",
"@headlessui/react": "2.1.10",
"@heroicons/react": "2.1.5",
"@hookform/error-message": "2.0.1",
"@hookform/resolvers": "3.9.0",
"@iframe-resizer/react": "5.3.2",
"@prisma/client": "5.21.1",
"@react-email/components": "0.0.25",
"@socialgouv/matomo-next": "1.9.1",
"@turf/helpers": "7.1.0",
"@turf/turf": "7.1.0",
"adler-32": "1.3.1",
"ajv": "8.17.1",
"autoprefixer": "10.4.20",
"blitz": "2.1.3",
"clsx": "2.1.1",
"csv-writer": "1.6.0",
"date-fns": "4.1.0",
"dompurify": "3.1.7",
"eslint-plugin-react-compiler": "0.0.0-experimental-fa06e2c-20241016",
"maplibre-gl": "4.7.1",
"next": "14.2.15",
"node-mailjet": "6.0.6",
"nuqs": "1.20.0",
"postcss": "8.4.47",
"prisma": "5.21.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-hook-form": "7.53.1",
"react-intl": "6.8.1",
"react-map-gl": "7.1.7",
"react-number-format": "5.4.2",
"react-remark": "2.1.0",
"recharts": "2.13.0",
"secure-password": "4.0.0",
"server-only": "0.0.1",
"sharp": "0.33.5",
"tailwindcss": "3.4.14",
"tiny-invariant": "1.3.3",
"ua-parser-js": "2.0.0-beta.3",
"uuid": "10.0.0",
"zod": "3.23.8",
"zustand": "5.0.0"
},
"devDependencies": {
"@faker-js/faker": "9.0.3",
"@next/bundle-analyzer": "14.2.15",
"@playwright/test": "1.48.1",
"@tailwindcss/forms": "0.5.9",
"@tailwindcss/typography": "0.5.15",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.2",
"@testing-library/react": "16.0.1",
"@testing-library/react-hooks": "8.0.1",
"@total-typescript/ts-reset": "0.6.1",
"@types/dompurify": "3.0.5",
"@types/geojson": "7946.0.14",
"@types/iframe-resizer": "3.5.13",
"@types/node": "22.7.8",
"@types/preview-email": "3.0.4",
"@types/react": "18.3.11",
"@types/uuid": "10.0.0",
"@typescript-eslint/eslint-plugin": "8.11.0",
"@vitejs/plugin-react": "4.3.3",
"eslint": "8.57.1",
"eslint-config-next": "14.2.15",
"eslint-config-prettier": "9.1.0",
"husky": "9.1.6",
"jsdom": "25.0.1",
"next-router-mock": "0.9.13",
"prettier": "3.3.3",
"prettier-plugin-organize-imports": "4.1.0",
"prettier-plugin-prisma": "5.0.0",
"prettier-plugin-tailwindcss": "0.6.8",
"preview-email": "3.1.0",
"react-email": "3.0.1",
"typescript": "5.6.3",
"vitest": "2.1.3",
"zod-prisma": "0.5.4"
}
}