betagouv/service-national-universel

View on GitHub
app/package.json

Summary

Maintainability
Test Coverage
{
  "name": "app",
  "version": "1.0.0",
  "scripts": {
    "dev": "vite",
    "dev:open": "vite --open",
    "mobile": "vite --host 0.0.0.0",
    "mobile:open": "vite --host",
    "start": "vite",
    "build": "NODE_OPTIONS=--max_old_space_size=8192 vite build",
    "preview": "vite preview",
    "postinstall": "npm run copy:dsfr",
    "copy:dsfr": "copy-dsfr-to-public",
    "check-types": "tsc -p tsconfig.ci.json --emitDeclarationOnly",
    "lint": "eslint src --ext .js,.jsx,.ts,.tsx",
    "lint:fix": "eslint src --ext .js,.ts --fix",
    "lint:report": "eslint src --ext .js,.ts --format @microsoft/eslint-formatter-sarif --output-file eslint-results.sarif",
    "clean": "rm -fr node_modules .turbo build .swc"
  },
  "devDependencies": {
    "@swc/plugin-styled-components": "1.5.111",
    "@vitejs/plugin-react-swc": "^3.3.2",
    "eslint": "^8.56.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-prettier": "^5.0.1",
    "eslint-plugin-react": "^7.33.2",
    "eslint-plugin-react-hooks": "^4.6.0",
    "prettier": "^3.1.1",
    "tailwindcss": "^3.2.2",
    "typescript": "^5.4.5",
    "vite": "^5.4.2"
  },
  "dependencies": {
    "@codegouvfr/react-dsfr": "^1.9.2",
    "@headlessui/react": "^2.1.1",
    "@sentry/react": "^8.25.0",
    "@sentry/vite-plugin": "^2.22.1",
    "@snu/ds": "*",
    "@tanstack/react-query": "^5.29.2",
    "@uidotdev/usehooks": "^2.4.1",
    "autoprefixer": "^10.4.13",
    "bootstrap": "4.6.2",
    "browser-image-resizer": "^2.4.1",
    "core-js": "^3.30.2",
    "date-fns": "^3.6.0",
    "dayjs": "1.11.9",
    "emoji-regex": "^10.4.0",
    "fetch-retry": "^5.0.6",
    "file-saver": "^2.0.5",
    "formik": "2.2.9",
    "history": "^4.9.0",
    "i18n-iso-countries": "7.5.0",
    "less": "4.1.3",
    "password-validator": "5.3.0",
    "postcss": "^8.4.18",
    "postcss-import": "^14.0.2",
    "query-string": "6.14.1",
    "react": "18.2.0",
    "react-beautiful-dnd": "13.1.1",
    "react-datepicker": "^4.8.0",
    "react-dom": "18.2.0",
    "react-icons": "4.11.0",
    "react-is": "17.0.2",
    "react-loading": "2.0.3",
    "react-markdown": "^9.0.1",
    "react-redux": "7.2.9",
    "react-redux-toastr": "^7.6.13",
    "react-responsive-carousel": "3.2.23",
    "react-router-dom": "5.3.4",
    "react-select": "^5.6.0",
    "react-tooltip": "^4.4.3",
    "reactstrap": "8.10.1",
    "redux": "4.2.1",
    "regenerator-runtime": "0.13.9",
    "remark-gfm": "^4.0.0",
    "slugify": "^1.6.5",
    "snu-lib": "*",
    "styled-components": "5.3.11",
    "use-detect-keyboard-open": "^0.2.0",
    "validator": "13.7.0"
  },
  "engines": {
    "node": "^18.20",
    "npm": "^10.5",
    "yarn": "🍎 This project uses NPM, please do not use YARN. 🍎"
  },
  "optionalDependencies": {
    "@swc/core": "^1.3.95",
    "@swc/core-darwin-arm64": "^1.4.14",
    "@swc/core-darwin-x64": "^1.4.14",
    "@swc/core-linux-arm-gnueabihf": "^1.4.14",
    "@swc/core-linux-arm64-gnu": "^1.4.14",
    "@swc/core-linux-arm64-musl": "^1.4.14",
    "@swc/core-linux-x64-gnu": "^1.4.14",
    "@swc/core-linux-x64-musl": "^1.4.14"
  }
}