UNPKG

@korbiniankuhn/validator

Version:

Validate object schemas for js, expressjs, angular and mongoose.

74 lines (73 loc) 1.93 kB
{ "name": "@korbiniankuhn/validator", "version": "2.0.0-beta.7", "description": "Validate object schemas for js, expressjs, angular and mongoose.", "author": "Korbinian Kuhn", "license": "MIT", "bugs": { "url": "https://github.com/KorbinianKuhn/validator/issues" }, "homepage": "https://github.com/KorbinianKuhn/validator#readme", "main": "dist/index.js", "typings": "dist/index.d.ts", "scripts": { "test": "jest", "test:coverage": "jest --coverage", "lint": "eslint *.js src/. test/.", "lint:fix": "eslint *.js src/. test/. --fix", "build": "tsc -p tsconfig.build.json", "prepublishOnly": "npm run build", "precommit": "lint-staged" }, "repository": { "type": "git", "url": "git+https://github.com/KorbinianKuhn/validator.git" }, "keywords": [ "express", "validator", "validation", "security", "typescript", "parser", "async", "await", "promise", "angular", "mongoose" ], "dependencies": {}, "devDependencies": { "@babel/core": "^7.4.5", "@babel/preset-env": "^7.4.5", "@babel/preset-typescript": "^7.3.3", "@types/express": "^4.17.0", "@types/jest": "^24.0.15", "babel-eslint": "^10.0.2", "babel-loader": "^8.0.6", "coveralls": "^3.0.4", "eslint": "^6.0.1", "eslint-config-prettier": "^6.0.0", "eslint-plugin-prettier": "^3.1.0", "husky": "^3.0.0", "jest": "^24.8.0", "lint-staged": "^9.0.2", "moment": "^2.24.0", "prettier": "^1.18.2", "source-map-loader": "^0.2.4", "ts-jest": "^24.0.2", "ts-loader": "^6.0.4", "ts-node": "^8.3.0", "tsconfig-paths": "^3.8.0", "tslint": "^5.18.0", "typescript": "^3.5.2", "webpack": "^4.35.2", "webpack-cli": "^3.3.5" }, "lint-staged": { "*.{js}": [ "eslint", "git add" ] } }