UNPKG

async-validate

Version:

Asynchronous validation for node and the browser

44 lines (43 loc) 1.35 kB
{ "name": "async-validate", "description": "Asynchronous validation for node and the browser", "version": "1.0.1", "author": "muji <noop@xpm.io>", "license": "MIT", "browser": "./lib/schema.js", "repository": { "type": "git", "url": "https://github.com/tmpfs/async-validate.git" }, "keywords": [ "validation", "validate", "valid", "object", "type" ], "dependencies": { "format-util": "~1.0.3", "zephyr": "~1.3.5" }, "devDependencies": { "browserify": "~13.0.0", "chai": "~3.5.0", "coveralls": "~2.11.9", "istanbul": "~0.4.3", "mocha": "~2.4.5", "moment": "~2.12.0" }, "scripts": { "lint": "jshint . && jscs .", "docs": "npm run example && npm run readme", "readme": "mk readme", "example": "mdp --force -v -i doc/example.json -o EXAMPLE.md", "browser": "browserify -o async-validate.js -e ./lib/schema.js && du -bh async-validate.js", "clean": "rm -rf coverage ./async-validate.js ./test/spec.js", "spec": "node test/build.js > test/index.js && browserify -o test/spec.js -e test/index.js", "test": "NODE_ENV=test mocha test/global ${SPEC:-test/spec}", "cover": "NODE_ENV=test istanbul cover _mocha -- test/global ${SPEC:-test/spec}", "coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" } }