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",
|
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-10-24 13:03:14 +00:00
|
|
|
"//": "Resolve conflicts with @types/... in api and server",
|
2022-06-30 10:08:36 +00:00
|
|
|
"resolutions": {
|
2022-10-10 13:21:36 +00:00
|
|
|
"@types/cacheable-request": "8.3.1",
|
|
|
|
"@types/responselike": "^1.0.0",
|
|
|
|
"@types/styled-components": "^5.1.26",
|
2022-11-09 16:00:07 +00:00
|
|
|
"styled-components": "^5.3.5",
|
2022-10-10 13:21:36 +00:00
|
|
|
"@types/chai": "^4.3.3"
|
2022-06-30 10:08:36 +00:00
|
|
|
},
|
2022-03-03 13:37:53 +00:00
|
|
|
"devDependencies": {
|
2022-06-21 13:57:01 +00:00
|
|
|
"@actions/core": "^1.9.0",
|
2022-06-28 12:53:10 +00:00
|
|
|
"@actions/github": "^5.0.3",
|
2022-11-03 15:30:22 +00:00
|
|
|
"@ianvs/prettier-plugin-sort-imports": "^3.7.1",
|
2022-06-30 10:08:36 +00:00
|
|
|
"@types/got": "^9",
|
2022-11-03 15:30:22 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
|
|
"@typescript-eslint/parser": "^5.42.0",
|
|
|
|
"eslint": "^8.26.0",
|
2022-03-28 10:08:02 +00:00
|
|
|
"eslint-config-prettier": "^8.5.0",
|
2022-05-23 08:02:19 +00:00
|
|
|
"eslint-config-standard": "^17.0.0",
|
2022-03-28 10:08:02 +00:00
|
|
|
"eslint-plugin-cypress": "^2.12.1",
|
2022-04-07 16:09:40 +00:00
|
|
|
"eslint-plugin-import": "^2.26.0",
|
2022-06-21 11:32:38 +00:00
|
|
|
"eslint-plugin-jest": "^26.5.3",
|
2022-09-09 11:12:46 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
2022-11-03 15:30:22 +00:00
|
|
|
"eslint-plugin-n": "^15.4.0",
|
|
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
|
|
"eslint-plugin-react": "^7.31.10",
|
|
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
|
|
"prettier": "^2.7.1",
|
2022-03-03 13:37:53 +00:00
|
|
|
"rimraf": "^3.0.2"
|
2022-06-02 13:28:08 +00:00
|
|
|
},
|
2022-05-24 17:00:18 +00:00
|
|
|
"packageManager": "yarn@3.2.3",
|
2022-06-02 13:28:08 +00:00
|
|
|
"engines": {
|
|
|
|
"node": "^16"
|
2021-11-30 15:09:05 +00:00
|
|
|
}
|
2016-06-29 10:27:04 +00:00
|
|
|
}
|