{
  "name": "next-use-contextual-routing",
  "description": "Generate Next.js contextual routing paths",
  "version": "4.1.1",
  "keywords": [
    "next",
    "next.js",
    "contextual",
    "routing",
    "snowlift",
    "route as modal",
    "modal route",
    "hook"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/toomuchdesign/next-use-contextual-routing.git"
  },
  "author": "Andrea Carraro <me@andreacarraro.it>",
  "license": "ISC",
  "main": "dist/index.js",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "type": "module",
  "files": [
    "dist"
  ],
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "build": "rimraf ./dist && tsc -p tsconfig.build.json",
    "test": "vitest --config ./vitest.config.mts",
    "prepare": "npx simple-git-hooks && npm run source:check && npm run test -- --run && npm run build",
    "release": "npm run prepare && npx changeset publish",
    "prettier:check": "prettier . --check",
    "prettier:fix": "npm run prettier:check -- --write",
    "type:check": "tsc --noEmit",
    "source:check": "npm run prettier:check && npm run type:check",
    "source:fix": "npm run prettier:fix",
    "start": "npm run demo:start",
    "demo:start": "cd ./demo && next",
    "demo:build": "npm run build && cd ./demo && BUILD_TARGET=github-pages next build && touch ./out/.nojekyll"
  },
  "devDependencies": {
    "@changesets/changelog-github": "^1.0.1",
    "@changesets/cli": "^3.0.3",
    "@testing-library/react": "^16.0.0",
    "@tsconfig/node20": "^20.1.4",
    "@types/node": "^20.19.0",
    "@types/react": "^19.1.6",
    "@vitest/coverage-v8": "^4.0.0",
    "jsdom": "^29.0.1",
    "next": "^16.0.0",
    "prettier": "^3.9.6",
    "qs-stringify": "^1.2.1",
    "react": "^19.1.0",
    "react-dom": "^19.1.0",
    "react-modal": "^3.16.1",
    "react-test-renderer": "^19.1.0",
    "rimraf": "^6.0.1",
    "simple-git-hooks": "^2.11.1",
    "typescript": "^5.5.3",
    "vitest": "^4.0.0"
  },
  "peerDependencies": {
    "next": "^15.0.0 || ^16.0.0",
    "react": ">=18.0.0"
  },
  "simple-git-hooks": {
    "pre-commit": "npm run prepare"
  }
}
