belgattitude/nextvalid

View on GitHub
packages/zod-request/package.json

Summary

Maintainability
Test Coverage
{
  "name": "@nextvalid/zod-request",
  "version": "0.5.0-canary.0",
  "license": "MIT",
  "homepage": "https://github.com/belgattitude/nextvalid",
  "repository": {
    "type": "git",
    "url": "https://github.com/belgattitude/nextvalid",
    "directory": "packages/zod-request"
  },
  "author": {
    "name": "Vanvelthem Sébastien",
    "url": "https://github.com/belgattitude"
  },
  "keywords": [
    "nextjs",
    "validation",
    "zod",
    "Request validation",
    "getServerSideProps",
    "getStaticProps",
    "Nextjs Api routes"
  ],
  "sideEffects": false,
  "type": "module",
  "types": "./dist/esm/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/esm/index.d.ts",
      "module": "./dist/esm/index.js",
      "default": "./dist/esm/index.js"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "README.md",
    "package.json",
    "LICENSE",
    "CHANGELOG.md"
  ],
  "scripts": {
    "build": "tsup",
    "dev": "tsup --watch",
    "clean": "rimraf ./dist ./coverage ./tsconfig.tsbuildinfo",
    "build-doc": "run-s build-typedoc",
    "build-typedoc": "rimraf ./docs/api && typedoc --plugin typedoc-plugin-markdown --out ./docs/api",
    "prettier-check": "yarn run --top-level prettier --check --cache --cache-location=\"../../.cache/prettier/zod-request.prettiercache\" --config ../../.prettierrc.js --ignore-path ../../.prettierignore \"./**/*.{js,jsx,cjs,mjs,ts,tsx,mts,md,mdx,json,css,scss,less}\"",
    "prettier-fix": "yarn run --top-level prettier --write --cache --cache-location=\"../../.cache/prettier/zod-request.prettiercache\" --config ../../.prettierrc.js --ignore-path ../../.prettierignore \"./**/*.{js,jsx,cjs,mjs,ts,tsx,mts,md,mdx,json,css,scss,less}\"",
    "lint": "eslint . --ext .ts,.tsx,.js,.jsx,.mjs,.cjs,.mts,.cts --cache --cache-location ../../.cache/eslint/parse-request.eslintcache",
    "typecheck": "tsc --project ./tsconfig.json --noEmit",
    "check-dist": "es-check -v",
    "check-size": "size-limit",
    "check-size-why": "size-limit --why",
    "test": "vitest run",
    "test-unit": "vitest run",
    "test-unit-jest": "jest",
    "fix-all-files": "eslint . --ext .ts,.tsx,.js,.jsx,.mjs,.cjs,.mts,.cts --fix"
  },
  "dependencies": {
    "@httpx/exception": "^2.1.1",
    "zod": "^3.22.0"
  },
  "peerDependencies": {
    "@types/node": "*",
    "next": "^12.0.0 || ^13.0.0",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "typescript": "^4.5.0 || ^5.0.0"
  },
  "peerDependenciesMeta": {
    "@types/node": {
      "optional": true
    },
    "react": {
      "optional": true
    },
    "react-dom": {
      "optional": true
    },
    "typescript": {
      "optional": true
    }
  },
  "devDependencies": {
    "@belgattitude/eslint-config-bases": "2.6.0",
    "@size-limit/file": "9.0.0",
    "@size-limit/webpack": "9.0.0",
    "@size-limit/webpack-why": "9.0.0",
    "@types/jest": "29.5.5",
    "@types/node": "20.9.5",
    "@vitest/coverage-istanbul": "0.34.3",
    "cross-env": "7.0.3",
    "es-check": "7.1.1",
    "eslint": "8.49.0",
    "get-tsconfig": "4.7.0",
    "next": "13.5.2",
    "npm-run-all": "4.1.5",
    "prettier": "3.0.3",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "rimraf": "5.0.1",
    "size-limit": "9.0.0",
    "tslib": "2.6.2",
    "tsup": "6.5.0",
    "typedoc": "0.25.1",
    "typedoc-plugin-markdown": "3.16.0",
    "typescript": "4.9.5",
    "vite": "4.4.9",
    "vite-tsconfig-paths": "4.2.1",
    "vitest": "0.34.3",
    "webpack": "5.88.2"
  },
  "engines": {
    "node": ">=18.12"
  }
}