2020-05-08 10:04:00 +00:00
|
|
|
{
|
2021-12-02 11:39:03 +00:00
|
|
|
"name": "site",
|
2020-05-08 10:04:00 +00:00
|
|
|
"license": "MIT",
|
2021-12-16 11:00:28 +00:00
|
|
|
"version": "2.0.0",
|
|
|
|
"description": "Code source du site mon-entreprise",
|
2020-05-08 10:04:00 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/betagouv/mon-entreprise.git",
|
2021-12-16 11:00:28 +00:00
|
|
|
"directory": "site"
|
2020-05-08 10:04:00 +00:00
|
|
|
},
|
2021-12-07 12:46:03 +00:00
|
|
|
"type": "module",
|
2020-12-19 14:08:22 +00:00
|
|
|
"private": true,
|
2020-05-08 10:04:00 +00:00
|
|
|
"engines": {
|
|
|
|
"node": ">=12.16.1"
|
|
|
|
},
|
2021-12-13 14:16:34 +00:00
|
|
|
"browserslist": [
|
|
|
|
"> 1% in FR",
|
|
|
|
"not ie < 11"
|
|
|
|
],
|
2021-12-03 11:38:16 +00:00
|
|
|
"scripts": {
|
|
|
|
"prepare": "node scripts/prepare.js",
|
2021-12-07 08:12:57 +00:00
|
|
|
"build": "vite build",
|
2021-12-03 11:38:16 +00:00
|
|
|
"typecheck:watch": "tsc --skipLibCheck --noEmit --watch",
|
|
|
|
"test": "yarn test:file \"./{,!(node_modules)/**/}!(webpack).test.{js,ts}\"",
|
|
|
|
"test:file": "yarn mocha-webpack --webpack-config ./webpack.dev.js --require mock-local-storage --require test/helpers/browser.js",
|
|
|
|
"test:bundlesize": "bundlesize",
|
|
|
|
"test:dev-e2e:mon-entreprise": "cypress open --browser chromium",
|
|
|
|
"test:dev-e2e:mycompanyinfrance": "cypress open --browser chromium --config baseUrl=http://localhost:8080/infrance,integrationFolder=cypress/integration/mon-entreprise/english --env language=en",
|
|
|
|
"test:record-http-calls:mon-entreprise": "cypress run --env record_http=",
|
2021-12-07 08:12:57 +00:00
|
|
|
"start": "vite",
|
2021-12-03 11:38:16 +00:00
|
|
|
"serve:dev:mycompanyinfrance": "PORT=5001 serve --config serve.infrance.json --no-clipboard",
|
|
|
|
"algolia:update": "node scripts/search/update-data.js",
|
2021-12-07 08:12:57 +00:00
|
|
|
"algolia:clean": "node scripts/search/clean.js",
|
|
|
|
"build-vite": "vite build",
|
|
|
|
"preview-vite": "vite preview"
|
2020-05-08 10:04:00 +00:00
|
|
|
},
|
2022-01-25 17:45:57 +00:00
|
|
|
"resolutions": {
|
|
|
|
"@mui/styled-engine": "npm:@mui/styled-engine-sc@latest"
|
|
|
|
},
|
2020-05-08 10:04:00 +00:00
|
|
|
"dependencies": {
|
|
|
|
"@babel/runtime": "^7.3.4",
|
2021-12-07 08:12:57 +00:00
|
|
|
"@emotion/react": "^11.7.0",
|
|
|
|
"@emotion/styled": "^11.6.0",
|
2021-12-13 14:16:34 +00:00
|
|
|
"@icons/material": "^0.4.1",
|
2021-11-30 15:09:05 +00:00
|
|
|
"@internationalized/number": "^3.0.3",
|
|
|
|
"@mui/material": "^5.0.4",
|
|
|
|
"@mui/styled-engine": "npm:@mui/styled-engine-sc@latest",
|
|
|
|
"@react-aria/button": "^3.3.4",
|
|
|
|
"@react-aria/checkbox": "^3.2.3",
|
|
|
|
"@react-aria/dialog": "^3.1.4",
|
|
|
|
"@react-aria/i18n": "^3.3.2",
|
|
|
|
"@react-aria/numberfield": "^3.1.0",
|
|
|
|
"@react-aria/overlays": "^3.7.2",
|
|
|
|
"@react-aria/progress": "^3.1.3",
|
|
|
|
"@react-aria/radio": "^3.1.5",
|
|
|
|
"@react-aria/searchfield": "^3.2.0",
|
|
|
|
"@react-aria/select": "^3.5.0",
|
|
|
|
"@react-aria/textfield": "^3.4.0",
|
2020-08-27 16:09:10 +00:00
|
|
|
"@react-pdf/renderer": "^1.6.10",
|
2021-11-30 15:09:05 +00:00
|
|
|
"@react-stately/radio": "^3.3.2",
|
|
|
|
"@react-stately/searchfield": "^3.1.3",
|
|
|
|
"@react-stately/toggle": "^3.2.3",
|
|
|
|
"@rehooks/local-storage": "2.4.0",
|
2021-05-03 11:28:31 +00:00
|
|
|
"@sentry/react": "^6.3.5",
|
|
|
|
"@sentry/tracing": "^6.3.5",
|
2021-06-28 17:30:15 +00:00
|
|
|
"algoliasearch": "^4.10.2",
|
2020-05-08 10:04:00 +00:00
|
|
|
"core-js": "^3.2.1",
|
2021-10-21 08:27:25 +00:00
|
|
|
"fuse.js": "^6.4.6",
|
2020-05-08 10:04:00 +00:00
|
|
|
"iframe-resizer": "^4.1.1",
|
2022-01-17 18:01:59 +00:00
|
|
|
"modele-social": "^0.5.0",
|
2021-12-07 12:46:03 +00:00
|
|
|
"publicodes": "^1.0.0-beta.25",
|
|
|
|
"publicodes-react": "^1.0.0-beta.25",
|
2020-05-08 10:04:00 +00:00
|
|
|
"ramda": "^0.27.0",
|
2020-10-27 16:28:23 +00:00
|
|
|
"react": "^17.0.0",
|
2020-05-08 10:04:00 +00:00
|
|
|
"react-color": "^2.14.0",
|
|
|
|
"react-dom": "npm:@hot-loader/react-dom",
|
|
|
|
"react-easy-emoji": "^1.2.0",
|
2021-10-26 15:27:48 +00:00
|
|
|
"react-helmet-async": "^1.1.2",
|
2020-05-08 10:04:00 +00:00
|
|
|
"react-i18next": "^11.0.0",
|
2021-06-28 17:30:15 +00:00
|
|
|
"react-instantsearch": "^6.11.2",
|
|
|
|
"react-instantsearch-dom": "^6.11.2",
|
2020-05-08 10:04:00 +00:00
|
|
|
"react-markdown": "^4.1.0",
|
|
|
|
"react-redux": "^7.0.3",
|
|
|
|
"react-router-dom": "^5.1.1",
|
|
|
|
"react-router-hash-link": "^1.2.2",
|
2020-06-25 17:41:58 +00:00
|
|
|
"react-signature-pad-wrapper": "^1.2.11",
|
2021-12-07 15:43:44 +00:00
|
|
|
"react-spring": "^9.3.1",
|
|
|
|
"react-syntax-highlighter": "^10.1.1",
|
|
|
|
"react-use-measure": "^2.0.4",
|
|
|
|
"react-useportal": "^1.0.13",
|
2020-05-08 10:04:00 +00:00
|
|
|
"recharts": "^1.8.5",
|
|
|
|
"reduce-reducers": "^1.0.4",
|
|
|
|
"redux": "^4.0.4",
|
|
|
|
"regenerator-runtime": "^0.13.3",
|
|
|
|
"reselect": "^4.0.0",
|
2021-12-07 15:43:44 +00:00
|
|
|
"styled-components": "^5.3.1",
|
2020-05-08 10:04:00 +00:00
|
|
|
"swr": "^0.1.16",
|
|
|
|
"whatwg-fetch": "^3.0.0",
|
|
|
|
"yaml": "^1.9.2"
|
|
|
|
},
|
2021-12-03 11:38:16 +00:00
|
|
|
"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",
|
2021-12-07 08:12:57 +00:00
|
|
|
"@originjs/vite-plugin-commonjs": "^1.0.0-beta3",
|
2021-12-03 11:38:16 +00:00
|
|
|
"@react-types/numberfield": "^3.1.0",
|
|
|
|
"@react-types/searchfield": "^3.1.2",
|
2021-12-07 08:12:57 +00:00
|
|
|
"@rollup/plugin-yaml": "^3.1.0",
|
2021-12-03 11:38:16 +00:00
|
|
|
"@types/cheerio": "^0.22.18",
|
|
|
|
"@types/iframe-resizer": "^3.5.7",
|
|
|
|
"@types/js-yaml": "^3.12.2",
|
|
|
|
"@types/mini-css-extract-plugin": "^0.9.1",
|
|
|
|
"@types/mocha": "^8.2.2",
|
|
|
|
"@types/ramda": "^0.26.43",
|
2021-12-03 11:51:43 +00:00
|
|
|
"@types/react": "^17.0.0",
|
2021-12-03 11:38:16 +00:00
|
|
|
"@types/react-color": "^3.0.1",
|
|
|
|
"@types/react-dom": "^17.0.9",
|
2021-12-03 11:51:43 +00:00
|
|
|
"@types/react-instantsearch-dom": "^6.10.1",
|
2021-12-03 11:38:16 +00:00
|
|
|
"@types/react-redux": "^7.1.11",
|
|
|
|
"@types/react-router": "^5.1.2",
|
2021-12-03 11:51:43 +00:00
|
|
|
"@types/react-router-hash-link": "^1.2.1",
|
2021-12-03 11:38:16 +00:00
|
|
|
"@types/recharts": "^1.8.16",
|
|
|
|
"@types/sinon": "^9.0.9",
|
2021-12-03 11:51:43 +00:00
|
|
|
"@types/sinon-chai": "^3.2.5",
|
2021-12-03 11:38:16 +00:00
|
|
|
"@types/styled-components": "^5.1.9",
|
2021-12-03 11:51:43 +00:00
|
|
|
"@types/webpack": "^4.41.10",
|
2021-12-03 11:38:16 +00:00
|
|
|
"@types/webpack-bundle-analyzer": "^2.13.3",
|
|
|
|
"@types/webpack-env": "^1.14.1",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^4.0.1",
|
|
|
|
"@typescript-eslint/parser": "^4.0.1",
|
2021-12-07 08:12:57 +00:00
|
|
|
"@vitejs/plugin-react": "^1.1.0",
|
2021-12-03 11:38:16 +00:00
|
|
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.3.1",
|
|
|
|
"autoprefixer": "^9.7.6",
|
|
|
|
"babel-eslint": "^11.0.0-beta.0",
|
|
|
|
"babel-jest": "^27.0.6",
|
|
|
|
"babel-loader": "^8.0.2",
|
|
|
|
"babel-plugin-styled-components": "^1.10.7",
|
|
|
|
"chai": "^4.1.2",
|
|
|
|
"concurrently": "^6.0.2",
|
|
|
|
"connect-history-api-fallback": "^1.5.0",
|
|
|
|
"copy-webpack-plugin": "^4.5.2",
|
|
|
|
"css-loader": "^0.28.11",
|
2021-12-03 11:51:43 +00:00
|
|
|
"cypress": "^7.7.0",
|
2021-12-03 11:38:16 +00:00
|
|
|
"cypress-plugin-tab": "^1.0.5",
|
|
|
|
"cypress-wait-until": "^1.7.2",
|
|
|
|
"dotenv": "=8.1.0",
|
|
|
|
"enzyme": "^3.3.0",
|
2021-12-03 11:51:43 +00:00
|
|
|
"enzyme-adapter-react-16": "^1.1.1",
|
|
|
|
"eslint": "^7.0.0",
|
2021-12-03 11:38:16 +00:00
|
|
|
"eslint-config-prettier": "^4.0.0",
|
|
|
|
"eslint-plugin-mocha": "^8.0.0",
|
|
|
|
"eslint-plugin-react": "^7.12.4",
|
2021-12-03 11:51:43 +00:00
|
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
2021-12-03 11:38:16 +00:00
|
|
|
"express": "^4.16.3",
|
|
|
|
"file-loader": "^1.1.11",
|
|
|
|
"html-loader": "^0.5.5",
|
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2022-01-26 12:38:21 +00:00
|
|
|
"http-proxy-middleware": "^2.0.2",
|
2021-12-03 11:38:16 +00:00
|
|
|
"http-server": "^0.11.1",
|
2021-12-07 12:46:03 +00:00
|
|
|
"i18next-parser": "^5.3.0",
|
2021-12-03 11:38:16 +00:00
|
|
|
"isomorphic-fetch": "^2.2.1",
|
|
|
|
"isomorphic-style-loader": "^5.1.0",
|
|
|
|
"jest": "^27.0.6",
|
|
|
|
"jsdom": "^12.0.0",
|
|
|
|
"json-loader": "^0.5.7",
|
|
|
|
"mini-css-extract-plugin": "^0.4.4",
|
|
|
|
"mocha": "^5.0.4",
|
2021-12-03 11:51:43 +00:00
|
|
|
"mocha-webpack": "^2.0.0-beta.0",
|
2021-12-03 11:38:16 +00:00
|
|
|
"mock-local-storage": "^1.0.5",
|
|
|
|
"postcss-loader": "^2.1.2",
|
|
|
|
"prettier": "^2.3.2",
|
|
|
|
"raw-loader": "^0.5.1",
|
|
|
|
"react-hot-loader": "^4.12.15",
|
|
|
|
"rimraf": "^3.0.2",
|
2021-12-07 08:12:57 +00:00
|
|
|
"rollup-plugin-toml": "^1.0.0",
|
2021-12-03 11:38:16 +00:00
|
|
|
"serve": "^11.1.0",
|
|
|
|
"sinon": "^9.2.2",
|
2021-12-03 11:51:43 +00:00
|
|
|
"sinon-chai": "^3.0.0",
|
2021-12-03 11:38:16 +00:00
|
|
|
"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",
|
2021-12-07 08:12:57 +00:00
|
|
|
"vite": "^2.5.1",
|
|
|
|
"vite-plugin-html": "2.0.7",
|
2021-12-03 11:51:43 +00:00
|
|
|
"webpack": "^4.42.0",
|
2021-12-03 11:38:16 +00:00
|
|
|
"webpack-bundle-analyzer": "^3.7.0",
|
|
|
|
"webpack-cli": "^3.1.2",
|
|
|
|
"webpack-dev-middleware": "^3.4.0",
|
|
|
|
"webpack-hot-middleware": "^2.24.2",
|
|
|
|
"workbox-webpack-plugin": "^6.0.2",
|
|
|
|
"worker-loader": "^2.0.0",
|
2021-12-13 14:16:34 +00:00
|
|
|
"xml2js": "^0.4.23",
|
2021-12-03 11:38:16 +00:00
|
|
|
"yaml-loader": "^0.5.0"
|
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
|
|
|
"bundlesize": "^0.18.0",
|
|
|
|
"prerender-spa-plugin": "^3.4.0"
|
2020-05-08 10:04:00 +00:00
|
|
|
}
|
|
|
|
}
|