use-push-router
Version:
A custom hook that simplifies modifying the search params in Next.js
58 lines (57 loc) • 1.55 kB
JSON
{
"name": "use-push-router",
"version": "0.0.7",
"description": "A custom hook that simplifies modifying the search params in Next.js",
"keywords": [
"demo",
"typescript",
"next.js"
],
"main": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"homepage": "https://github.com/nicnocquee/use-push-router",
"bugs": {
"url": "https://github.com/nicnocquee/use-push-router/issues"
},
"author": "Nico Prananta <hi@nico.fyi> (https://nico.fyi)",
"repository": {
"type": "git",
"url": "git+https://github.com/nicnocquee/use-push-router.git"
},
"license": "MIT",
"files": [
"dist"
],
"type": "module",
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.1",
"@changesets/cli": "^2.29.4",
"@testing-library/react": "^16.3.0",
"@types/react": "^19.1.5",
"@vitejs/plugin-react": "^4.4.1",
"jsdom": "^26.1.0",
"prettier": "^3.5.3",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"vitest": "^3.1.4"
},
"peerDependencies": {
"next": "^14.0.0 || ^15.0.0",
"react": "^18.0.0 || ^19.0.0"
},
"scripts": {
"build": "tsup",
"ci": "npm run build && npm run check-format && npm run check-exports && npm run lint && npm run test",
"lint": "tsc",
"test": "vitest run",
"format": "prettier --write .",
"check-format": "prettier --check .",
"check-exports": "attw --pack .",
"local-release": "npm run ci && changeset version && changeset publish"
}
}