mon-entreprise/package.json

42 lines
1.9 KiB
JSON
Raw Normal View History

2016-06-29 10:27:04 +00:00
{
"name": "root",
"private": true,
"repository": {
"type": "git",
2019-09-25 15:42:06 +00:00
"url": "https://github.com/betagouv/mon-entreprise.git"
},
"engines": {
"node": ">=12.16.1"
},
"workspaces": [
"modele-social",
"site"
],
"scripts": {
"lint:eslintrc": "eslint --print-config .eslintrc.js | eslint-config-prettier-check",
"lint:eslint": "export NODE_OPTIONS='--max-old-space-size=4096'; eslint . --ext .js,.jsx,.ts,.tsx",
"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",
"prepare": "if [ -z \"$NETLIFY\" ]; then yarn workspaces run prepare; fi",
"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",
"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",
"start": "yarn workspace site start",
"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"
},
"resolutions": {
"@mui/styled-engine": "npm:@mui/styled-engine-sc@latest"
}
2016-06-29 10:27:04 +00:00
}