mon-entreprise/site/package.json

165 lines
6.9 KiB
JSON
Raw Normal View History

{
"name": "site",
"license": "MIT",
"version": "2.0.0",
"description": "Code source du site mon-entreprise",
"repository": {
"type": "git",
"url": "https://github.com/betagouv/mon-entreprise.git",
"directory": "site"
},
"private": true,
"engines": {
"node": "^16"
},
"type": "module",
"browserslist": [
"> 1% in FR",
"not ie < 11"
],
"scripts": {
"build:yaml-to-dts": "ts-node-esm scripts/build-yaml-to-dts.ts",
"postinstall": "node scripts/prepare.js",
"start": "vite dev",
"start:axe-debugging": "VITE_AXE_CORE_ENABLED=true vite dev",
"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-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",
"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:prerender": "ts-node-esm prerender.ts",
2023-02-02 11:12:45 +00:00
"build:simulator-data": "vite build --config vite-build-simulation-data.config.ts",
2022-04-14 17:34:27 +00:00
"build:iframe-script": "NODE_OPTIONS='--max-old-space-size=4096'; vite build --config vite-iframe-script.config.ts",
2022-06-13 11:07:46 +00:00
"build:sitemap": "ts-node-esm scripts/build-sitemap.ts",
"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",
"typecheck:watch": "tsc --skipLibCheck --noEmit --watch",
"test": "vitest",
"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",
"test:record-http-calls:mon-entreprise": "cypress run --env record_http=",
2023-02-02 11:12:45 +00:00
"algolia:update": "yarn build:simulator-data && ts-node-esm ./scripts/search/update-data.ts",
"algolia:clean": "node scripts/search/clean.js",
"i18n:check": "yarn i18n:rules:check && yarn i18n:ui:check",
"i18n:translate": "yarn i18n:rules:translate && yarn i18n:ui:translate",
"i18n:rules:check": "node scripts/i18n/check-missing-rule-translation.js",
"i18n:rules:translate": "node scripts/i18n/translate-rules.js",
"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",
2023-04-17 13:50:04 +00:00
"start:storybook": "storybook dev -p 6006",
"build:storybook": "storybook build"
},
"dependencies": {
"@atomik-color/component": "^1.0.17",
"@atomik-color/core": "^1.0.13",
2022-11-22 11:14:11 +00:00
"@axe-core/react": "^4.5.2",
2023-03-01 13:34:40 +00:00
"@internationalized/number": "^3.2.0",
2022-12-15 15:04:50 +00:00
"@leeoniya/ufuzzy": "^1.0.2",
2023-04-05 14:50:33 +00:00
"@publicodes/api": "^1.0.0-beta.69",
2023-03-01 13:34:40 +00:00
"@react-aria/accordion": "^3.0.0-alpha.15",
"@react-aria/button": "^3.7.0",
"@react-aria/checkbox": "^3.8.0",
"@react-aria/dialog": "^3.5.0",
"@react-aria/i18n": "^3.7.0",
"@react-aria/numberfield": "^3.4.0",
"@react-aria/overlays": "^3.13.0",
"@react-aria/progress": "^3.4.0",
"@react-aria/radio": "^3.5.0",
"@react-aria/searchfield": "^3.5.0",
"@react-aria/select": "^3.9.0",
"@react-aria/ssr": "^3.5.0",
"@react-aria/switch": "^3.4.0",
"@react-aria/textfield": "^3.9.0",
"@react-pdf/renderer": "^3.1.6",
2023-03-01 13:34:40 +00:00
"@react-stately/radio": "^3.7.0",
"@react-stately/searchfield": "^3.4.0",
"@react-stately/toggle": "^3.5.0",
"@react-stately/tree": "^3.5.0",
"@sentry/integrations": "^7.22.0",
"@sentry/react": "^7.22.0",
"@sentry/tracing": "^7.22.0",
2022-11-23 17:06:12 +00:00
"algoliasearch": "^4.14.2",
"exoneration-covid": "workspace:^",
"focus-trap-react": "^10.0.2",
2022-11-23 17:06:12 +00:00
"fuse.js": "^6.6.2",
"iframe-resizer": "^4.3.2",
2022-11-23 17:06:12 +00:00
"isbot": "^3.6.5",
"markdown-to-jsx": "^7.1.9",
"modele-social": "workspace:^",
2023-04-05 14:50:33 +00:00
"publicodes": "^1.0.0-beta.69",
"publicodes-react": "^1.0.0-beta.69",
2022-11-23 17:06:12 +00:00
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-easy-emoji": "^1.8.1",
2022-11-23 17:06:12 +00:00
"react-helmet-async": "^1.3.0",
2023-02-20 16:41:35 +00:00
"react-i18next": "^12.1.5",
2022-11-23 17:06:12 +00:00
"react-instantsearch": "^6.38.1",
"react-instantsearch-dom": "^6.38.1",
"react-redux": "^8.0.5",
"react-router-dom": "^6.4.4",
2022-11-23 17:06:12 +00:00
"react-signature-pad-wrapper": "^3.3.1",
"react-spring": "^9.5.5",
✨ Rework du comparateur de statut (#2442) * Ajoute les accidents du travail et les congés maternité paternité au comparateur de statuts * Ajoute des références sur le calcul du la retraite * Corrige les calculs des droits maladie maternité paternité adoption * Ajoute les pensions d'invalidité * Ajoute le capital décès * Ajoute les rentes ATMP et la pension de reversion * Met à jour le Changelog, les traductions, et tutti quanti * feat: Redécoupage fichiers * feat: Ajoute le mode tab à ToggleGroup * feat: Ajoute mode fullWidth à Simulation * feat: Ajoute une description + lien vers doc * feat: Modifie bouton modifier * feat: Ajoute focusstyle * feat: Ajoute l'icon edit * feat: Ajoute composants à Comparateur * feat: Add StatusCard and icons * feat: Continue implémentation StatusCard * feat: Ajoute icônes, checklist * feat: Ajoute checklist dans les cards de statut * feat: retire id * feat: Ajoute Détails et retraite santé * feat: Ajoute Accident du t * feat: Ajoute les parties manquantes * feat: Améliore liste, retire erreur ts * fix: corrige mise en page * feat: Ajoute le contenu du modal aller plus loin * feat: Retire underline en mode light * feat: Modifie couleur questions, applique modif partie bleue sur tous les simu * feat: Améliore responsiveness * feat: Ajoute impots * feat: Peu de progrès.. * fix small * feat: Implémentation nouveaux droits * feat: Aller plus loin fonctionne * feat: Prise en compte des paramètres allerplus loin * feat: Ajoute DetailsRowCard * feat: Début remplaçage * feat: Passe les engine aux when + cleaning * feat: Commente tester éligibilité * feat: Ajoute Tooltip + warning icon * feat: Ajoute seuils micro + tooltip * feat: Creation WarningTooltip * feat: Corrections + ajouter warning sasu * feat: Ajoute déplier/plier * rebase * fix: Type errors * fix: Open/Close all accordion * fix: E2E tests * feat: cache certains label si la règle n'est pas applicable * feat: Dynamic best option * refacto * Ajoute trad à la mano * feat: Ajoute chevron déplier + modifie structure aller plus loin * feat: Corrige les copy/paste + ajoute tooltip * fix: Best option tooltips * improve tooltip id logic * fix: StatusCard tooltip id * feat: Réimplémentation du tableau aller plus loin * feat: Ajoute toggle ACRE * feat: Ajoute système sauvegarde d'état d'ouverture * feat: Ajoute un timeout sur le scrollto * wtf * feat: Bestoption Revenuapresimpot * feat Ajoute Drawer * fix: Gestion état champ acre * fix: Scroll issue on confirm * fix: Repare clickoutside + améliore doc * feat: Ajoute label * feat: Affine ACRE + fix liens doc * fix: Save accordion state + disable it * feat: Ajoute CasParticuliers context * fix * feat: Affiche la documentation dans une modale * chore: Rebase + fix button color * feat: Ajoute valeur default force theme * fix: Mobile style * feat: Améliorations style mobile * feat: Amélioration darkmode comparateur * feat: Améliore accessibilité + fix doc passée ei ae * chore: clean * fix: unique id a11y error * fix: Fix divers * fix: Test e2e * fix: Dernier fix * fix: Espacement tag en vue mobile Co-authored-by: Johan Girod <johan.girod@beta.gouv.fr>
2023-01-26 13:48:00 +00:00
"react-tooltip": "^5.4.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",
"reduce-reducers": "^1.0.4",
2022-11-23 17:06:12 +00:00
"redux": "^4.2.0",
"reselect": "^4.1.7",
2022-11-23 17:06:12 +00:00
"styled-components": "^5.3.6",
"whatwg-fetch": "^3.6.2"
},
"devDependencies": {
2022-11-23 17:06:12 +00:00
"@react-types/accordion": "^3.0.0-alpha.11",
2023-03-01 13:34:40 +00:00
"@react-types/numberfield": "^3.4.0",
"@react-types/searchfield": "^3.4.0",
2022-11-23 17:06:12 +00:00
"@redux-devtools/extension": "^3.2.3",
2023-02-20 15:51:23 +00:00
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-yaml": "^4.0.1",
"@rushstack/package-deps-hash": "^3.2.64",
2023-04-17 13:50:04 +00:00
"@storybook/addon-a11y": "^7.0.5",
"@storybook/addon-actions": "^7.0.5",
"@storybook/addon-essentials": "^7.0.5",
"@storybook/addon-interactions": "^7.0.5",
"@storybook/addon-links": "^7.0.5",
"@storybook/blocks": "^7.0.5",
"@storybook/react": "^7.0.5",
"@storybook/react-vite": "^7.0.5",
"@storybook/testing-library": "^0.1.0",
2023-03-01 11:48:46 +00:00
"@swc/plugin-styled-components": "^1.5.43",
"@types/history": "^5.0.0",
2022-11-23 17:06:12 +00:00
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"@types/react-instantsearch-dom": "^6.12.3",
"@types/react-redux": "^7.1.24",
"@types/recharts": "^1.8.24",
2022-11-30 19:09:29 +00:00
"@types/serve-static": "^1.15.0",
2022-11-23 17:06:12 +00:00
"@types/styled-components": "^5.1.26",
2023-02-20 15:51:23 +00:00
"@vitejs/plugin-legacy": "^4.0.1",
2023-03-01 11:48:46 +00:00
"@vitejs/plugin-react-swc": "^3.2.0",
2022-12-08 17:43:38 +00:00
"cypress": "^12.5.1",
"cypress-axe": "^1.1.0",
"cypress-plugin-tab": "^1.0.5",
"cypress-wait-until": "^1.7.2",
2022-11-30 19:09:29 +00:00
"dotenv": "^16.0.3",
2023-02-20 16:41:35 +00:00
"i18next-parser": "^7.7.0",
"netlify-cli": "^12.2.8",
"rimraf": "^3.0.2",
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-04-17 13:50:04 +00:00
"storybook": "^7.0.5",
2022-11-22 11:14:11 +00:00
"ts-morph": "^17.0.1",
2022-11-30 19:09:29 +00:00
"ts-node": "^10.9.1",
2023-02-20 15:51:23 +00:00
"typescript": "^4.9.5",
"vite": "^4.1.3",
"vite-plugin-pwa": "^0.14.4",
"vitest": "^0.28.5",
2022-11-30 19:09:29 +00:00
"workbox-expiration": "^6.5.4",
"workbox-navigation-preload": "^6.5.4",
"workbox-precaching": "^6.5.4",
"workbox-routing": "^6.5.4",
"workbox-strategies": "^6.5.4",
"workbox-window": "^6.5.4",
"xml2js": "^0.4.23",
2022-11-30 19:09:29 +00:00
"yaml": "^2.1.3"
}
}