-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
85 lines (85 loc) · 3.68 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
{
"name": "potentiel-monorepo",
"version": "0.0.0",
"description": "Monorepo du projet potentiel",
"workspaces": [
"./packages/config/*",
"./packages/libraries/*",
"./packages/domain/*",
"./packages/infrastructure/*",
"./packages/applications/*",
"./packages/specifications"
],
"scripts": {
"prepare": "husky",
"start": "npm run start --workspaces --if-present ",
"up": "docker compose --profile app up -d && until docker exec potentiel_db pg_isready -U potadmindb -d potentiel; do sleep 1; done ",
"down": "docker compose --profile app down --remove-orphans",
"prestart:legacy": "npm run build && npm run up",
"start:legacy": "npm run start -w @potentiel-applications/legacy",
"build": "turbo run build",
"build:dev": "turbo run build --filter=@potentiel-applications/ssr... --filter=!@potentiel-applications/ssr",
"predev": "npm run up && npm run build:dev",
"dev": "npm run dev --workspaces --if-present",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "npm run format --workspaces --if-present",
"storybook": "npm run storybook build -w @potentiel-applications/ssr",
"storybook:documents": "npm run storybook build -w @potentiel-applications/document-builder",
"up:test": "docker compose --profile test up -d && until docker exec potentiel_db_tests_integration pg_isready -U testuser -d potentiel_test; do sleep 1; done",
"down:test": "docker compose --profile test down --remove-orphans",
"pretest": "npm run down:test && npm run up:test",
"pretest:legacy": "turbo run build --filter=@potentiel-applications/legacy^... && npm run pretest",
"test:legacy": "turbo run test --filter=@potentiel-applications/legacy",
"pretest:libraries": "turbo run build --filter=@potentiel-libraries/* --filter=@potentiel-infrastructure/* && npm run pretest",
"test:libraries": "turbo run test --filter=@potentiel-libraries/* --filter=@potentiel-infrastructure/*",
"prespecs": "turbo run build --filter=@potentiel/specifications && npm run pretest",
"specs": "npm run test -w @potentiel/specifications",
"prespecs:select": "npm run prespecs",
"specs:select": "npm run test:select -w @potentiel/specifications",
"version": "npx tsx .github/getPatchVersion.ts",
"update:dump": "docker exec -it potentiel_db pg_dump -U potadmindb -Fc -b -v -f \"potentiel-dev.dump\" potentiel && docker cp potentiel_db:/potentiel-dev.dump ./.database/potentiel-dev.dump"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MTES-MCT/potentiel.git"
},
"author": "L'équipe Potentiel <[email protected]> (https://potentiel.beta.gouv.fr/)",
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/MTES-MCT/potentiel/issues"
},
"homepage": "https://github.com/MTES-MCT/potentiel#readme",
"devDependencies": {
"@eslint/compat": "^1.1.0",
"@eslint/js": "^8.57.0",
"@faker-js/faker": "^8.4.1",
"@next/eslint-plugin-next": "^14.2.15",
"@types/chai": "^4.3.20",
"chai": "^4.3.8",
"esbuild": "^0.20.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-monorepo-cop": "^1.0.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-storybook": "^0.8.0",
"globals": "^15.11.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"prettier": "^3.3.2",
"tsx": "^4.19.1",
"turbo": "^1.13.4",
"typescript": "^5.6.3",
"typescript-eslint": "^7.18.0"
},
"engines": {
"node": "^20.0.0"
},
"dependencies": {
"isomorphic-dompurify": "^2.16.0",
"prettier-plugin-gherkin": "^2.3.0",
"ts-pattern": "^5.5.0"
}
}