mon-entreprise/package.json

35 lines
1.2 KiB
JSON

{
"name": "root",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/betagouv/mon-entreprise.git"
},
"engines": {
"node": ">=12.16.1"
},
"workspaces": [
"modele-social",
"site"
],
"type": "module",
"scripts": {
"lint:eslintrc": "npx eslint-config-prettier .eslintrc.cjs",
"lint:eslint": "export 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",
"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",
"test:type": "yarn workspaces run tsc --skipLibCheck --noEmit",
"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"
},
"resolutions": {
"@mui/styled-engine": "npm:@mui/styled-engine-sc@latest"
}
}