validator-chain
Version:
Powerful tool for validate input parameters in the most stylish way. Could be use as simple test case in conditional statement or in standalone chain of validation
64 lines (63 loc) • 1.86 kB
JSON
{
"name": "validator-chain",
"private": false,
"version": "2.1.0",
"author": "Antoine Caron <acaron@trustdesigner.com>",
"license": "MIT",
"description": "Powerful tool for validate input parameters in the most stylish way.\nCould be use as simple test case in conditional statement or in standalone chain of validation",
"keywords": [
"Validator",
"Checker",
"Consistency"
],
"repository": {
"type": "git",
"url": "git://gitlab.com:antoinecaron/validator-chain.git"
},
"main": "sources/index.js",
"scripts": {
"coverage": "nyc npm run test",
"pregit-tag": "git fetch --all",
"git-tag": "PKG_VERSION=$(jq -r \".version\" package.json) && test \"$(git rev-list -n 1 v${PKG_VERSION} 2> /dev/null)\" == \"$(git rev-list -n 1 HEAD)\" || git tag v${PKG_VERSION}",
"postgit-tag": "for remote in $(git remote); do git push $remote --tags; done",
"lint": "eslint --ignore-pattern coverage **/**.js",
"produce": "npm run lint && npm run test",
"prerelease": "git diff --quiet && npm run produce",
"release": "npm run git-tag && if [[ $(jq -r \".private\" package.json) = \"false\" ]]; then npm publish --tag next; fi",
"test": "NODE_ENV=test mocha --bail --exit --timeout 999999 **/*.test.js",
"watch-test": "nodemon -e 'js' -x 'npm run test'"
},
"dependencies": {
"bluebird": "^3.7.2",
"chai-as-promised": "^7.1.1",
"eratum": "^2.0.6",
"lodash": "^4.17.15",
"sinon": "^9.0.2"
},
"devDependencies": {
"chai": "^4.2.0",
"eslint": "^7.1.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.20.2",
"mocha": "^7.1.1",
"nodemon": "^2.0.3",
"nyc": "^15.0.1"
},
"nyc": {
"extension": [
".js"
],
"include": [
"sources"
],
"exclude": [
"**/*.test.ts/"
],
"reporter": [
"html",
"lcovonly",
"text-summary"
]
}
}