UNPKG

flaverr

Version:

Flavor an Error instance with the specified error code string or dictionary of customizations.

32 lines (31 loc) 1.03 kB
{ "name": "flaverr", "version": "1.10.0", "description": "Flavor an Error instance with the specified error code string or dictionary of customizations.", "main": "index.js", "scripts": { "sandbox": "node -i -e '_ = require(\"@sailshq/lodash\"); global[require(\"./package.json\").name] = require(\"./\"); console.log(\"\\n\\n\\n\\n--\");'", "custom-tests": "node ./node_modules/mocha/bin/mocha test --recursive && echo \"Custom tests all passed.\" && echo", "lint": "node ./node_modules/eslint/bin/eslint . --max-warnings=0 && echo '✔ Your code looks good.'", "test": "npm run lint && npm run custom-tests && echo 'Done.'" }, "repository": { "type": "git", "url": "git://github.com/mikermcneil/flaverr.git" }, "keywords": [ "error", "error-handling", "stack-trace", "error-codes" ], "author": "Mike McNeil", "license": "MIT", "dependencies": { "@sailshq/lodash": "^3.10.2" }, "devDependencies": { "eslint": "4.11.0", "mocha": "3.0.2" } }