{ "name": "root", "private": true, "repository": { "type": "git", "url": "https://github.com/betagouv/mon-entreprise.git" }, "type": "module", "workspaces": [ "scripts", "modele-social", "exoneration-covid", "api", "site", "server" ], "scripts": { "scalingo-postbuild": "echo \"$APP_DIR\" ; CI=true ; yarn test:type && yarn \"build:$APP_DIR\" && yarn workspaces focus \"$APP_DIR\" --production", "build:api": "yarn workspaces focus api && yarn workspace api run build && yarn workspaces focus --all && yarn test", "build:server": "yarn workspaces focus server && yarn workspace server run build", "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:quiet": "yarn lint:eslintrc && yarn lint:eslint --quiet && yarn lint:prettier", "lint": "yarn lint:eslintrc && yarn lint:eslint && yarn lint:prettier", "postinstall": "yarn workspaces foreach -piv --exclude site run prepack", "test": "CI=true 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" }, "devDependencies": { "@actions/core": "^1.10.0", "@actions/github": "^5.1.1", "@ianvs/prettier-plugin-sort-imports": "^3.7.1", "@types/got": "^9.6.12", "@typescript-eslint/eslint-plugin": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", "eslint": "^8.28.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-jest": "^26.9.0", "eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-n": "^15.5.1", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-react": "^7.31.11", "eslint-plugin-react-hooks": "^4.6.0", "prettier": "^2.8.3", "rimraf": "^3.0.2" }, "resolutions": { "rollup": "^3.10.0" }, "packageManager": "yarn@3.3.0", "engines": { "node": "^18" } }