/
package.json
103 lines (103 loc) · 3.47 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
{
"name": "mna-tdb",
"description": "[MNA] Flux retour des cfas",
"repository": "https://github.com/mission-apprentissage/flux-retour-cfas.git",
"version": "0.0.0",
"author": "MNA",
"license": "MIT",
"private": true,
"packageManager": "yarn@3.6.1",
"engines": {
"node": ">=20",
"npm": "please-use-yarn"
},
"workspaces": [
"ui",
"server",
"shared"
],
"scripts": {
"setup": ".bin/mna-tdb init:env",
"dev": "yarn services:start; yarn foreach:parallel run dev",
"cli": "yarn workspace server cli",
"seed": "./.bin/mna-tdb seed:apply",
"deploy": "./.bin/mna-tdb deploy",
"build": "yarn foreach:seq run build",
"migrations:status": "yarn cli migrations:status",
"migrations:up": "yarn cli migrations:up",
"migration:create": "yarn cli migrations:create",
"server:dev": "yarn workspace server dev",
"ui:dev": "yarn workspace ui dev",
"services:start": "docker compose up --remove-orphans -d",
"services:stop": "docker compose down",
"services:clean": "yarn services:stop; docker system prune --volumes",
"seed:update": "./.bin/mna-tdb seed:update",
"lint": "eslint --ignore-path .gitignore --cache --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "yarn lint --fix",
"prettier:fix": "prettier --write -u .",
"prettier:check": "prettier --check -u .",
"release": "semantic-release",
"release:interactive": "./.bin/mna-tdb release:interactive",
"postinstall": "husky install",
"talisman:add-exception": "yarn node-talisman --githook pre-commit -i",
"test": "cross-env NODE_NO_WARNINGS=1 NODE_OPTIONS=--experimental-vm-modules jest",
"test:ci": "yarn test --ci -w 2",
"test:watch": "yarn test --watch",
"typecheck": "yarn foreach:parallel run typecheck",
"typecheck:ci": "yarn foreach:ci run typecheck",
"vault:edit": ".bin/mna-tdb vault:edit",
"foreach:seq": "yarn workspaces foreach -Av --exclude mna-tdb",
"foreach:parallel": "yarn foreach:seq -pi",
"foreach:ci": "yarn foreach:seq -p"
},
"dependencies": {
"husky": "^8.0.3"
},
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^6.0.3",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"eslint-config-next": "^13.5.6",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-mocha": "^10.2.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-simple-import-sort": "^12.0.0",
"eslint-plugin-unused-imports": "^3.1.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.2",
"next": "^13.5.6",
"node-talisman": "^1.29.11",
"prettier": "^3.2.5",
"semantic-release": "^21.1.2",
"semantic-release-slack-bot": "^4.0.2",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"prettier": {
"printWidth": 120,
"bracketSpacing": true,
"trailingComma": "es5"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --ignore-path .gitignore --cache --fix",
"prettier --write -u"
],
"*": [
"prettier --write -u"
]
},
"resolutions": {
"zod@3.21.4": "patch:zod@npm%3A3.21.4#./.yarn/patches/zod-npm-3.21.4-9f570b215c.patch"
}
}