UNPKG

@cdxoo/react-router-url-search-params

Version:

Hook to access and update url search params in conjunction with react-router

61 lines (60 loc) 1.65 kB
{ "name": "@cdxoo/react-router-url-search-params", "version": "2.0.0", "description": "Hook to access and update url search params in conjunction with react-router", "main": "cjs/index.js", "module": "esm/index.js", "scripts": { "test": "npx jest", "build": "npx rollup -c", "prepublishOnly": "npm test && npm run build", "release:dry": "npx release-it --dry-run", "release:beta": "release-it --preRelease=beta", "release": "release-it" }, "files": [ "cjs", "esm" ], "repository": { "type": "git", "url": "git+https://github.com/cdxOo/react-router-url-search-params.git" }, "keywords": [ "react", "react-hooks", "react-router", "url-search-params", "query-string" ], "author": "Jan Schwalbe", "license": "MIT", "bugs": { "url": "https://github.com/cdxOo/react-router-url-search-params/issues" }, "homepage": "https://github.com/cdxOo/react-router-url-search-params#readme", "peerDependencies": { "react": ">=16.8", "react-router": "5.x" }, "devDependencies": { "@babel/preset-env": "^7.22.10", "@babel/preset-react": "^7.22.5", "@rollup/plugin-commonjs": "^19.0.2", "@rollup/plugin-node-resolve": "^13.3.0", "@testing-library/react": "^11.2.7", "babel-jest": "^29.6.2", "history": "^4.10.1", "jest": "^29.6.2", "react": "^16.8", "react-dom": "^16.8", "react-router": "5.x", "release-it": "^15.11.0", "rollup": "^2.79.1", "rollup-plugin-peer-deps-external": "^2.2.4" }, "dependencies": { "jest-environment-jsdom": "^29.6.2", "url-search-params-polyfill": "^8.2.4" } }