UNPKG

narrows

Version:

Super lean and simple object validation with TypeScript support.

35 lines (34 loc) 886 B
{ "name": "narrows", "version": "3.0.2", "description": "Super lean and simple object validation with TypeScript support.", "keywords": [ "typescript", "validate", "narrow", "type guard", "static types" ], "repository": { "type": "git", "url": "git+https://gitlab.com/jakelazaroff/narrows.git" }, "main": "dist/index.js", "module": "dist/es/index.js", "types": "dist/index.d.ts", "sideEffects": false, "author": "Jake Lazaroff <yo@jake.nyc>", "license": "MIT", "devDependencies": { "@types/jest": "^24.0.11", "jest": "^24.5.0", "ts-jest": "^24.0.0", "typescript": "^4.3.4" }, "scripts": { "clean": "rm -rf dist", "test": "jest --coverage", "build": "yarn tsc --target es5 --outDir dist && yarn tsc --target es6 --outDir dist/es", "prepublishOnly": "yarn clean && yarn test && yarn build" } }