UNPKG

await-result

Version:

Error handling for async functions without try/catch blocks

84 lines (83 loc) 2.37 kB
{ "name": "await-result", "version": "2.3.2", "description": "Error handling for async functions without try/catch blocks", "author": { "name": "Ty-Lucas Kelley", "email": "ty@greylocklabs.com", "url": "https://greylocklabs.com" }, "homepage": "https://github.com/greylocklabs/await-result", "bugs": "https://github.com/greylocklabs/await-result/issues", "repository": { "type": "git", "url": "https://github.com/greylocklabs/await-result" }, "license": "MIT", "keywords": [ "async", "await", "async/await", "promises", "promise", "try/catch", "errors", "node" ], "files": [ "dist" ], "source": "src/index.ts", "main": "dist/index.js", "module": "dist/index.mjs", "umd:main": "dist/index.umd.js", "types": "dist/index.d.ts", "scripts": { "clean": "rm -rf node_modules dist", "postclean": "yarn install", "prebuild": "rm -rf dist", "build": "microbundle", "lint": "yarn lint:eslint && yarn lint:markdownlint", "lint:eslint": "eslint --ignore-path .gitignore --ext .js,.jsx,.ts,.tsx src", "lint:markdownlint": "markdownlint README.md CHANGELOG.md .github", "test": "jest", "test:coverage": "jest --coverage && cat coverage/lcov.info | coveralls", "prepublishOnly": "yarn build && yarn test" }, "engines": { "node": ">= 8" }, "husky": { "hooks": { "pre-commit": "yarn test", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "devDependencies": { "@babel/cli": "^7.8.4", "@babel/core": "^7.8.4", "@babel/preset-env": "^7.8.4", "@commitlint/cli": "8.3.5", "@commitlint/config-conventional": "8.3.4", "@greylocklabs/eslint-config": "3.1.2", "@types/jest": "25.1.3", "@typescript-eslint/eslint-plugin": "^2.20.0", "@typescript-eslint/parser": "^2.20.0", "@vue/eslint-config-typescript": "^5.0.1", "coveralls": "3.0.9", "eslint": "^6.8.0", "eslint-plugin-import": "^2.20.1", "eslint-plugin-jest": "^23.8.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-react": "^7.18.3", "eslint-plugin-security": "^1.4.0", "eslint-plugin-vue": "^6.2.1", "husky": "4.2.3", "jest": "25.1.0", "markdownlint-cli": "0.22.0", "microbundle": "0.11.0", "shelljs": "0.8.3", "ts-jest": "25.2.1", "typescript": "^3.8.2" } }