ts-search-params
Version:
Type Safe Search Params
76 lines (75 loc) • 1.92 kB
JSON
{
"name": "ts-search-params",
"version": "0.0.16",
"description": "Type Safe Search Params",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"files": [
"dist",
"src"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
},
"scripts": {
"build": "tsup",
"dev": "vitest",
"test": "vitest run && tsc --noEmit",
"prepublish": "npm run test && npm run build",
"postpublish": "git add . && git commit -a && git tag v$npm_package_version && git push --tags && git push",
"prepack": "npm run build",
"pub:beta": "npm publish --tag beta",
"pub:stable": "npm publish"
},
"repository": {
"type": "git",
"url": "https://github.com/L-Blondy/ts-search-params.git"
},
"keywords": [
"typescript",
"URLSearchParams",
"searchParams",
"params",
"typesafe",
"seach",
"qs",
"querystring",
"ts"
],
"author": "Laurent Blondy",
"license": "MIT",
"bugs": {
"url": "https://github.com/L-Blondy/ts-search-params/issues"
},
"homepage": "https://github.com/L-Blondy/ts-search-params#readme",
"devDependencies": {
"@types/node": "^20.12.8",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"eslint": "^8.57.0",
"jsdom": "^24.0.0",
"prettier": "^3.2.5",
"tsup": "^8.3.6",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
},
"publishConfig": {
"access": "public",
"branches": [
"main"
]
}
}