mirror of
https://github.com/nodejs/node.git
synced 2026-12-05 06:08:56 -05:00
PR-URL: https://github.com/nodejs/node/pull/21817 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com>
88 lines
1.9 KiB
JSON
88 lines
1.9 KiB
JSON
{
|
|
"author": {
|
|
"name": "Titus Wormer",
|
|
"email": "tituswormer@gmail.com",
|
|
"url": "http://wooorm.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/wooorm/bail/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"contributors": [
|
|
{
|
|
"name": "Titus Wormer",
|
|
"email": "tituswormer@gmail.com",
|
|
"url": "http://wooorm.com"
|
|
}
|
|
],
|
|
"dependencies": {},
|
|
"deprecated": false,
|
|
"description": "Throw a given error",
|
|
"devDependencies": {
|
|
"browserify": "^16.0.0",
|
|
"esmangle": "^1.0.1",
|
|
"nyc": "^11.0.0",
|
|
"prettier": "^1.12.0",
|
|
"remark-cli": "^5.0.0",
|
|
"remark-preset-wooorm": "^4.0.0",
|
|
"tape": "^4.0.0",
|
|
"xo": "^0.20.0"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"homepage": "https://github.com/wooorm/bail#readme",
|
|
"keywords": [
|
|
"fail",
|
|
"bail",
|
|
"throw",
|
|
"callback",
|
|
"error"
|
|
],
|
|
"license": "MIT",
|
|
"name": "bail",
|
|
"nyc": {
|
|
"check-coverage": true,
|
|
"lines": 100,
|
|
"functions": 100,
|
|
"branches": 100
|
|
},
|
|
"prettier": {
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"singleQuote": true,
|
|
"bracketSpacing": false,
|
|
"semi": false,
|
|
"trailingComma": "none"
|
|
},
|
|
"remarkConfig": {
|
|
"plugins": [
|
|
"preset-wooorm"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/wooorm/bail.git"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run build-bundle && npm run build-mangle",
|
|
"build-bundle": "browserify index.js --bare -s bail > bail.js",
|
|
"build-mangle": "esmangle bail.js > bail.min.js",
|
|
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
|
|
"test": "npm run format && npm run build && npm run test-coverage",
|
|
"test-api": "node test",
|
|
"test-coverage": "nyc --reporter lcov tape test.js"
|
|
},
|
|
"version": "1.0.3",
|
|
"xo": {
|
|
"prettier": true,
|
|
"esnext": false,
|
|
"rules": {
|
|
"no-var": "off",
|
|
"prefer-arrow-callback": "off"
|
|
},
|
|
"ignores": [
|
|
"bail.js"
|
|
]
|
|
}
|
|
} |