-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 4.54 KB
/
package.json
File metadata and controls
117 lines (117 loc) · 4.54 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "bhasile",
"version": "0.1.0",
"private": true,
"type": "module",
"engines": {
"node": "24",
"yarn": "1.22"
},
"scripts": {
"dev": "next dev",
"build": "npx @tailwindcss/cli -i ./src/app/globals.css -o build.css --minify && next build && npx tsx copy-assets.ts",
"start": "node .next/standalone/server.js",
"check:ts": "npx tsc --noEmit",
"lint": "yarn lint:css && yarn lint:ts",
"lint:ts": "eslint .",
"lint:fix": "eslint . --fix && yarn sql:format:fix",
"lint:css": "npx stylelint \"**/*.css\"",
"test": "vitest --run --exclude \"**/*.repository.test.ts\"",
"test:watch": "vitest --watch",
"test:e2e": "playwright test",
"test:db": "npx dotenv -e .env.test -- vitest --run repository.test.ts",
"test:e2e:ui": "playwright test --ui --grep @manual",
"one-off": "scripts/run-one-off.sh",
"script": "SCRIPT_KIND=recurring scripts/run-one-off.sh",
"prepare": "husky || true",
"pre-push": "yarn lint && yarn check:ts && yarn test && yarn sql:format:check",
"apply-views": "npx tsx scripts/apply-views.ts",
"apply-views:dev": "npx tsx -r dotenv/config scripts/apply-views.ts",
"delete-views": "npx tsx scripts/apply-views.ts delete",
"delete-views:dev": "npx tsx -r dotenv/config scripts/apply-views.ts delete",
"prisma:migrate": "prisma migrate dev && prisma generate",
"prisma:deploy": "prisma migrate deploy && prisma generate",
"prisma:seed": "prisma db seed && yarn script fill-roles",
"prisma:studio": "prisma studio",
"prisma:reset": "prisma migrate reset && prisma generate",
"prisma:reset-and-seed": "yarn install --production=false && yarn prisma:reset && yarn prisma:seed && yarn apply-views",
"prisma:reset-and-seed:dev": "yarn prisma:reset && yarn prisma:seed && yarn apply-views:dev",
"prasd": "yarn prisma:reset-and-seed:dev",
"prisma:push": "prisma db push && prisma generate",
"predev": "react-dsfr update-icons --silent",
"prebuild": "react-dsfr update-icons --silent",
"postinstall": "npx patch-package && prisma generate",
"sql:format:check": "set -e; failed=0; for f in scripts/views/*.sql; do tmp=$(mktemp); sql-formatter \"$f\" --config sql-formatter.config.json > \"$tmp\"; if ! diff -u \"$f\" \"$tmp\" >/dev/null; then echo \"SQL formatting issues in $f\"; failed=1; fi; rm -f \"$tmp\"; done; [ \"$failed\" -eq 0 ] || exit 1",
"sql:format:fix": "for f in scripts/views/*.sql; do sql-formatter \"$f\" --config sql-formatter.config.json --fix; done"
},
"dependencies": {
"@casl/ability": "^6.8.0",
"@casl/prisma": "^1.6.2",
"@casl/react": "^6.0.0",
"@codegouvfr/react-dsfr": "^1.32.0",
"@formkit/auto-animate": "^0.9.0",
"@hookform/resolvers": "^5.2.2",
"@prisma/adapter-pg": "^7.7.0",
"@prisma/client": "^7.7.0",
"@sentry/nextjs": "^10",
"@socialgouv/matomo-next": "^1.13.1",
"chartist": "^1.4.0",
"clsx": "^2.1.1",
"dayjs": "^1.11.20",
"dotenv": "^17.4.2",
"jsonwebtoken": "^9.0.3",
"leaflet": "^1.9.4",
"minio": "^8.0.7",
"next": "16.2.4",
"next-auth": "^4.24.14",
"next-leaflet-cluster": "^1.0.0",
"pretty-bytes": "^7.1.0",
"prisma": "^7.7.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react-hook-form": "^7.72.1",
"react-leaflet": "^5.0.0",
"react-number-format": "^5.4.5",
"read-excel-file": "^7.0.2",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.1.3",
"uuid": "^14.0.0",
"zod": "^3.25.74 "
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"@faker-js/faker": "^10.4.0",
"@playwright/test": "^1.59.1",
"@tailwindcss/postcss": "^4.2.2",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/jsonwebtoken": "^9.0.7",
"@types/leaflet": "^1.9.21",
"@types/node": "^25",
"@types/react": "^19",
"@types/react-dom": "^19",
"@vitejs/plugin-react": "^6.0.1",
"csv-parse": "^6.2.1",
"dotenv-cli": "^11.0.0",
"eslint": "^9",
"eslint-config-next": "15.1.6",
"eslint-plugin-simple-import-sort": "^12.1.1",
"husky": "^9.1.7",
"jsdom": "^29.0.2",
"node-mocks-http": "^1.17.2",
"patch-package": "^8.0.0",
"postcss": "^8.5.10",
"postinstall-postinstall": "^2.1.0",
"prettier": "^3.8.3",
"sass": "^1.99.0",
"sql-formatter": "^15.7.3",
"stylelint": "^16.26.1",
"stylelint-config-standard": "^39.0.1",
"tsx": "^4.21.0",
"typescript": "^5",
"vitest": "^4.1.4",
"xlsx": "^0.18.5"
}
}