145 lines
5.2 KiB
JSON
145 lines
5.2 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/betagouv/mon-entreprise.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.16.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.9.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.9.5",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
"@babel/preset-env": "^7.9.5",
|
|
"@babel/preset-react": "^7.9.4",
|
|
"@babel/preset-typescript": "^7.9.0",
|
|
"@jest/globals": "^27.0.6",
|
|
"@types/cheerio": "^0.22.18",
|
|
"@types/classnames": "^2.2.9",
|
|
"@types/color-convert": "^1.9.0",
|
|
"@types/iframe-resizer": "^3.5.7",
|
|
"@types/js-yaml": "^3.12.2",
|
|
"@types/mini-css-extract-plugin": "^0.9.1",
|
|
"@types/nearley": "^2.11.1",
|
|
"@types/ramda": "^0.26.43",
|
|
"@types/raven-for-redux": "^1.1.1",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-color": "^3.0.1",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@types/react-redux": "^7.1.11",
|
|
"@types/react-router": "^5.1.2",
|
|
"@types/react-router-hash-link": "^1.2.1",
|
|
"@types/react-syntax-highlighter": "^11.0.4",
|
|
"@types/recharts": "^1.8.16",
|
|
"@types/sinon": "^9.0.9",
|
|
"@types/sinon-chai": "^3.2.5",
|
|
"@types/styled-components": "^5.1.0",
|
|
"@types/webpack": "^4.41.10",
|
|
"@types/webpack-bundle-analyzer": "^2.13.3",
|
|
"@types/webpack-env": "^1.14.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
|
"@typescript-eslint/parser": "^5.5.0",
|
|
"autoprefixer": "^9.7.6",
|
|
"babel-eslint": "^11.0.0-beta.0",
|
|
"babel-jest": "^27.0.6",
|
|
"babel-loader": "^8.0.2",
|
|
"babel-plugin-ramda": "^2.0.0",
|
|
"babel-plugin-styled-components": "^1.10.7",
|
|
"babel-plugin-webpack-alias": "^2.1.2",
|
|
"chai": "^4.1.2",
|
|
"concurrently": "^6.0.2",
|
|
"connect-history-api-fallback": "^1.5.0",
|
|
"css-loader": "^0.28.11",
|
|
"csv-loader": "^2.1.1",
|
|
"dedent-js": "^1.0.1",
|
|
"dotenv": "=8.1.0",
|
|
"enzyme": "^3.3.0",
|
|
"enzyme-adapter-react-16": "^1.1.1",
|
|
"eslint": "^7.0.0",
|
|
"eslint-config-prettier": "^4.0.0",
|
|
"eslint-plugin-mocha": "^8.0.0",
|
|
"eslint-plugin-react": "^7.12.4",
|
|
"eslint-plugin-react-hooks": "^2.0.1",
|
|
"express": "^4.16.3",
|
|
"file-loader": "^1.1.11",
|
|
"html-loader": "^0.5.5",
|
|
"http-server": "^0.11.1",
|
|
"intl": "^1.2.5",
|
|
"intl-locales-supported": "^1.0.0",
|
|
"isomorphic-fetch": "^2.2.1",
|
|
"isomorphic-style-loader": "^5.1.0",
|
|
"jest": "^27.0.6",
|
|
"jest-transform-nearley": "^1.0.0",
|
|
"jsdom": "^12.0.0",
|
|
"json-loader": "^0.5.7",
|
|
"mini-css-extract-plugin": "^0.4.4",
|
|
"mocha": "^5.0.4",
|
|
"mocha-webpack": "^2.0.0-beta.0",
|
|
"mock-local-storage": "^1.0.5",
|
|
"nearley-loader": "^2.0.0",
|
|
"postcss-loader": "^2.1.2",
|
|
"prettier": "^2.3.2",
|
|
"raw-loader": "^0.5.1",
|
|
"react-hot-loader": "^4.12.15",
|
|
"rimraf": "^3.0.2",
|
|
"serve": "^11.1.0",
|
|
"sinon": "^9.2.2",
|
|
"sinon-chai": "^3.0.0",
|
|
"style-loader": "^0.23.1",
|
|
"terser-webpack-plugin": "^3.0.2",
|
|
"toml-loader": "^1.0.0",
|
|
"typescript": "^4.3.2",
|
|
"url-loader": "^4.1.0",
|
|
"webpack": "^4.42.0",
|
|
"webpack-bundle-analyzer": "^3.7.0",
|
|
"webpack-cli": "^3.1.2",
|
|
"webpack-dev-middleware": "^3.4.0",
|
|
"webpack-hot-middleware": "^2.24.2",
|
|
"yaml-loader": "^0.5.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"bundlesize": "^0.18.0",
|
|
"prerender-spa-plugin": "^3.4.0"
|
|
},
|
|
"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",
|
|
"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",
|
|
"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"
|
|
},
|
|
"workspaces": [
|
|
"modele-social",
|
|
"site"
|
|
],
|
|
"resolutions": {
|
|
"@mui/styled-engine": "npm:@mui/styled-engine-sc@latest"
|
|
},
|
|
"dependencies": {
|
|
"cypress": "^7.7.0",
|
|
"cypress-plugin-tab": "^1.0.5",
|
|
"cypress-wait-until": "^1.7.2"
|
|
}
|
|
}
|