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,
|
2022-04-06 09:01:39 +00:00
|
|
|
"main": "./source/entry-empty.js",
|
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": {
|
2022-03-03 13:37:53 +00:00
|
|
|
"postinstall": "node scripts/prepare.js",
|
2021-12-28 10:56:23 +00:00
|
|
|
"start": "vite dev",
|
2022-04-14 08:44:15 +00:00
|
|
|
"build": "NODE_OPTIONS='--max-old-space-size=4096'; vite build && yarn build:iframe-script",
|
|
|
|
"build:ssr": "NODE_OPTIONS='--max-old-space-size=4096'; vite build --ssr ./source/entry-server.tsx --outDir ./dist/server --emptyOutDir && echo '{\"module\": \"commonjs\"}' > dist/package.json",
|
2021-12-29 17:21:02 +00:00
|
|
|
"build:prerender": "node prerender.cjs",
|
2022-01-28 09:20:54 +00:00
|
|
|
"build:iframe-script": "vite build --config vite-iframe-script.config.ts",
|
2022-04-14 08:44:15 +00:00
|
|
|
"build:preview": "VITE_FR_BASE_URL=http://localhost:8888; VITE_EN_BASE_URL=http://localhost:8889; yarn build && yarn build:ssr && yarn build:prerender",
|
2022-04-13 16:42:50 +00:00
|
|
|
"preview:mon-entreprise": "sed 's|:SITE_FR||g' netlify.toml > dist/netlify.toml && cd dist && npx netlify-cli dev -p 8888",
|
|
|
|
"preview:infrance": "sed 's|:SITE_EN||g' netlify.toml > dist/netlify.toml && cd dist && npx netlify-cli dev -p 8889",
|
2021-12-03 11:38:16 +00:00
|
|
|
"typecheck:watch": "tsc --skipLibCheck --noEmit --watch",
|
2021-12-27 15:03:49 +00:00
|
|
|
"test": "vitest",
|
2021-12-03 11:38:16 +00:00
|
|
|
"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=",
|
2022-03-01 14:52:55 +00:00
|
|
|
"algolia:update": "node --loader ts-node/esm scripts/search/update-data.ts",
|
2022-02-07 07:33:59 +00:00
|
|
|
"algolia:clean": "node scripts/search/clean.js",
|
2022-02-09 09:26:56 +00:00
|
|
|
"i18n:check": "yarn i18n:rules:check && yarn i18n:ui:check",
|
|
|
|
"i18n:translate": "yarn i18n:rules:translate && yarn i18n:ui:translate",
|
2022-02-07 07:33:59 +00:00
|
|
|
"i18n:rules:check": "node scripts/i18n/check-missing-rule-translation.js",
|
|
|
|
"i18n:rules:translate": "node scripts/i18n/translate-rules.js",
|
2022-03-13 08:09:31 +00:00
|
|
|
"i18n:ui:check": "i18next -c scripts/i18n/parser.config.js && node scripts/i18n/check-missing-UI-translation.js",
|
|
|
|
"i18n:ui:translate": "rm -rf source/locales/static-analysis-fr.json && i18next -c scripts/i18n/parser.config.js && node scripts/i18n/translate-ui.js",
|
2022-03-03 13:37:53 +00:00
|
|
|
"storybook": "start-storybook -p 6006",
|
|
|
|
"build:storybook": "build-storybook"
|
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": {
|
2021-12-27 11:46:40 +00:00
|
|
|
"@emotion/react": "^11.7.1",
|
2021-12-07 08:12:57 +00:00
|
|
|
"@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",
|
2022-03-16 09:10:03 +00:00
|
|
|
"@react-aria/button": "^3.4.1",
|
2021-11-30 15:09:05 +00:00
|
|
|
"@react-aria/checkbox": "^3.2.3",
|
2022-03-16 09:10:03 +00:00
|
|
|
"@react-aria/dialog": "^3.1.6",
|
2021-11-30 15:09:05 +00:00
|
|
|
"@react-aria/i18n": "^3.3.2",
|
|
|
|
"@react-aria/numberfield": "^3.1.0",
|
2022-03-16 09:10:03 +00:00
|
|
|
"@react-aria/overlays": "^3.7.5",
|
2021-11-30 15:09:05 +00:00
|
|
|
"@react-aria/progress": "^3.1.3",
|
|
|
|
"@react-aria/radio": "^3.1.5",
|
|
|
|
"@react-aria/searchfield": "^3.2.0",
|
|
|
|
"@react-aria/select": "^3.5.0",
|
2021-12-29 17:21:02 +00:00
|
|
|
"@react-aria/ssr": "^3.1.0",
|
2022-03-03 13:37:53 +00:00
|
|
|
"@react-aria/switch": "^3.1.5",
|
2021-11-30 15:09:05 +00:00
|
|
|
"@react-aria/textfield": "^3.4.0",
|
2022-01-12 11:08:24 +00:00
|
|
|
"@react-pdf/renderer": "^2.0.21",
|
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",
|
2022-04-13 16:42:50 +00:00
|
|
|
"@sentry/integrations": "^6.19.6",
|
|
|
|
"@sentry/react": "^6.19.6",
|
|
|
|
"@sentry/tracing": "^6.19.6",
|
2021-06-28 17:30:15 +00:00
|
|
|
"algoliasearch": "^4.10.2",
|
2022-03-07 17:24:47 +00:00
|
|
|
"exoneration-covid": "workspace:^",
|
2021-10-21 08:27:25 +00:00
|
|
|
"fuse.js": "^6.4.6",
|
2022-03-16 09:10:03 +00:00
|
|
|
"iframe-resizer": "^4.3.2",
|
2022-03-17 14:43:37 +00:00
|
|
|
"markdown-to-jsx": "^7.1.7",
|
2022-03-07 17:24:47 +00:00
|
|
|
"modele-social": "workspace:^",
|
2022-02-10 11:07:19 +00:00
|
|
|
"publicodes": "^1.0.0-beta.32",
|
|
|
|
"publicodes-react": "^1.0.0-beta.32",
|
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",
|
2021-12-28 10:56:23 +00:00
|
|
|
"react-dom": "^17.0.0",
|
2020-05-08 10:04:00 +00:00
|
|
|
"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",
|
2022-04-13 16:42:50 +00:00
|
|
|
"react-redux": "^7.2.8",
|
2022-03-03 13:37:53 +00:00
|
|
|
"react-router": "^5.2.1",
|
|
|
|
"react-router-dom": "^5.3.0",
|
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-use-measure": "^2.0.4",
|
2022-01-12 09:39:49 +00:00
|
|
|
"recharts": "^2.1.8",
|
2020-05-08 10:04:00 +00:00
|
|
|
"reduce-reducers": "^1.0.4",
|
2022-04-13 16:42:50 +00:00
|
|
|
"redux": "^4.1.2",
|
2021-12-07 15:43:44 +00:00
|
|
|
"styled-components": "^5.3.1",
|
2022-03-08 15:54:13 +00:00
|
|
|
"whatwg-fetch": "^3.0.0"
|
2020-05-08 10:04:00 +00:00
|
|
|
},
|
2021-12-03 11:38:16 +00:00
|
|
|
"devDependencies": {
|
|
|
|
"@react-types/numberfield": "^3.1.0",
|
|
|
|
"@react-types/searchfield": "^3.1.2",
|
2022-02-09 09:26:56 +00:00
|
|
|
"@redux-devtools/extension": "^3.2.2",
|
2022-04-13 16:42:50 +00:00
|
|
|
"@rollup/plugin-replace": "^4.0.0",
|
2021-12-07 08:12:57 +00:00
|
|
|
"@rollup/plugin-yaml": "^3.1.0",
|
2022-03-17 14:43:37 +00:00
|
|
|
"@storybook/addon-actions": "^6.5.0-alpha.49",
|
|
|
|
"@storybook/addon-essentials": "^6.5.0-alpha.49",
|
|
|
|
"@storybook/addon-interactions": "^6.5.0-alpha.49",
|
|
|
|
"@storybook/addon-links": "^6.5.0-alpha.49",
|
2022-04-03 15:48:02 +00:00
|
|
|
"@storybook/builder-vite": "^0.1.23",
|
2022-03-17 14:43:37 +00:00
|
|
|
"@storybook/react": "^6.5.0-alpha.49",
|
2022-03-03 13:37:53 +00:00
|
|
|
"@storybook/testing-library": "^0.0.9",
|
2021-12-03 11:38:16 +00:00
|
|
|
"@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",
|
2022-04-13 16:42:50 +00:00
|
|
|
"@types/react-redux": "^7.1.23",
|
2022-03-03 13:37:53 +00:00
|
|
|
"@types/react-router": "^5.1.18",
|
|
|
|
"@types/react-router-dom": "^5.3.3",
|
2021-12-03 11:38:16 +00:00
|
|
|
"@types/recharts": "^1.8.16",
|
2022-02-08 15:37:43 +00:00
|
|
|
"@types/serve-static": "^1.13.10",
|
2022-03-28 13:40:07 +00:00
|
|
|
"@types/styled-components": "^5.1.24",
|
2022-03-17 14:43:37 +00:00
|
|
|
"@vitejs/plugin-legacy": "^1.7.1",
|
|
|
|
"@vitejs/plugin-react": "^1.2.0",
|
2022-04-14 09:58:31 +00:00
|
|
|
"cypress": "^9.5.4",
|
2021-12-03 11:38:16 +00:00
|
|
|
"cypress-plugin-tab": "^1.0.5",
|
|
|
|
"cypress-wait-until": "^1.7.2",
|
|
|
|
"dotenv": "=8.1.0",
|
2022-03-13 08:09:31 +00:00
|
|
|
"i18next-parser": "^6.0.0",
|
2021-12-03 11:38:16 +00:00
|
|
|
"isomorphic-fetch": "^2.2.1",
|
|
|
|
"rimraf": "^3.0.2",
|
2021-12-07 08:12:57 +00:00
|
|
|
"rollup-plugin-toml": "^1.0.0",
|
2022-02-08 15:37:43 +00:00
|
|
|
"serve-static": "^1.14.2",
|
2022-03-03 13:37:53 +00:00
|
|
|
"ts-morph": "^13.0.3",
|
2022-03-08 15:54:13 +00:00
|
|
|
"ts-node": "^10.5.0",
|
2021-12-03 11:38:16 +00:00
|
|
|
"typescript": "^4.3.2",
|
2022-04-03 15:40:00 +00:00
|
|
|
"vite": "^2.9.1",
|
2022-01-12 11:08:24 +00:00
|
|
|
"vite-plugin-shim-react-pdf": "^1.0.4",
|
2022-01-28 09:20:54 +00:00
|
|
|
"vitest": "^0.2.5",
|
2022-03-08 15:54:13 +00:00
|
|
|
"xml2js": "^0.4.23",
|
|
|
|
"yaml": "^1.9.2"
|
2020-05-08 10:04:00 +00:00
|
|
|
}
|
|
|
|
}
|