Select Git revision
package.json
This project manages its dependencies using npm.
Learn more
package.json 2.01 KiB
{
"name": "camino",
"version": "1.0.0",
"engines": {
"node": ">=20.12.2",
"npm": ">=10.2.4"
},
"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 install",
"test": "npm run test --workspaces",
"lint": "npm run lint --workspaces",
"knip": "npx --yes knip@5.17.3"
},
"lint-staged": {
"packages/ui/src/**/*.{js,ts,tsx}": [
"eslint --cache --fix --max-warnings=0",
"prettier --write"
],
"packages/ui/**/*.css": "prettier --write",
"packages/api/**/*.{js,ts}": [
"eslint --cache --fix --max-warnings=0",
"prettier --write"
],
"packages/api/**/*.{graphql,md}": "prettier --write",
"packages/common/**/*.ts": [
"eslint --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"
]
},
"@comment overrides": {
"vue": "bug npm avec les workspaces : https://github.com/npm/cli/issues/4834"
},
"overrides": {
"vue": "3.4.26"
},
"devDependencies": {
"@types/react": "file:stub/types__react",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"semantic-release": "^23.0.8",
"semantic-release-mattermost": "^1.2.1",
"vue": "3.4.26",
"typescript": "5.4.5"
},
"release": {
"branches": ["prod"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"semantic-release-mattermost"
]
}
}