UNPKG

@cashfarm/plow

Version:

Library for validating input data and parameters

138 lines (137 loc) 3.64 kB
{ "name": "@cashfarm/plow", "version": "0.5.0", "description": "Library for validating input data and parameters", "author": "Saulo Vallory <saulo@cashfarm.com>", "license": "MIT", "homepage": "https://github.com/cashfarm/plow#README", "bugs": { "url": "https://github.com/cashfarm/plow/issues" }, "keywords": [ "shiny" ], "main": "lib/index.js", "typings": "lib/index.d.ts", "repository": { "type": "git", "url": "git+ssh://git@github.com/cashfarm/plow.git" }, "pre-commit": "lint", "scripts": { "build": "yarn run clean && yarn lint && yarn test && yarn tsc && yarn lint-pkg", "build:tests": "tsc && tsc -p tests/", "clean": "rm -rf lib/ & rm -rf tests/compiled", "check": "nsp check", "cover": "nyc npm test", "dev": "yarn run clean; tsc -w & tsc -w -p tests & ava --watch", "lint": "tslint --project ./tsconfig.json -c ./tslint.json --type-check ./src/**/*.ts", "lint-pkg": "ts-package-lint", "pretest": "trash ./coverage && yarn tsc && yarn tsc -- -p tests", "test": "NODE_ENV=test DEBUG=test* DEBUG_COLORS=true ava", "tsc": "node_modules/.bin/tsc" }, "dependencies": { "@cashfarm/lang": "^0.8.4", "amqplib": "^0.5.1", "bluebird": "^3.5.0", "class-transformer": "^0.1.8", "inversify": "^4.11.1", "inversify-binding-decorators": "^3.2.0", "servicebus": "^2.0.10", "uuid": "3.x" }, "devDependencies": { "@types/amqplib": "^0.5.4", "@types/bluebird": "^3.5.8", "@types/chai": "^4.0.1", "@types/chalk": "^0.4.31", "@types/gulp": "^4.0.4", "@types/gulp-typedoc": "^0.0.30", "@types/gulp-util": "^3.0.31", "@types/gulp-watch": "^4.1.31", "@types/highlight.js": "^9.1.9", "@types/mocha": "^2.2.41", "@types/node": "^8.0.13", "@types/reflect-metadata": "^0.0.5", "@types/source-map-support": "^0.4.0", "@types/uuid": "^3.4.0", "ava": "^0.21.0", "chai": "^3.5.0", "chalk": "^1.1.3", "gitbook-plugin-alerts": "^0.2.0", "gitbook-plugin-anchorjs": "^1.1.1", "gitbook-plugin-highlightjs": "^2.1.0", "gitbook-plugin-include": "^0.1.0", "gitbook-plugin-include-highlight": "^0.2.1", "gitbook-plugin-theme-api": "^1.1.2", "gulp": "^3.9.1", "gulp-concat-filenames": "^1.2.0", "gulp-recursive-folder": "^0.9.4", "gulp-typedoc": "^2.0.0", "gulp-util": "^3.0.7", "gulp-watch": "^4.3.9", "gulpclass": "^0.1.1", "mocha": "^3.0.2", "source-map-support": "^0.4.2", "trash-cli": "^1.4.0", "ts-node": "^3.2.0", "ts-package-lint": "^0.2.2", "tsdoc": "^0.0.4", "tslib": "^1.7.1", "tslint": "^5.5.0", "tslint-microsoft-contrib": "^5.0.1", "typedoc": "^0.7.1", "typescript": "^2.3.x", "typings": "^1.3.2" }, "ava": { "files": [ "tests/compiled/**/*.spec.js" ], "concurrency": 5, "failFast": false, "failWithoutAssertions": false, "verbose": true, "tap": false, "powerAssert": false }, "nyc": { "lines": 20, "statements": 5, "functions": 5, "branches": 5, "include": [ "src/handlers/**/*.js", "src/utils/**/*.js" ], "exclude": [ "src/**/*.spec.js", "src/**/_*.js" ], "reporter": [ "html", "lcov", "text-summary" ], "cache": true, "all": true, "check-coverage": true, "report-dir": "./coverage" }, "standard": { "globals": [ "describe", "it", "expect" ] }, "autotypes": { "ignore": [ "stripe" ] }, "optionalDependencies": { "node-eventstore-client": "^0.1.7" } }