-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
71 lines (71 loc) · 2 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
{
"name": "camino",
"version": "1.0.0",
"engines": {
"node": ">=20.15.1",
"npm": ">=10.7.0"
},
"description": "Le cadastre minier numérique ouvert",
"workspaces": [
"packages/api",
"packages/common",
"packages/ui"
],
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/MTES-MCT/camino.git"
},
"license": "AGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/MTES-MCT/camino/issues"
},
"homepage": "https://github.com/MTES-MCT/camino#readme",
"scripts": {
"prepare": "husky",
"test": "npm run test --workspaces",
"lint": "npm run lint --workspaces",
"knip": "npx --yes knip@5.24.1"
},
"lint-staged": {
"packages/ui/src/**/*.{js,ts,tsx}": [
"eslint --config packages/ui/eslint.config.mjs --cache --fix --max-warnings=0",
"prettier --write"
],
"packages/ui/**/*.css": "prettier --write",
"packages/api/**/*.{js,ts}": [
"eslint --config packages/api/eslint.config.mjs --cache --fix --max-warnings=0",
"prettier --write"
],
"packages/api/**/*.{graphql,md}": "prettier --write",
"packages/common/src/**/*.ts": [
"eslint --config packages/common/eslint.config.mjs --cache --fix --max-warnings=0",
"prettier --write"
],
"packages/ui/src/components/_ui/iconSprite.tsx": [
"npm run -w packages/ui generate-icon-types",
"npm run -w packages/ui lint src/components/_ui/iconSpriteType.ts",
"git add packages/ui/src/components/_ui/iconSpriteType.ts"
]
},
"devDependencies": {
"@types/react": "file:stub/types__react",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"semantic-release": "^24.1.1",
"semantic-release-mattermost": "^1.2.2",
"typescript": "^5.6.2",
"vue": "^3.5.4"
},
"release": {
"branches": [
"prod"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"semantic-release-mattermost"
]
}
}