2020-05-08 12:04:00 +02:00
{
2021-12-02 12:39:03 +01:00
"name" : "site" ,
2020-05-08 12:04:00 +02:00
"license" : "MIT" ,
2021-12-16 12:00:28 +01:00
"version" : "2.0.0" ,
"description" : "Code source du site mon-entreprise" ,
2020-05-08 12:04:00 +02:00
"repository" : {
"type" : "git" ,
"url" : "https://github.com/betagouv/mon-entreprise.git" ,
2021-12-16 12:00:28 +01:00
"directory" : "site"
2020-05-08 12:04:00 +02:00
} ,
2020-12-19 15:08:22 +01:00
"private" : true ,
2020-05-08 12:04:00 +02:00
"engines" : {
2022-05-31 11:53:07 +02:00
"node" : "^16"
2020-05-08 12:04:00 +02:00
} ,
2022-03-31 15:14:24 +02:00
"type" : "module" ,
2021-12-13 15:16:34 +01:00
"browserslist" : [
"> 1% in FR" ,
"not ie < 11"
] ,
2021-12-03 12:38:16 +01:00
"scripts" : {
2022-05-31 11:53:07 +02:00
"build:yaml-to-dts" : "ts-node-esm scripts/build-yaml-to-dts.ts" ,
2022-03-03 14:37:53 +01:00
"postinstall" : "node scripts/prepare.js" ,
2021-12-28 11:56:23 +01:00
"start" : "vite dev" ,
2022-09-09 13:12:46 +02:00
"start:axe-debugging" : "VITE_AXE_CORE_ENABLED=true vite dev" ,
2022-06-29 22:35:03 +02: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" ,
2022-06-13 13:07:46 +02:00
"build" : "NODE_OPTIONS='--max-old-space-size=6144'; yarn build:sitemap && vite build && yarn build:iframe-script" ,
2022-04-14 10:44:15 +02:00
"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" ,
2022-06-21 13:34:44 +02:00
"build:prerender" : "ts-node-esm prerender.ts" ,
2022-04-14 19:34:27 +02:00
"build:iframe-script" : "NODE_OPTIONS='--max-old-space-size=4096'; vite build --config vite-iframe-script.config.ts" ,
2022-06-13 13:07:46 +02:00
"build:sitemap" : "ts-node-esm scripts/build-sitemap.ts" ,
2022-06-29 22:35:03 +02: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" ,
"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 12:38:16 +01:00
"typecheck:watch" : "tsc --skipLibCheck --noEmit --watch" ,
2021-12-27 16:03:49 +01:00
"test" : "vitest" ,
2022-07-11 18:03:27 +02:00
"test:dev-e2e:mon-entreprise" : "cypress open --e2e --config \"baseUrl=http://localhost:8888\"" ,
2022-06-21 13:29:03 +02: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 12:38:16 +01:00
"test:record-http-calls:mon-entreprise" : "cypress run --env record_http=" ,
2022-03-01 15:52:55 +01:00
"algolia:update" : "node --loader ts-node/esm scripts/search/update-data.ts" ,
2022-02-07 08:33:59 +01:00
"algolia:clean" : "node scripts/search/clean.js" ,
2022-02-09 10:26:56 +01:00
"i18n:check" : "yarn i18n:rules:check && yarn i18n:ui:check" ,
"i18n:translate" : "yarn i18n:rules:translate && yarn i18n:ui:translate" ,
2022-02-07 08:33:59 +01:00
"i18n:rules:check" : "node scripts/i18n/check-missing-rule-translation.js" ,
"i18n:rules:translate" : "node scripts/i18n/translate-rules.js" ,
2022-03-13 09:09:31 +01: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 14:37:53 +01:00
"storybook" : "start-storybook -p 6006" ,
"build:storybook" : "build-storybook"
2020-05-08 12:04:00 +02:00
} ,
"dependencies" : {
2022-09-09 13:12:46 +02:00
"@axe-core/react" : "^4.4.4" ,
2021-11-30 16:09:05 +01:00
"@internationalized/number" : "^3.0.3" ,
2022-03-31 15:14:24 +02:00
"@react-aria/accordion" : "^3.0.0-alpha.5" ,
2022-03-16 10:10:03 +01:00
"@react-aria/button" : "^3.4.1" ,
2021-11-30 16:09:05 +01:00
"@react-aria/checkbox" : "^3.2.3" ,
2022-03-16 10:10:03 +01:00
"@react-aria/dialog" : "^3.1.6" ,
2021-11-30 16:09:05 +01:00
"@react-aria/i18n" : "^3.3.2" ,
"@react-aria/numberfield" : "^3.1.0" ,
2022-03-16 10:10:03 +01:00
"@react-aria/overlays" : "^3.7.5" ,
2021-11-30 16:09:05 +01: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 18:21:02 +01:00
"@react-aria/ssr" : "^3.1.0" ,
2022-03-03 14:37:53 +01:00
"@react-aria/switch" : "^3.1.5" ,
2021-11-30 16:09:05 +01:00
"@react-aria/textfield" : "^3.4.0" ,
2022-01-12 12:08:24 +01:00
"@react-pdf/renderer" : "^2.0.21" ,
2021-11-30 16:09:05 +01:00
"@react-stately/radio" : "^3.3.2" ,
"@react-stately/searchfield" : "^3.1.3" ,
"@react-stately/toggle" : "^3.2.3" ,
2022-03-31 15:14:24 +02:00
"@react-stately/tree" : "^3.2.3" ,
2022-04-13 18:42:50 +02:00
"@sentry/integrations" : "^6.19.6" ,
"@sentry/react" : "^6.19.6" ,
"@sentry/tracing" : "^6.19.6" ,
2021-06-28 19:30:15 +02:00
"algoliasearch" : "^4.10.2" ,
2022-03-07 18:24:47 +01:00
"exoneration-covid" : "workspace:^" ,
2021-10-21 10:27:25 +02:00
"fuse.js" : "^6.4.6" ,
2022-03-16 10:10:03 +01:00
"iframe-resizer" : "^4.3.2" ,
2022-06-22 18:20:57 +02:00
"isbot" : "^3.5.0" ,
2022-03-17 15:43:37 +01:00
"markdown-to-jsx" : "^7.1.7" ,
2022-03-07 18:24:47 +01:00
"modele-social" : "workspace:^" ,
2022-09-15 10:28:51 +02:00
"publicodes" : "^1.0.0-beta.52" ,
"publicodes-react" : "^1.0.0-beta.52" ,
2020-10-27 17:28:23 +01:00
"react" : "^17.0.0" ,
2022-08-23 12:34:51 +02:00
"react-colorful" : "^5.5.1" ,
2021-12-28 11:56:23 +01:00
"react-dom" : "^17.0.0" ,
2022-07-05 10:08:02 +02:00
"react-easy-emoji" : "^1.6.1" ,
2021-10-26 17:27:48 +02:00
"react-helmet-async" : "^1.1.2" ,
2020-05-08 12:04:00 +02:00
"react-i18next" : "^11.0.0" ,
2021-06-28 19:30:15 +02:00
"react-instantsearch" : "^6.11.2" ,
"react-instantsearch-dom" : "^6.11.2" ,
2022-04-13 18:42:50 +02:00
"react-redux" : "^7.2.8" ,
2022-07-25 11:02:08 +02:00
"react-router-dom" : "^6.3.0" ,
2020-06-25 19:41:58 +02:00
"react-signature-pad-wrapper" : "^1.2.11" ,
2021-12-07 16:43:44 +01:00
"react-spring" : "^9.3.1" ,
"react-use-measure" : "^2.0.4" ,
2022-01-12 10:39:49 +01:00
"recharts" : "^2.1.8" ,
2020-05-08 12:04:00 +02:00
"reduce-reducers" : "^1.0.4" ,
2022-04-13 18:42:50 +02:00
"redux" : "^4.1.2" ,
2021-12-07 16:43:44 +01:00
"styled-components" : "^5.3.1" ,
2022-03-08 16:54:13 +01:00
"whatwg-fetch" : "^3.0.0"
2020-05-08 12:04:00 +02:00
} ,
2021-12-03 12:38:16 +01:00
"devDependencies" : {
2022-03-31 15:14:24 +02:00
"@react-types/accordion" : "^3.0.0-alpha.4" ,
2021-12-03 12:38:16 +01:00
"@react-types/numberfield" : "^3.1.0" ,
"@react-types/searchfield" : "^3.1.2" ,
2022-02-09 10:26:56 +01:00
"@redux-devtools/extension" : "^3.2.2" ,
2022-04-13 18:42:50 +02:00
"@rollup/plugin-replace" : "^4.0.0" ,
2021-12-07 09:12:57 +01:00
"@rollup/plugin-yaml" : "^3.1.0" ,
2022-05-31 11:53:07 +02:00
"@rushstack/package-deps-hash" : "^3.2.20" ,
2022-03-17 15:43:37 +01: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 17:48:02 +02:00
"@storybook/builder-vite" : "^0.1.23" ,
2022-03-17 15:43:37 +01:00
"@storybook/react" : "^6.5.0-alpha.49" ,
2022-03-03 14:37:53 +01:00
"@storybook/testing-library" : "^0.0.9" ,
2022-06-22 12:27:23 +02:00
"@types/history" : "^5.0.0" ,
2021-12-03 12:51:43 +01:00
"@types/react" : "^17.0.0" ,
2021-12-03 12:38:16 +01:00
"@types/react-color" : "^3.0.1" ,
"@types/react-dom" : "^17.0.9" ,
2021-12-03 12:51:43 +01:00
"@types/react-instantsearch-dom" : "^6.10.1" ,
2022-04-13 18:42:50 +02:00
"@types/react-redux" : "^7.1.23" ,
2021-12-03 12:38:16 +01:00
"@types/recharts" : "^1.8.16" ,
2022-02-08 16:37:43 +01:00
"@types/serve-static" : "^1.13.10" ,
2022-03-28 15:40:07 +02:00
"@types/styled-components" : "^5.1.24" ,
2022-05-23 11:11:20 +02:00
"@vitejs/plugin-legacy" : "^1.8.2" ,
"@vitejs/plugin-react" : "^1.3.2" ,
2022-05-24 19:00:18 +02:00
"cypress" : "^10.7.0" ,
2021-12-03 12:38:16 +01:00
"cypress-plugin-tab" : "^1.0.5" ,
"cypress-wait-until" : "^1.7.2" ,
"dotenv" : "=8.1.0" ,
2022-03-13 09:09:31 +01:00
"i18next-parser" : "^6.0.0" ,
2021-12-03 12:38:16 +01:00
"isomorphic-fetch" : "^2.2.1" ,
2022-06-29 22:35:03 +02:00
"netlify-cli" : "^10.6.3" ,
2021-12-03 12:38:16 +01:00
"rimraf" : "^3.0.2" ,
2021-12-07 09:12:57 +01:00
"rollup-plugin-toml" : "^1.0.0" ,
2022-02-08 16:37:43 +01:00
"serve-static" : "^1.14.2" ,
2022-03-03 14:37:53 +01:00
"ts-morph" : "^13.0.3" ,
2022-05-31 11:53:07 +02:00
"ts-node" : "^10.8.0" ,
2022-09-08 20:27:57 +02:00
"typescript" : "^4.8.3" ,
2022-06-30 19:32:57 +02:00
"vite" : "^2.9.13" ,
2022-08-22 16:01:38 +02:00
"vite-plugin-pwa" : "^0.12.3" ,
2022-05-23 11:11:20 +02:00
"vite-plugin-shim-react-pdf" : "^1.0.5" ,
2022-04-24 19:27:54 +02:00
"vitest" : "^0.9.4" ,
2022-07-05 10:08:02 +02:00
"workbox-expiration" : "^6.5.3" ,
2022-07-04 17:10:00 +02:00
"workbox-navigation-preload" : "^6.5.3" ,
"workbox-precaching" : "^6.5.3" ,
"workbox-routing" : "^6.5.3" ,
"workbox-strategies" : "^6.5.3" ,
2022-06-30 19:32:57 +02:00
"workbox-window" : "^6.5.3" ,
2022-03-08 16:54:13 +01:00
"xml2js" : "^0.4.23" ,
2022-05-24 19:00:18 +02:00
"yaml" : "^2.1.1"
2020-05-08 12:04:00 +02:00
}
}