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
} ,
2020-12-19 14:08:22 +00:00
"private" : true ,
2020-05-08 10:04:00 +00:00
"engines" : {
2022-05-31 09:53:07 +00:00
"node" : "^16"
2020-05-08 10:04:00 +00:00
} ,
2022-03-31 13:14:24 +00:00
"type" : "module" ,
2021-12-13 14:16:34 +00:00
"browserslist" : [
"> 1% in FR" ,
"not ie < 11"
] ,
2021-12-03 11:38:16 +00:00
"scripts" : {
2021-12-28 10:56:23 +00:00
"start" : "vite dev" ,
2022-09-09 11:12:46 +00:00
"start:axe-debugging" : "VITE_AXE_CORE_ENABLED=true vite dev" ,
2022-06-29 20:35:03 +00:00
"start:netlify" : "sed 's|:SITE_EN|/infrance|g' netlify.base.toml | sed 's|:SITE_FR|/mon-entreprise|g' | sed 's|:API_URL|http://localhost:3004|g' | sed 's|\\[\\[redirects\\]\\]|\\[\\[redirects\\]\\]\\n force = true|g' > netlify.toml && HMR_CLIENT_PORT=8888 netlify dev" ,
2023-09-12 07:37:17 +00:00
"start:storybook" : "storybook dev -p 6006" ,
"postinstall" : "node scripts/prepare.js" ,
2023-02-02 11:12:45 +00:00
"build" : "NODE_OPTIONS='--max-old-space-size=6144'; yarn build:sitemap && yarn build:simulator-data && vite build && yarn build:iframe-script" ,
2023-09-12 07:37:17 +00:00
"build:iframe-script" : "NODE_OPTIONS='--max-old-space-size=4096'; vite build --config build/vite-iframe-script.config.ts" ,
"build:prerender" : "ts-node-esm build/prerender.ts" ,
2022-06-29 20:35:03 +00:00
"build:preview" : "VITE_FR_BASE_URL=http://localhost:8888; VITE_EN_BASE_URL=http://localhost:8889; yarn build && yarn build:ssr && cp ./netlify.base.toml ./netlify.preview.toml && yarn build:prerender --dev --netlify-toml-path ./netlify.preview.toml" ,
2023-09-12 07:37:17 +00:00
"build:simulator-data" : "vite build --config build/vite-build-simulation-data.config.ts" ,
"build:sitemap" : "ts-node-esm build/build-sitemap.ts" ,
"build:ssr" : "NODE_OPTIONS='--max-old-space-size=4096'; vite build --ssr ./source/entries/entry-server.tsx --outDir ./dist/ssr --emptyOutDir && echo '{\"type\": \"module\"}' > dist/package.json" ,
"build:storybook" : "NODE_OPTIONS='--max-old-space-size=6144'; storybook build" ,
2023-09-14 07:17:33 +00:00
"build:yaml-to-dts" : "ts-node-esm build/build-yaml-to-dts.ts" ,
2022-06-29 20:35:03 +00:00
"preview:mon-entreprise" : "sed 's|:SITE_EN|_|g' netlify.preview.toml | sed 's|:SITE_FR||g' | sed 's|:API_URL|http://localhost:3004|g' > dist/netlify.toml && cd dist && netlify dev -d ./ -p 8888" ,
"preview:infrance" : " sed 's|:SITE_EN||g' netlify.preview.toml | sed 's|:SITE_FR|_|g' | sed 's|:API_URL|http://localhost:3004|g' > dist/netlify.toml && cd dist && netlify dev -d ./ -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" ,
2022-07-11 16:03:27 +00:00
"test:dev-e2e:mon-entreprise" : "cypress open --e2e --config \"baseUrl=http://localhost:8888\"" ,
2022-06-21 11:29:03 +00:00
"test:dev-e2e:mycompanyinfrance" : "cypress open --e2e --config \"baseUrl=http://localhost:8889,specPattern=cypress/integration/mon-entreprise/english/**/*.{js,jsx,ts,tsx}\" --env language=en" ,
2021-12-03 11:38:16 +00:00
"test:record-http-calls:mon-entreprise" : "cypress run --env record_http=" ,
2022-02-07 07:33:59 +00:00
"algolia:clean" : "node scripts/search/clean.js" ,
2023-09-12 07:37:17 +00:00
"algolia:update" : "yarn build:simulator-data && ts-node-esm ./scripts/search/update-data.ts" ,
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" ,
2023-09-12 07:37:17 +00:00
"i18n:ui:translate" : "rm -rf source/locales/static-analysis-fr.json && i18next -c scripts/i18n/parser.config.js && node scripts/i18n/translate-ui.js"
2020-05-08 10:04:00 +00:00
} ,
"dependencies" : {
2022-12-12 09:36:14 +00:00
"@atomik-color/component" : "^1.0.17" ,
"@atomik-color/core" : "^1.0.13" ,
2023-09-19 17:21:16 +00:00
"@axe-core/react" : "^4.7.3" ,
2023-04-26 09:24:17 +00:00
"@floating-ui/react-dom" : "^1.3.0" ,
2023-09-19 17:21:16 +00:00
"@internationalized/number" : "^3.2.1" ,
"@leeoniya/ufuzzy" : "^1.0.10" ,
2023-04-26 12:17:28 +00:00
"@react-aria/accordion" : "^3.0.0-alpha.17" ,
2023-09-19 17:21:16 +00:00
"@react-pdf/renderer" : "^3.1.12" ,
"@sentry/integrations" : "^7.70.0" ,
"@sentry/react" : "^7.70.0" ,
"@sentry/tracing" : "^7.70.0" ,
"algoliasearch" : "^4.20.0" ,
"date-fns" : "^2.30.0" ,
2022-03-07 17:24:47 +00:00
"exoneration-covid" : "workspace:^" ,
2023-09-19 17:21:16 +00:00
"focus-trap-react" : "^10.2.1" ,
2022-11-23 17:06:12 +00:00
"fuse.js" : "^6.6.2" ,
2023-09-19 17:21:16 +00:00
"iframe-resizer" : "^4.3.7" ,
"isbot" : "^3.7.0" ,
"markdown-to-jsx" : "^7.3.2" ,
2022-03-07 17:24:47 +00:00
"modele-social" : "workspace:^" ,
2023-09-20 14:28:53 +00:00
"publicodes" : "^1.0.0-beta.74" ,
"publicodes-react" : "^1.0.0-beta.74" ,
2022-11-23 17:06:12 +00:00
"react" : "^18.2.0" ,
2023-04-26 09:18:07 +00:00
"react-aria" : "^3.24.0" ,
2023-04-25 18:27:46 +00:00
"react-day-picker" : "^8.7.1" ,
2022-11-23 17:06:12 +00:00
"react-dom" : "^18.2.0" ,
2023-01-16 12:24:23 +00:00
"react-easy-emoji" : "^1.8.1" ,
2023-07-24 16:07:06 +00:00
"react-flip-move" : "^3.0.5" ,
2022-11-23 17:06:12 +00:00
"react-helmet-async" : "^1.3.0" ,
2023-09-19 17:21:16 +00:00
"react-i18next" : "^12.3.1" ,
2022-11-23 17:06:12 +00:00
"react-instantsearch" : "^6.38.1" ,
"react-instantsearch-dom" : "^6.38.1" ,
2023-09-19 17:21:16 +00:00
"react-redux" : "^8.1.2" ,
"react-router-dom" : "^6.15.0" ,
2022-11-23 17:06:12 +00:00
"react-signature-pad-wrapper" : "^3.3.1" ,
"react-spring" : "^9.5.5" ,
2023-04-26 12:17:28 +00:00
"react-stately" : "^3.22.0" ,
2022-11-23 17:06:12 +00:00
"react-use-measure" : "^2.1.1" ,
2023-01-23 13:00:43 +00:00
"recharts" : "2.3.2" ,
2020-05-08 10:04:00 +00:00
"reduce-reducers" : "^1.0.4" ,
2023-09-19 17:21:16 +00:00
"redux" : "^4.2.1" ,
"reselect" : "^4.1.8" ,
"styled-components" : "^6.0.8" ,
"stylis" : "^4.3.0" ,
"whatwg-fetch" : "^3.6.19"
2020-05-08 10:04:00 +00:00
} ,
2021-12-03 11:38:16 +00:00
"devDependencies" : {
2023-09-13 08:58:17 +00:00
"@react-types/accordion" : "^3.0.0-alpha.16" ,
"@react-types/numberfield" : "^3.6.0" ,
"@react-types/searchfield" : "^3.5.0" ,
2023-07-31 13:06:11 +00:00
"@redux-devtools/extension" : "^3.2.5" ,
2023-02-20 15:51:23 +00:00
"@rollup/plugin-replace" : "^5.0.2" ,
2023-07-31 13:06:11 +00:00
"@rollup/plugin-yaml" : "^4.1.1" ,
2023-09-19 17:21:16 +00:00
"@rushstack/package-deps-hash" : "^3.2.67" ,
"@storybook/addon-a11y" : "^7.4.2" ,
"@storybook/addon-actions" : "^7.4.2" ,
"@storybook/addon-essentials" : "^7.4.2" ,
"@storybook/addon-interactions" : "^7.4.2" ,
"@storybook/addon-links" : "^7.4.2" ,
"@storybook/blocks" : "^7.4.2" ,
"@storybook/react" : "^7.4.2" ,
"@storybook/react-vite" : "^7.4.2" ,
2023-04-17 13:50:04 +00:00
"@storybook/testing-library" : "^0.1.0" ,
2022-06-22 10:27:23 +00:00
"@types/history" : "^5.0.0" ,
2023-09-19 17:21:16 +00:00
"@types/react" : "^18.2.22" ,
2023-07-31 13:06:11 +00:00
"@types/react-dom" : "^18.2.7" ,
2022-11-23 17:06:12 +00:00
"@types/react-instantsearch-dom" : "^6.12.3" ,
2023-09-19 17:21:16 +00:00
"@types/react-redux" : "^7.1.26" ,
2022-11-23 17:06:12 +00:00
"@types/recharts" : "^1.8.24" ,
2023-07-31 13:06:11 +00:00
"@types/serve-static" : "^1.15.2" ,
"@vitejs/plugin-legacy" : "^4.1.1" ,
"@vitejs/plugin-react-swc" : "^3.3.2" ,
2023-09-19 17:21:16 +00:00
"cypress" : "^12.17.4" ,
"cypress-axe" : "^1.5.0" ,
2021-12-03 11:38:16 +00:00
"cypress-plugin-tab" : "^1.0.5" ,
"cypress-wait-until" : "^1.7.2" ,
2023-07-31 13:06:11 +00:00
"dotenv" : "^16.3.1" ,
2023-09-19 17:21:16 +00:00
"i18next-parser" : "^8.7.0" ,
"netlify-cli" : "^16.4.0" ,
2021-12-07 08:12:57 +00:00
"rollup-plugin-toml" : "^1.0.0" ,
2022-11-30 19:09:29 +00:00
"serve-static" : "^1.15.0" ,
2023-09-19 17:21:16 +00:00
"storybook" : "^7.4.3" ,
"ts-morph" : "^19.0.0" ,
2022-11-30 19:09:29 +00:00
"ts-node" : "^10.9.1" ,
2023-09-06 10:59:43 +00:00
"typescript" : "^5.2.2" ,
2023-07-31 13:06:11 +00:00
"vite" : "^4.4.9" ,
2023-09-19 17:21:16 +00:00
"vite-plugin-pwa" : "^0.16.5" ,
"vitest" : "^0.34.4" ,
2023-07-31 13:06:11 +00:00
"workbox-expiration" : "^7.0.0" ,
"workbox-navigation-preload" : "^7.0.0" ,
"workbox-precaching" : "^7.0.0" ,
"workbox-routing" : "^7.0.0" ,
"workbox-strategies" : "^7.0.0" ,
"workbox-window" : "^7.0.0" ,
2022-03-08 15:54:13 +00:00
"xml2js" : "^0.4.23" ,
2023-09-19 17:21:16 +00:00
"yaml" : "^2.3.2"
2020-05-08 10:04:00 +00:00
}
}