betagouv/service-national-universel

View on GitHub
admin/package.json

Summary

Maintainability
Test Coverage
{
  "name": "admin",
  "version": "1.0.0",
  "scripts": {
    "dev": "vite",
    "dev:open": "vite --open",
    "mobile": "vite --host 0.0.0.0",
    "mobile:open": "vite --host 0.0.0.0 --open",
    "tailwind": "npx tailwindcss -i ./src/index.css -o ./src/tailwindcss.css --watch",
    "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"
  },
  "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": "*",
    "@swc/plugin-styled-components": "1.5.111",
    "@tanstack/react-query": "^5.29.2",
    "@uidotdev/usehooks": "^2.4.1",
    "bootstrap": "4.6.2",
    "browser-image-resizer": "^2.4.1",
    "chart.js": "^4.2.1",
    "core-js": "3.26.0",
    "date-fns": "^3.6.0",
    "dayjs": "1.11.9",
    "fetch-retry": "^5.0.6",
    "file-saver": "2.0.5",
    "formik": "2.2.9",
    "history": "^4.9.0",
    "i18n-iso-countries": "7.5.0",
    "libphonenumber-js": "^1.10.28",
    "password-validator": "5.3.0",
    "query-string": "6.14.1",
    "react": "18.2.0",
    "react-beautiful-dnd": "13.1.1",
    "react-chartjs-2": "^5.2.0",
    "react-datepicker": "^4.8.0",
    "react-day-picker": "^8.10.1",
    "react-dom": "18.2.0",
    "react-hook-form": "^7.43.9",
    "react-icons": "4.11.0",
    "react-loading": "2.0.3",
    "react-markdown": "^9.0.1",
    "react-multi-select-component": "3.0.7",
    "react-redux": "7.2.9",
    "react-redux-toastr": "^7.6.13",
    "react-router-dom": "5.3.4",
    "react-select": "5.7.4",
    "react-tooltip": "^4.5.0",
    "react-use": "17.5.0",
    "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",
    "validator": "13.7.0",
    "xlsx": "~0.18.5"
  },
  "devDependencies": {
    "@types/react": "^18.2.0",
    "@types/react-dom": "^18.2.0",
    "@types/react-redux-toastr": "^7.0.0",
    "@vitejs/plugin-react-swc": "^3.3.2",
    "autoprefixer": "^10.4.13",
    "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",
    "postcss": "^8.4.18",
    "postcss-import": "^14.0.2",
    "prettier": "^3.1.1",
    "tailwindcss": "^3.3.4",
    "typescript": "^5.4.5",
    "vite": "^5.4.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"
  }
}