use-state-in-url
Version:
React hook to keep state in URL for deep linking
59 lines (58 loc) • 1.39 kB
JSON
{
"name": "use-state-in-url",
"version": "1.2.3",
"description": "React hook to keep state in URL for deep linking",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/antonlapshin/use-state-in-url.git"
},
"homepage": "https://antonlapshin.github.io/use-state-in-url/",
"bugs": {
"url": "https://github.com/antonlapshin/use-state-in-url/issues"
},
"scripts": {
"test": "jest",
"build": "rm -rf dist && tsc",
"prepublishOnly": "npm run test && npm run build",
"docs:dev": "cd docs-src && npm run dev",
"docs:build": "cd docs-src && npm run build"
},
"keywords": [
"react",
"hooks",
"url",
"state",
"query-string",
"deep-linking",
"url-state"
],
"author": "Anton Lapshin",
"license": "MIT",
"peerDependencies": {
"react": ">=17"
},
"devDependencies": {
"@testing-library/react": "^14.3.1",
"@types/jest": "^29.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.7.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"ts-jest": "^29.0.0",
"tslib": "^2.8.1",
"typescript": "^5.0.0"
}
}