UNPKG

jet-validators

Version:

A list common typescript validator-functions and some useful utilities to go with them.

57 lines (56 loc) 1.73 kB
{ "name": "jet-validators", "version": "1.4.0", "description": "A list common typescript validator-functions and some useful utilities to go with them.", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "clean-install": "rm -rf ./node_modules && rm -r package-lock.json && npm i", "playground": "ts-node ./test/playground.ts", "test": "NODE_ENV=test vitest", "build:utils": "cd utils && rm -rf ./dist && tsc -p tsconfig.build.json && cd ..", "build:main": "rm -rf ./dist && tsc -p tsconfig.build.json", "build": "npm run build:utils && npm run build:main", "lint": "eslint --flag unstable_ts_config", "pre-publish": "mv README.md README-git && mv README-npm README.md", "post-publish": "mv README.md README-npm && mv README-git README.md" }, "repository": { "type": "git", "url": "git+https://github.com/seanpmaxwell/jet-validators.git" }, "keywords": [ "jet", "jet-schema", "validator", "validators", "jet-validators", "validation", "function", "functions", "zod", "schema" ], "author": "sean maxwell", "license": "MIT", "bugs": { "url": "https://github.com/seanpmaxwell/jet-validators/issues" }, "homepage": "https://github.com/seanpmaxwell/jet-validators#readme", "devDependencies": { "@eslint/js": "^9.11.1", "@stylistic/eslint-plugin-ts": "^2.8.0", "@types/eslint__js": "^8.42.3", "@types/node": "^22.8.1", "dotenv": "^16.4.7", "eslint": "^9.11.1", "eslint-plugin-n": "^17.10.3", "i": "^0.3.7", "jiti": "^2.3.3", "ts-node": "^10.9.2", "tslib": "^2.8.0", "typescript": "^5.6.3", "typescript-eslint": "^8.8.0", "vitest": "^2.1.4" } }