UNPKG

@litert/typeguard

Version:

An easy and powerful data validation code generator by JavaScript.

50 lines (49 loc) 1.42 kB
{ "name": "@litert/typeguard", "version": "1.4.0", "description": "An easy and powerful data validation code generator by JavaScript.", "main": "lib/index.js", "scripts": { "prepublishOnly": "npm run rebuild && npm run test", "build": "tsc -v && tsc -p .", "build-watch": "tsc -v && tsc -w -p .", "rebuild": "npm run clean && npm run lint && npm run build", "test": "mocha", "clean": "rm -rf lib examples test", "typecheck": "tsc -p tsconfig.json --noEmit", "lint": "eslint --ext ts src", "prepare": "husky install || echo 'skipped husky install'" }, "keywords": [ "litert", "lrt", "type", "checker", "validation" ], "author": "Angus.Fenying <fenying@litert.org> (https://fenying.net)", "license": "Apache-2.0", "repository": { "type": "git", "url": "git+https://github.com/litert/type-guard.git" }, "bugs": { "url": "https://github.com/litert/type-guard/issues" }, "homepage": "https://github.com/litert/type-guard#readme", "types": "lib/index.d.ts", "typings": "lib/index.d.ts", "devDependencies": { "@commitlint/cli": "^17.6.5", "@commitlint/config-conventional": "^17.6.5", "@litert/eslint-plugin-rules": "^0.1.3", "@types/mocha": "^10.0.1", "@types/node": "^20.3.1", "husky": "^8.0.3", "mocha": "^10.2.0", "typescript": "~5.0.0" }, "engines": { "node": ">=14.0.0" } }