2016-06-29 10:27:04 +00:00
|
|
|
{
|
2020-05-08 10:04:00 +00:00
|
|
|
"name": "root",
|
|
|
|
"private": true,
|
2019-07-11 09:59:26 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2019-09-25 15:42:06 +00:00
|
|
|
"url": "https://github.com/betagouv/mon-entreprise.git"
|
2019-07-11 09:59:26 +00:00
|
|
|
},
|
2022-06-02 13:28:08 +00:00
|
|
|
"type": "module",
|
2021-12-03 11:38:16 +00:00
|
|
|
"workspaces": [
|
|
|
|
"modele-social",
|
2022-01-27 17:28:48 +00:00
|
|
|
"exoneration-covid",
|
2022-05-16 12:29:59 +00:00
|
|
|
"api",
|
2022-10-05 10:56:06 +00:00
|
|
|
"site",
|
2023-04-12 15:45:06 +00:00
|
|
|
"site/scripts/NAFAndGuichetData",
|
2022-10-24 13:03:14 +00:00
|
|
|
"server"
|
2021-12-03 11:38:16 +00:00
|
|
|
],
|
2020-05-08 10:04:00 +00:00
|
|
|
"scripts": {
|
2022-10-10 13:21:36 +00:00
|
|
|
"scalingo-postbuild": "echo \"$APP_DIR\" ; CI=true ; yarn test:type && yarn \"build:$APP_DIR\" && yarn workspaces focus \"$APP_DIR\" --production",
|
2022-10-05 17:43:10 +00:00
|
|
|
"build:api": "yarn workspaces focus api && yarn workspace api run build && yarn workspaces focus --all && yarn test",
|
2022-10-24 13:03:14 +00:00
|
|
|
"build:server": "yarn workspaces focus server && yarn workspace server run build",
|
2022-02-07 08:34:32 +00:00
|
|
|
"lint:eslintrc": "npx eslint-config-prettier .eslintrc.cjs",
|
2022-03-03 13:37:53 +00:00
|
|
|
"lint:eslint": "NODE_OPTIONS='--max-old-space-size=4096' eslint .",
|
2020-05-08 10:04:00 +00:00
|
|
|
"lint:eslint:fix": "yarn lint:eslint --fix",
|
2021-07-01 16:25:50 +00:00
|
|
|
"lint:prettier": "yarn run prettier --check \"**/*.{js,jsx,ts,tsx,yaml,yml}\"",
|
2020-05-08 10:04:00 +00:00
|
|
|
"lint:prettier:fix": "yarn lint:prettier --write",
|
2022-04-04 13:49:00 +00:00
|
|
|
"lint:fix": "yarn lint:eslint:fix ; yarn lint:prettier:fix",
|
2022-09-09 11:12:46 +00:00
|
|
|
"lint:quiet": "yarn lint:eslintrc && yarn lint:eslint --quiet && yarn lint:prettier",
|
2020-05-08 10:04:00 +00:00
|
|
|
"lint": "yarn lint:eslintrc && yarn lint:eslint && yarn lint:prettier",
|
2022-07-25 14:41:27 +00:00
|
|
|
"postinstall": "yarn workspaces foreach -piv --exclude site run prepack",
|
2022-06-21 11:32:38 +00:00
|
|
|
"test": "CI=true yarn workspaces foreach run test",
|
2022-03-03 13:37:53 +00:00
|
|
|
"test:type": "yarn workspaces foreach -pi run tsc --skipLibCheck --noEmit",
|
|
|
|
"clean": "yarn workspaces foreach run clean && rimraf node_modules",
|
2022-03-09 11:05:01 +00:00
|
|
|
"start": "yarn workspaces foreach -piv --exclude site run start & yarn workspace site run start",
|
2022-03-03 13:37:53 +00:00
|
|
|
"moso:up": "yarn workspace modele-social up && yarn workspace exoneration-covid up && yarn workspace site upgrade modele-social",
|
2022-02-09 09:26:56 +00:00
|
|
|
"i18n:check": "yarn workspace site i18n:check",
|
|
|
|
"i18n:translate": "yarn workspace site i18n:translate"
|
2020-05-08 10:04:00 +00:00
|
|
|
},
|
2022-03-03 13:37:53 +00:00
|
|
|
"devDependencies": {
|
2022-11-30 19:09:29 +00:00
|
|
|
"@actions/core": "^1.10.0",
|
|
|
|
"@actions/github": "^5.1.1",
|
2023-07-31 13:06:11 +00:00
|
|
|
"@ianvs/prettier-plugin-sort-imports": "^4.1.0",
|
2022-11-30 19:09:29 +00:00
|
|
|
"@types/got": "^9.6.12",
|
2023-07-31 13:06:11 +00:00
|
|
|
"@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",
|
2022-11-03 15:30:22 +00:00
|
|
|
"eslint-plugin-promise": "^6.1.1",
|
2023-07-31 13:06:11 +00:00
|
|
|
"eslint-plugin-react": "^7.33.1",
|
2022-11-03 15:30:22 +00:00
|
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
2023-07-31 13:06:11 +00:00
|
|
|
"prettier": "^3.0.1",
|
2022-03-03 13:37:53 +00:00
|
|
|
"rimraf": "^3.0.2"
|
2022-06-02 13:28:08 +00:00
|
|
|
},
|
2023-02-20 15:51:23 +00:00
|
|
|
"resolutions": {
|
2023-06-15 13:25:42 +00:00
|
|
|
"rollup": "^3.10.0",
|
2023-09-06 10:59:43 +00:00
|
|
|
"@koa/cors": "^4.0.0",
|
|
|
|
"@koa/router": "^12.0.0",
|
|
|
|
"koa-body": "^6.0.1",
|
|
|
|
"@types/koa": "^2.13.8",
|
|
|
|
"@types/react": "^18.2.18",
|
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-dom": "^18.2.0",
|
|
|
|
"styled-components": "^6.0.7"
|
2023-02-20 15:51:23 +00:00
|
|
|
},
|
2023-04-13 20:59:46 +00:00
|
|
|
"packageManager": "yarn@3.5.0",
|
2022-06-02 13:28:08 +00:00
|
|
|
"engines": {
|
2022-11-30 19:09:29 +00:00
|
|
|
"node": "^18"
|
2021-11-30 15:09:05 +00:00
|
|
|
}
|
2016-06-29 10:27:04 +00:00
|
|
|
}
|