UNPKG

random-bool

Version:

Return a random boolean value (true or false).

53 lines (52 loc) 1.29 kB
{ "name": "random-bool", "version": "1.0.2", "description": "Return a random boolean value (true or false).", "main": "index.js", "scripts": { "lint": "jshint index.js", "pretest": "npm run lint", "test": "mocha -R spec", "test:cov": "rm -rf ./test/coverage && istanbul cover _mocha --dir ./test/coverage -- -R spec", "test:rpt": "npm run test:cov && coveralls < ./test/coverage/lcov.info", "watch": "onchange 'index.js' 'test/**/*.js' -e 'test/coverage/**/*.js' -- npm test", "prepublish": "npm test" }, "keywords": [ "bool", "boolean", "generator", "generate", "random", "randomly", "randomize", "chance", "test", "dice", "mock" ], "author": { "name": "bubkoo", "email": "bubkoo.wy@gmail.com" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/mock-end/random-bool.git" }, "homepage": "https://github.com/mock-end/random-bool#readme", "bugs": { "url": "https://github.com/mock-end/random-bool/issues" }, "devDependencies": { "chai": "^3.5.0", "coveralls": "^2.11.9", "istanbul": "^0.4.2", "jshint": "^2.9.1", "mocha": "^2.4.5", "onchange": "^2.4.0" }, "dependencies": { "is-nil": "^1.0.1" } }