-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 3.55 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
{
"name": "justicie",
"version": "0.1.0",
"private": true,
"scripts": {
"amibroken": "yarn dedupe --check && yarn lint:css && yarn typecheck && yarn lint:typescript && yarn test:coverage",
"bash:production": "scalingo -a justicie run bash",
"build": "next build && yarn build-backend",
"build-backend": "tsc --project tsconfig.backend.json",
"deadcode": "knip",
"depcheck": "depcheck",
"dev": "next dev",
"dev-https": "next dev --experimental-https",
"lighthouse": "lhci autorun",
"lint:css": "stylelint '(components|configuration)/**/*.css'",
"lint:typescript": "eslint . --ext .tsx,.ts --max-warnings=0 --cache --cache-location node_modules/.cache/eslint",
"maj_lieux": "ts-node -T backend/infrastructure/controllers/importerDesLieuxCron.ts",
"migration:up": "npx typeorm-ts-node-commonjs migration:run -d ./database/dataSource.ts",
"migration:down": "npx typeorm-ts-node-commonjs migration:revert -d ./database/dataSource.ts",
"migration:create": "npx typeorm-ts-node-commonjs migration:create",
"psql:local": "docker compose up -d postgres && docker exec -it justicie_db_dev psql -U justicie justicie",
"psql:production": "scalingo -a justicie pgsql-console",
"psql:test": "docker compose up -d postgres && docker exec -it justicie_db_test psql -U justicie justicie",
"start": "next start",
"start:db": "docker compose down && docker compose up -d && bash -c \"while ! docker compose logs | grep -q 'listening on IPv4 address'; do echo 'Waiting for database'; sleep 0.5; done\"; yarn migration:up",
"test": "NODE_ENV=test yarn migration:up && vitest --run",
"test:coverage": "yarn test --coverage",
"test:mutation:frontend": "npx stryker run stryker-frontend.conf.json",
"test:mutation:backend": "npx stryker run stryker-backend.conf.json",
"typecheck": "tsc"
},
"dependencies": {
"@googleapis/sheets": "^5.0.5",
"@sentry/nextjs": "^8.4.0",
"accessible-autocomplete": "^2.0.4",
"dotenv-defaults": "^5.0.2",
"leaflet": "^1.9.4",
"next": "^14.1.1",
"next-pwa": "^5.6.0",
"pg": "^8.11.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-leaflet": "^4.2.1",
"sharp": "^0.32.6",
"typeorm": "^0.3.17"
},
"devDependencies": {
"@lhci/cli": "^0.13.0",
"@stryker-mutator/core": "^8.0.0",
"@stryker-mutator/typescript-checker": "^8.0.0",
"@stryker-mutator/vitest-runner": "^8.0.0",
"@swc/core": "^1.3.100",
"@testing-library/react": "^14.1.2",
"@types/dotenv-defaults": "^2.0.2",
"@types/leaflet": "^1.9.6",
"@types/node": "^20.8.6",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"@vitejs/plugin-react": "^4.1.0",
"@vitest/coverage-istanbul": "^1.1.3",
"depcheck": "^1.4.7",
"eslint": "8.57.0",
"eslint-config-next": "^14.2.3",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-testing-library": "^6.2.2",
"eslint-plugin-unused-imports": "^3.2.0",
"eslint-plugin-vitest": "0.4.1",
"jsdom": "^23.0.1",
"knip": "^5.16.0",
"stylelint": "^16.5.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-order": "^6.0.4",
"ts-node": "^10.9.2",
"typescript": "^5.3.2",
"vitest": "^1.1.3",
"vitest-dom": "^0.1.1"
},
"engines": {
"node": "20.13.1"
},
"packageManager": "[email protected]"
}