2020-03-31 20:42:07 +08:00
|
|
|
{
|
2020-03-31 20:57:48 +08:00
|
|
|
"name": "make-error",
|
|
|
|
"version": "1.3.5",
|
|
|
|
"main": "index.js",
|
|
|
|
"license": "ISC",
|
2020-03-31 20:42:07 +08:00
|
|
|
"description": "Make your own error types!",
|
|
|
|
"keywords": [
|
|
|
|
"create",
|
|
|
|
"custom",
|
|
|
|
"derive",
|
|
|
|
"error",
|
|
|
|
"errors",
|
|
|
|
"extend",
|
|
|
|
"extending",
|
|
|
|
"extension",
|
|
|
|
"factory",
|
|
|
|
"inherit",
|
|
|
|
"make",
|
|
|
|
"subclass"
|
|
|
|
],
|
2020-03-31 20:57:48 +08:00
|
|
|
"homepage": "https://github.com/JsCommunity/make-error",
|
|
|
|
"bugs": "https://github.com/JsCommunity/make-error/issues",
|
|
|
|
"author": "Julien Fontanet <julien.fontanet@isonoe.net>",
|
2020-03-31 20:42:07 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git://github.com/JsCommunity/make-error.git"
|
|
|
|
},
|
2020-03-31 20:57:48 +08:00
|
|
|
"devDependencies": {
|
|
|
|
"browserify": "^14.5.0",
|
|
|
|
"husky": "^0.14.3",
|
|
|
|
"jest": "^20",
|
|
|
|
"standard": "^10.0.3",
|
|
|
|
"uglify-js": "^3.3.2"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"testEnvironment": "node"
|
|
|
|
},
|
2020-03-31 20:42:07 +08:00
|
|
|
"scripts": {
|
2020-03-31 20:57:48 +08:00
|
|
|
"commitmsg": "yarn test",
|
2020-03-31 20:42:07 +08:00
|
|
|
"dev-test": "jest --watch",
|
|
|
|
"prepublishOnly": "mkdir -p dist && browserify -s makeError index.js | uglifyjs -c > dist/make-error.js",
|
2020-03-31 20:57:48 +08:00
|
|
|
"pretest": "standard",
|
2020-03-31 20:42:07 +08:00
|
|
|
"test": "jest"
|
|
|
|
},
|
2020-03-31 20:57:48 +08:00
|
|
|
"files": [
|
|
|
|
"dist/",
|
|
|
|
"index.js",
|
|
|
|
"index.d.ts"
|
|
|
|
]
|
2020-03-31 20:42:07 +08:00
|
|
|
}
|