@scaleway/use-query-params
Version:
A small hook to handle params
64 lines • 1.61 kB
JSON
{
"name": "@scaleway/use-query-params",
"version": "5.0.15",
"description": "A small hook to handle params",
"engines": {
"node": ">=20.x"
},
"sideEffects": false,
"type": "module",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
},
"files": [
"dist/"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/scaleway/scaleway-lib",
"directory": "packages/use-query-params"
},
"license": "MIT",
"keywords": [
"react",
"react-dom",
"reactjs",
"hooks",
"params",
"react-router-dom",
"query-params"
],
"dependencies": {
"history": "5.3.0",
"query-string": "9.2.1"
},
"peerDependencies": {
"react": "18.x || 19.x",
"react-dom": "18.x || 19.x",
"react-router-dom": "^6.0.0"
},
"devDependencies": {
"react": "19.1.0",
"react-dom": "19.1.0",
"react-router-dom": "6.29.0"
},
"scripts": {
"prebuild": "shx rm -rf dist",
"typecheck": "tsc --noEmit",
"type:generate": "tsc --declaration -p tsconfig.build.json",
"build": "vite build --config vite.config.ts && pnpm run type:generate",
"build:profile": "npx vite-bundle-visualizer -c vite.config.ts",
"lint": "eslint --report-unused-disable-directives --cache --cache-strategy content --ext ts,tsx .",
"test:unit": "vitest --run --config vite.config.ts",
"test:unit:coverage": "pnpm test:unit --coverage"
}
}