remix-params-helper
Version:
This package makes it simple to use Zod with standard URLSearchParams and FormData which are typically used in Remix apps.
75 lines (74 loc) • 2.11 kB
JSON
{
"name": "remix-params-helper",
"version": "0.5.1",
"description": "This package makes it simple to use Zod with standard URLSearchParams and FormData which are typically used in Remix apps.",
"type": "module",
"browser": "/dist/helper.js",
"main": "./dist/cjs/helper.cjs",
"exports": {
"import": "./dist/helper.js",
"require": "./dist/cjs/helper.cjs"
},
"sideEffects": false,
"scripts": {
"build": "rimraf dist && cp src/helper.ts example/app/utils && run-p build:*",
"build:esm": "esbuild src/**/*.ts --format=esm --platform=node --outdir=dist",
"build:cjs": "esbuild src/**/*.ts --format=cjs --platform=node --outdir=dist/cjs --out-extension:.js=.cjs",
"build:types": "tsc --emitDeclarationOnly --declaration --project tsconfig.json --outDir dist",
"typecheck": "tsc --project tsconfig.json --noEmit",
"lint": "eslint --ext .ts,.tsx src/",
"test": "jest",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"prepublish": "npm run build"
},
"author": {
"name": "Kiliman",
"email": "kiliman@gmail.com",
"url": "https://kiliman.dev"
},
"repository": {
"type": "git",
"url": "https://github.com/kiliman/remix-params-helper.git"
},
"keywords": [
"remix",
"remix.run",
"react",
"utils",
"helper",
"zod",
"URLSearchParams",
"FormData",
"params"
],
"license": "MIT",
"files": [
"dist",
"src"
],
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.4",
"@babel/preset-typescript": "^7.16.0",
"@types/jest": "^27.0.3",
"all-contributors-cli": "^6.20.0",
"babel-jest": "^27.4.2",
"esbuild": "^0.19.7",
"formdata-polyfill": "^4.0.10",
"jest": "^27.4.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.0",
"rimraf": "^5.0.5",
"ts-jest": "^27.0.7",
"ts-node": "^10.4.0",
"typescript": "^4.5.2"
},
"peerDependencies": {
"zod": "^3.11.6"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"testEnvironment": "jsdom"
}
}