random-char
Version:
Return a random character.
56 lines (55 loc) • 1.35 kB
JSON
{
"name": "random-char",
"version": "1.0.4",
"description": "Return a random character.",
"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"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mock-end/random-char.git"
},
"keywords": [
"char",
"character",
"generator",
"generate",
"random",
"randomly",
"randomize",
"chance",
"test",
"dice",
"mock"
],
"license": "MIT",
"author": {
"name": "bubkoo",
"email": "bubkoo.wy@gmail.com"
},
"bugs": {
"url": "https://github.com/mock-end/random-char/issues"
},
"homepage": "https://github.com/mock-end/random-char#readme",
"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",
"is-object": "^1.0.1",
"random-natural": "^1.0.3",
"to-str": "^1.0.0"
}
}