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
|
|
|
},
|
|
|
|
"engines": {
|
2020-03-19 11:39:02 +00:00
|
|
|
"node": ">=12.16.1"
|
2019-07-11 09:59:26 +00:00
|
|
|
},
|
2021-12-03 11:38:16 +00:00
|
|
|
"workspaces": [
|
|
|
|
"modele-social",
|
|
|
|
"site"
|
|
|
|
],
|
2020-05-08 10:04:00 +00:00
|
|
|
"scripts": {
|
|
|
|
"lint:eslintrc": "eslint --print-config .eslintrc.js | eslint-config-prettier-check",
|
2020-05-15 14:16:13 +00:00
|
|
|
"lint:eslint": "export NODE_OPTIONS='--max-old-space-size=4096'; eslint . --ext .js,.jsx,.ts,.tsx",
|
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",
|
|
|
|
"lint:fix": "yarn lint:eslint:fix && yarn lint:prettier:fix",
|
2020-05-18 14:43:29 +00:00
|
|
|
"prepare": "if [ -z \"$NETLIFY\" ]; then yarn workspaces run prepare; fi",
|
2020-05-08 10:04:00 +00:00
|
|
|
"lint": "yarn lint:eslintrc && yarn lint:eslint && yarn lint:prettier",
|
|
|
|
"test": "yarn workspaces run test",
|
2021-12-02 13:19:35 +00:00
|
|
|
"test:type": "yarn workspaces run tsc --skipLibCheck --noEmit",
|
|
|
|
"test:type:watch": "yarn workspaces run tsc --skipLibCheck --noEmit --watch",
|
2021-07-21 21:55:08 +00:00
|
|
|
"test:regressions": "yarn workspace modele-social build && jest --silent",
|
2020-12-17 09:30:52 +00:00
|
|
|
"clean": "yarn workspaces run clean && rimraf node_modules",
|
2021-12-02 11:39:03 +00:00
|
|
|
"start": "yarn workspace site start",
|
2021-12-02 11:52:42 +00:00
|
|
|
"moso:up": "yarn workspace modele-social run up && yarn workspace site upgrade modele-social",
|
|
|
|
"i18n:check": "yarn run i18n:rules:check && yarn run i18n:ui:check",
|
|
|
|
"i18n:translate": "yarn run i18n:rules:translate && yarn run i18n:ui:translate",
|
|
|
|
"i18n:rules:check": "node site/scripts/i18n/check-missing-rule-translation.js",
|
|
|
|
"i18n:rules:translate": "node site/scripts/i18n/translate-rules.js",
|
|
|
|
"i18n:ui:check": "yarn run i18next -c site/scripts/i18n/parser.config.js && node site/scripts/i18n/check-missing-UI-translation",
|
|
|
|
"i18n:ui:translate": "rm -rf site/source/locales/static-analysis-fr.json && yarn run i18next -c site/scripts/i18n/parser.config.js && node site/scripts/i18n/translate-ui.js"
|
2020-05-08 10:04:00 +00:00
|
|
|
},
|
2021-11-30 15:09:05 +00:00
|
|
|
"resolutions": {
|
|
|
|
"@mui/styled-engine": "npm:@mui/styled-engine-sc@latest"
|
|
|
|
}
|
2016-06-29 10:27:04 +00:00
|
|
|
}
|