query-state-hook
Version:
Easily manage the state of your React components via URL query parameters
62 lines (61 loc) • 1.49 kB
JSON
{
"name": "query-state-hook",
"version": "2.0.0",
"homepage": "https://fernandicus.github.io/query-state-hook/",
"license": "MIT",
"author": "Fernandicus",
"description": "Easily manage the state of your React components via URL query parameters",
"keywords": [
"url",
"query",
"query-parameters",
"query-state",
"query-state-hook",
"state",
"state-url",
"component-state",
"react",
"react-hook",
"front-end"
],
"type": "module",
"main": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs"
}
},
"scripts": {
"dev": "vite",
"test": "vitest",
"build": "vite build",
"build:preview": "vite build --config vite.config.preview.ts",
"preview": "vite preview",
"predeploy": "npm run build:preview",
"deploy": "gh-pages -d preview"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.2.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@vitejs/plugin-react": "^4.3.4",
"gh-pages": "^6.3.0",
"jsdom": "^26.0.0",
"path": "^0.12.7",
"react-router": "^7.1.5",
"react-router-dom": "^7.1.5",
"typescript": "^5.7.3",
"vite": "^6.1.0",
"vite-plugin-dts": "^4.5.0",
"vitest": "^3.0.5"
},
"prettier": {
"printWidth": 120
},
"peerDependencies": {
"react": ">=18.0.0 <20.0.0",
"react-dom": ">=18.0.0 <20.0.0"
}
}