{ "name": "root", "private": true, "repository": { "type": "git", "url": "https://github.com/betagouv/mon-entreprise.git" }, "type": "module", "workspaces": [ "modele-social", "exoneration-covid", "api", "site", "site/scripts/NAFAndGuichetData", "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": "^4.1.0", "@types/got": "^9.6.12", "@typescript-eslint/eslint-plugin": "^6.2.1", "@typescript-eslint/parser": "^6.2.1", "eslint": "^8.46.0", "eslint-config-prettier": "^9.0.0", "eslint-config-standard": "^17.1.0", "eslint-plugin-cypress": "^2.13.3", "eslint-plugin-import": "^2.28.0", "eslint-plugin-jest": "^27.2.3", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-n": "^16.0.1", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-react": "^7.33.1", "eslint-plugin-react-hooks": "^4.6.0", "prettier": "^3.0.1", "rimraf": "^3.0.2" }, "resolutions": { "@koa/cors": "^4.0.0", "@koa/router": "^12.0.0", "koa": "^2.14.2", "koa-body": "^6.0.1", "rollup": "^3.10.0", "@types/koa": "^2.13.8", "@types/react": "^18.2.18", "react": "^18.2.0", "react-dom": "^18.2.0", "styled-components": "^6.0.7", "@publicodes/api": "betagouv/publicodes#head=publicodes-in-worker&workspace=@publicodes/api&v0", "publicodes": "betagouv/publicodes#head=publicodes-in-worker&workspace=publicodes&v0", "publicodes-react": "betagouv/publicodes#head=publicodes-in-worker&workspace=publicodes-react&v0", "@publicodes/worker": "betagouv/publicodes#head=publicodes-in-worker&workspace=@publicodes/worker&v0", "@publicodes/worker-react": "betagouv/publicodes#head=publicodes-in-worker&workspace=@publicodes/worker-react&v0" }, "packageManager": "yarn@3.6.3", "engines": { "node": "^18" } }