mon-entreprise/site/package.json

154 lines
5.9 KiB
JSON

{
"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": {
"pre-commit": "ts-node-esm scripts/preCommit/index.ts",
"build:yaml-to-dts": "ts-node-esm scripts/build-yaml-to-dts.ts",
"postinstall": "node scripts/prepare.js",
"start": "vite dev",
"build": "NODE_OPTIONS='--max-old-space-size=6144'; 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",
"build:prerender": "node prerender.cjs",
"build:iframe-script": "NODE_OPTIONS='--max-old-space-size=4096'; vite build --config vite-iframe-script.config.ts",
"build:preview": "VITE_FR_BASE_URL=http://localhost:8888; VITE_EN_BASE_URL=http://localhost:8889; yarn build && yarn build:ssr && yarn build:prerender",
"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",
"typecheck:watch": "tsc --skipLibCheck --noEmit --watch",
"test": "vitest",
"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=",
"algolia:update": "node --loader 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",
"storybook": "start-storybook -p 6006",
"build:storybook": "build-storybook"
},
"resolutions": {
"@mui/styled-engine": "npm:@mui/styled-engine-sc@latest"
},
"dependencies": {
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.6.0",
"@icons/material": "^0.4.1",
"@internationalized/number": "^3.0.3",
"@mui/material": "^5.0.4",
"@mui/styled-engine": "npm:@mui/styled-engine-sc@latest",
"@react-aria/accordion": "^3.0.0-alpha.5",
"@react-aria/button": "^3.4.1",
"@react-aria/checkbox": "^3.2.3",
"@react-aria/dialog": "^3.1.6",
"@react-aria/i18n": "^3.3.2",
"@react-aria/numberfield": "^3.1.0",
"@react-aria/overlays": "^3.7.5",
"@react-aria/progress": "^3.1.3",
"@react-aria/radio": "^3.1.5",
"@react-aria/searchfield": "^3.2.0",
"@react-aria/select": "^3.5.0",
"@react-aria/ssr": "^3.1.0",
"@react-aria/switch": "^3.1.5",
"@react-aria/textfield": "^3.4.0",
"@react-pdf/renderer": "^2.0.21",
"@react-stately/radio": "^3.3.2",
"@react-stately/searchfield": "^3.1.3",
"@react-stately/toggle": "^3.2.3",
"@react-stately/tree": "^3.2.3",
"@sentry/integrations": "^6.19.6",
"@sentry/react": "^6.19.6",
"@sentry/tracing": "^6.19.6",
"algoliasearch": "^4.10.2",
"exoneration-covid": "workspace:^",
"fuse.js": "^6.4.6",
"iframe-resizer": "^4.3.2",
"markdown-to-jsx": "^7.1.7",
"modele-social": "workspace:^",
"publicodes": "=1.0.0-beta.40",
"publicodes-react": "=1.0.0-beta.40",
"react": "^17.0.0",
"react-color": "^2.14.0",
"react-dom": "^17.0.0",
"react-easy-emoji": "^1.2.0",
"react-helmet-async": "^1.1.2",
"react-i18next": "^11.0.0",
"react-instantsearch": "^6.11.2",
"react-instantsearch-dom": "^6.11.2",
"react-redux": "^7.2.8",
"react-router": "^5.2.1",
"react-router-dom": "^5.3.0",
"react-signature-pad-wrapper": "^1.2.11",
"react-spring": "^9.3.1",
"react-use-measure": "^2.0.4",
"recharts": "^2.1.8",
"reduce-reducers": "^1.0.4",
"redux": "^4.1.2",
"styled-components": "^5.3.1",
"whatwg-fetch": "^3.0.0"
},
"devDependencies": {
"@react-types/accordion": "^3.0.0-alpha.4",
"@react-types/numberfield": "^3.1.0",
"@react-types/searchfield": "^3.1.2",
"@redux-devtools/extension": "^3.2.2",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-yaml": "^3.1.0",
"@rushstack/package-deps-hash": "^3.2.20",
"@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",
"@storybook/builder-vite": "^0.1.23",
"@storybook/react": "^6.5.0-alpha.49",
"@storybook/testing-library": "^0.0.9",
"@types/react": "^17.0.0",
"@types/react-color": "^3.0.1",
"@types/react-dom": "^17.0.9",
"@types/react-instantsearch-dom": "^6.10.1",
"@types/react-redux": "^7.1.23",
"@types/react-router": "^5.1.18",
"@types/react-router-dom": "^5.3.3",
"@types/recharts": "^1.8.16",
"@types/serve-static": "^1.13.10",
"@types/styled-components": "^5.1.24",
"@vitejs/plugin-legacy": "^1.8.2",
"@vitejs/plugin-react": "^1.3.2",
"cypress": "^9.5.4",
"cypress-plugin-tab": "^1.0.5",
"cypress-wait-until": "^1.7.2",
"dotenv": "=8.1.0",
"i18next-parser": "^6.0.0",
"isomorphic-fetch": "^2.2.1",
"rimraf": "^3.0.2",
"rollup-plugin-toml": "^1.0.0",
"serve-static": "^1.14.2",
"ts-morph": "^13.0.3",
"ts-node": "^10.8.0",
"typescript": "^4.7.2",
"vite": "^2.9.9",
"vite-plugin-shim-react-pdf": "^1.0.5",
"vitest": "^0.9.4",
"xml2js": "^0.4.23",
"yaml": "^1.9.2"
}
}