await-to-done
Version:
Async await wrapper for easy error handling
127 lines (126 loc) • 3.47 kB
JSON
{
"name": "await-to-done",
"description": "Async await wrapper for easy error handling",
"version": "1.1.1",
"packageManager": "pnpm@9.1.3",
"main": "dist/index.cjs.js",
"module": "dist/index.esm-bundler.js",
"browser": "dist/index.esm-browser.js",
"unpkg": "dist/index.global.prod.js",
"jsdelivr": "dist/index.global.prod.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"module": "./dist/index.esm-bundler.js",
"require": "./dist/index.cjs.js",
"import": "./dist/index.mjs"
},
"./*": "./*"
},
"directories": {
"dist": "dist",
"src": "src"
},
"files": [
"dist",
"typings"
],
"scripts": {
"build": "run-s clean build:{bundle,types}",
"build:bundle": "tscjs scripts/build",
"build:types": "tsc -p src/tsconfig.json && pnpm roll-types",
"build:docs": "rm-all docs && typedoc && prettier --write \"**/*.md\"",
"deploy": "sh scripts/deploy.sh",
"roll-types": "api-extractor run && rm-all temp",
"watch": "pnpm build:bundle -w",
"pub": "tscjs scripts/publish",
"unpub": "tscjs scripts/unpublish",
"sync": "tscjs scripts/sync",
"workflow:publish-test": "zx scripts/workflow.mjs",
"clean": "rm-all dist es lib",
"dist": "run-s eslint prettier build",
"test-unit": "jest --filter ./scripts/filter-unit.js",
"jest": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jest --coverage",
"coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"eslint": "eslint --fix .",
"prettier": "prettier --write \"**/*.{js,ts,jsx,tsx,yml,json,md}\""
},
"dependencies": {
"tslib": "^2.6.2"
},
"devDependencies": {
"@babel/core": "^7.24.6",
"@babel/preset-env": "^7.24.6",
"@babel/preset-typescript": "^7.24.6",
"@eslint-sets/eslint-config-ts": "^5.13.0",
"@microsoft/api-extractor": "^7.46.2",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.13",
"chalk": "^5.3.0",
"core-js": "^3.37.1",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"fast-glob": "^3.3.2",
"jest": "^29.7.0",
"load-yml": "^1.4.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"prettier-config-common": "^1.4.0",
"reinstaller": "^3.0.2",
"rm-all": "^1.1.1",
"rollup": "^4.18.0",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-inject-code": "^1.1.0",
"rollup-plugin-visualizer": "^5.12.0",
"ts-jest": "^29.1.4",
"ts-morph": "^22.0.0",
"tsnd": "^1.1.0",
"typedoc": "^0.25.13",
"typedoc-plugin-markdown": "^4.0.3",
"typescript": "^5.4.5",
"zx": "^8.1.2"
},
"sideEffects": false,
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"tslib",
"webpack"
],
"allowedVersions": {
"eslint": "^8.0.0"
}
}
},
"keywords": [
"promise",
"await-to-js",
"await-to",
"await-error",
"await-to-done",
"await-done",
"saqqdy"
],
"license": "MIT",
"author": "saqqdy <https://github.com/saqqdy>",
"homepage": "https://github.com/saqqdy/await-to-done#readme",
"bugs": {
"url": "https://github.com/saqqdy/await-to-done/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/saqqdy/await-to-done.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
}
}