@zcorky/schema
Version:
Object schema validation written with TypeScript, inspired by dayjs and schema
91 lines (90 loc) • 1.96 kB
JSON
{
"name": "@zcorky/schema",
"version": "1.0.11",
"description": "Object schema validation written with TypeScript, inspired by dayjs and schema",
"main": "lib/index.js",
"repository": "https://github.com/zcorky/schema",
"homepage": "https://github.com/zcorky/schema",
"bugs": {
"url": "https://github.com/zcorky/schema/issues"
},
"keywords": [
"zcorky",
"schema",
"joi",
"node",
"koa",
"typescript"
],
"author": "Zero <uniquecolesmith@gmail.com> (https://moeover.com)",
"license": "MIT",
"scripts": {
"build": "npm run clean && tsc",
"clean": "rimraf -rf lib",
"test": "jest -w 1",
"coverage": "jest -w 1 && codecov",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@types/jest": "^24.0.11",
"@types/node": "^10.9.4",
"codecov": "^3.2.0",
"cross-env": "^5.2.0",
"husky": "^1.2.1",
"jest": "^24.5.0",
"rimraf": "^2.6.2",
"ts-jest": "^24.0.0",
"ts-node": "^7.0.1",
"tslint": "^5.10.0",
"tslint-eslint-rules": "^5.3.1",
"tslint-jsdoc-rules": "^0.1.2",
"typescript": "^3.2.2"
},
"files": [
"lib/"
],
"husky": {
"hooks": {
"pre-commit": "npm test"
}
},
"jest": {
"roots": [
"test"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "test/.*\\.spec\\.(ts|tsx)$",
"moduleDirectories": [
"node_modules",
"src"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 90,
"lines": 90,
"statements": -10
}
}
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@zcorky/is": "^1.0.6",
"@zodash/format": "^1.0.1-alpha.0"
}
}