{
	"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": {
		"postinstall": "node scripts/prepare.js",
		"start": "vite dev",
		"start:storybook": "storybook dev -p 6006",
		"start:axe-debugging": "VITE_AXE_CORE_ENABLED=true vite dev",
		"preview": "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",
		"test": "vitest",
		"test:cypress": "cypress open --e2e",
		"test:cypress:preview": "cypress open --e2e --config \"baseUrl=http://localhost:8888\"",
		"test:cypress:preview:en": "cypress open --e2e --config \"baseUrl=http://localhost:8889,specPattern=cypress/integration/mon-entreprise/english/**/*.{js,jsx,ts,tsx}\" --env language=en",
		"test:cypress:record-http": "cypress run --env record_http=",
		"build": "NODE_OPTIONS='--max-old-space-size=6144'; yarn build:sitemap && yarn build:simulator-data && vite build && yarn build:iframe-script",
		"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",
		"build:storybook": "NODE_OPTIONS='--max-old-space-size=6144'; storybook build",
		"i18n:translate": "yarn i18n:rules:translate && yarn i18n:ui:translate",
		"i18n:check": "yarn i18n:rules:check && yarn i18n:ui:check",
		"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",
		"build:iframe-script": "NODE_OPTIONS='--max-old-space-size=4096'; vite build --config build/vite-iframe-script.config.ts",
		"build:simulator-data": "vite build --config build/vite-build-simulation-data.config.ts",
		"build:prerender": "ts-node-esm build/prerender.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:yaml-to-dts": "ts-node-esm build/build-yaml-to-dts.ts",
		"algolia:clean": "node scripts/search/clean.js",
		"algolia:update": "yarn build:simulator-data && ts-node-esm ./scripts/search/update-data.ts",
		"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"
	},
	"dependencies": {
		"@atomik-color/component": "^1.0.17",
		"@atomik-color/core": "^1.0.13",
		"@axe-core/react": "^4.7.3",
		"@floating-ui/react-dom": "^1.3.0",
		"@internationalized/number": "^3.2.1",
		"@juggle/resize-observer": "^3.4.0",
		"@leeoniya/ufuzzy": "^1.0.10",
		"@publicodes/react-ui": "^1.2.0",
		"@react-aria/accordion": "^3.0.0-alpha.17",
		"@react-pdf/renderer": "^3.1.12",
		"@sentry/integrations": "^7.70.0",
		"@sentry/react": "^7.70.0",
		"@types/deep-eql": "^4.0.2",
		"algoliasearch": "^4.20.0",
		"date-fns": "^3.6.0",
		"deep-eql": "^5.0.1",
		"effect": "^3.0.0",
		"exoneration-covid": "workspace:^",
		"focus-trap-react": "^10.2.1",
		"fuse.js": "^6.6.2",
		"iframe-resizer": "^4.3.7",
		"isbot": "^3.7.0",
		"markdown-to-jsx": "^7.3.2",
		"modele-social": "workspace:^",
		"piano-analytics-js": "^6.13.0",
		"publicodes": "^1.2.0",
		"react": "^18.2.0",
		"react-aria": "^3.24.0",
		"react-day-picker": "^8.8.2",
		"react-dom": "^18.2.0",
		"react-easy-emoji": "^1.8.1",
		"react-flip-move": "^3.0.5",
		"react-helmet-async": "^1.3.0",
		"react-i18next": "^12.3.1",
		"react-instantsearch": "^6.38.1",
		"react-instantsearch-dom": "^6.38.1",
		"react-redux": "^8.1.2",
		"react-router-dom": "^6.15.0",
		"react-signature-pad-wrapper": "^3.3.1",
		"react-spring": "^9.5.5",
		"react-stately": "^3.22.0",
		"react-use-measure": "^2.1.1",
		"recharts": "2.3.2",
		"reduce-reducers": "^1.0.4",
		"redux": "^4.2.1",
		"reselect": "^4.1.8",
		"styled-components": "^6.0.8",
		"stylis": "^4.3.0",
		"whatwg-fetch": "^3.6.19"
	},
	"devDependencies": {
		"@react-types/accordion": "^3.0.0-alpha.16",
		"@react-types/numberfield": "^3.6.0",
		"@react-types/searchfield": "^3.5.0",
		"@redux-devtools/extension": "^3.2.5",
		"@rollup/plugin-replace": "^5.0.2",
		"@rollup/plugin-yaml": "^4.1.1",
		"@sentry/vite-plugin": "^2.7.1",
		"@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",
		"@storybook/testing-library": "^0.1.0",
		"@testing-library/jest-dom": "^6.4.2",
		"@testing-library/react": "^14.2.1",
		"@types/history": "^5.0.0",
		"@types/react": "^18.2.22",
		"@types/react-dom": "^18.2.7",
		"@types/react-instantsearch-dom": "^6.12.3",
		"@types/react-redux": "^7.1.26",
		"@types/recharts": "^1.8.24",
		"@types/serve-static": "^1.15.2",
		"@vitejs/plugin-legacy": "^4.1.1",
		"@vitejs/plugin-react-swc": "^3.3.2",
		"cypress": "^12.17.4",
		"cypress-axe": "^1.5.0",
		"cypress-plugin-tab": "^1.0.5",
		"cypress-wait-until": "^1.7.2",
		"dotenv": "^16.3.1",
		"eslint-plugin-testing-library": "^6.2.0",
		"happy-dom": "^13.3.8",
		"i18next-parser": "^8.7.0",
		"netlify-cli": "^17.10.1",
		"serve-static": "^1.15.0",
		"storybook": "^7.4.3",
		"ts-node": "^10.9.1",
		"typescript": "^5.2.2",
		"vite": "^4.4.9",
		"vite-plugin-pwa": "^0.16.5",
		"vitest": "^0.34.4",
		"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",
		"xml2js": "^0.4.23",
		"yaml": "^2.3.2"
	}
}