mon-entreprise/package.json

59 lines
2.2 KiB
JSON

{
"name": "root",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/betagouv/mon-entreprise.git"
},
"type": "module",
"workspaces": [
"modele-social",
"exoneration-covid",
"api",
"site"
],
"scripts": {
"pre-commit": "yarn workspaces foreach -pi run pre-commit",
"scalingo-postbuild": "yarn test:type && yarn workspaces focus api && yarn workspace api run build && yarn workspaces focus --all && yarn test",
"lint:eslintrc": "npx eslint-config-prettier .eslintrc.cjs",
"lint:eslint": "NODE_OPTIONS='--max-old-space-size=4096' eslint .",
"lint:eslint:fix": "yarn lint:eslint --fix",
"lint:prettier": "yarn run prettier --check \"**/*.{js,jsx,ts,tsx,yaml,yml}\"",
"lint:prettier:fix": "yarn lint:prettier --write",
"lint:fix": "yarn lint:eslint:fix ; yarn lint:prettier:fix",
"lint": "yarn lint:eslintrc && yarn lint:eslint && yarn lint:prettier",
"postinstall": "husky install && yarn workspaces foreach -piv --exclude site run prepack",
"test": "yarn workspaces foreach run test",
"test:type": "yarn workspaces foreach -pi run tsc --skipLibCheck --noEmit",
"clean": "yarn workspaces foreach run clean && rimraf node_modules",
"start": "yarn workspaces foreach -piv --exclude site run start & yarn workspace site run start",
"moso:up": "yarn workspace modele-social up && yarn workspace exoneration-covid up && yarn workspace site upgrade modele-social",
"i18n:check": "yarn workspace site i18n:check",
"i18n:translate": "yarn workspace site i18n:translate"
},
"resolutions": {
"@mui/styled-engine": "npm:@mui/styled-engine-sc@latest"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-mocha": "^10.0.5",
"eslint-plugin-n": "^15.2.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.5.0",
"husky": "^8.0.0",
"prettier": "^2.6.2",
"rimraf": "^3.0.2"
},
"packageManager": "yarn@3.2.0",
"engines": {
"node": "^16"
}
}