quack
Version:
Check the values of passed arguments in a function - see if they quack like a duck.
32 lines (31 loc) • 848 B
JSON
{
"name": "quack",
"version": "0.3.0",
"description": "Check the values of passed arguments in a function - see if they quack like a duck.",
"main": "quack.js",
"scripts": {
"test": "mocha -w -G -r should test/unminified-test.js",
"test-min": "npm run build; mocha -r should test/minified-test.js",
"prepublish": "npm run test-min && git diff --exit-code",
"build": "./node_modules/uglify-js/bin/uglifyjs quack.js -m -o quack.min.js --source-map quack.js.src"
},
"repository": {
"type": "git",
"url": "git@github.com:screenrev/quack.git"
},
"keywords": [
"ducktype",
"duck",
"arguments",
"quack",
"signature",
"validate"
],
"author": "glen@screenrev.com",
"license": "BSD",
"devDependencies": {
"mocha": "~1.9.0",
"uglify-js": "~2.2.5",
"should": "~1.2.2"
}
}