UNPKG

pony-cause

Version:

Ponyfill and helpers for Error Causes

107 lines (106 loc) 3.17 kB
{ "name": "pony-cause", "version": "2.1.11", "description": "Ponyfill and helpers for Error Causes", "homepage": "http://github.com/voxpelli/pony-cause", "repository": { "type": "git", "url": "git://github.com/voxpelli/pony-cause.git" }, "main": "index.js", "module": "index.mjs", "types": "index.d.ts", "typesVersions": { "~4.6 || ~4.7": { "index.d.ts": [ "compat.d.ts" ] } }, "exports": { ".": { "types@~4.6": "./compat.d.ts", "types@~4.7": "./compat.d.ts", "types": "./index.d.ts", "import": "./index.mjs", "require": "./index.js" } }, "files": [ "/compat.d.ts", "/index.js", "/index.mjs", "/index.d.ts", "/index.d.ts.map", "lib/**/*.js", "lib/**/*.mjs", "lib/**/*.d.ts", "lib/**/*.d.ts.map" ], "scripts": { "build-for-test": "run-s clean build:1:esm", "build:0": "run-s clean", "build:1:declaration": "tsc -p declaration.tsconfig.json", "build:1:esm": "linemod -e mjs index.js lib/*.js", "build:1": "run-p build:1:*", "build": "run-s build:*", "check:0": "run-s build-for-test", "check:1:installed-check": "installed-check --ignore-dev", "check:1:knip": "knip", "check:1:lint": "eslint --report-unused-disable-directives .", "check:1:tsc": "tsc", "check:1:type-coverage": "type-coverage --detail --strict --at-least 97 --ignore-files 'test/*'", "check:1": "run-p -c --aggregate-output check:1:*", "check": "run-s check:*", "clean:declarations": "rm -rf $(find . -maxdepth 2 -type f -name '*.d.ts*' ! -name '*compat.d.ts')", "clean": "run-p clean:*", "prepare": "husky install > /dev/null", "prepublishOnly": "run-s build", "test:0": "run-s build-for-test", "test:1-mocha": "c8 --reporter=lcov --reporter text mocha 'test/**/*.spec.js' 'test/**/*.spec.mjs'", "test-build-less": "mocha 'test/**/*.spec.js'", "test-ci": "run-s test:*", "test": "run-s check test:*" }, "keywords": [ "ponyfill", "error", "error-cause" ], "author": "Pelle Wessman <pelle@kodfabrik.se> (http://kodfabrik.se/)", "license": "0BSD", "engines": { "node": ">=12.0.0" }, "devDependencies": { "@types/chai": "^4.3.14", "@types/chai-string": "^1.4.5", "@types/mocha": "^10.0.6", "@types/node": "^18.19.31", "@types/verror": "^1.10.10", "@voxpelli/eslint-config": "^19.0.0", "@voxpelli/tsconfig": "^11.0.0", "c8": "^9.1.0", "chai": "^4.4.1", "chai-string": "^1.5.0", "eslint": "^8.57.0", "eslint-plugin-es-x": "^7.6.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jsdoc": "^46.10.1", "eslint-plugin-mocha": "^10.4.2", "eslint-plugin-n": "^16.6.2", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-security": "^1.7.1", "eslint-plugin-sort-destructure-keys": "^1.5.0", "eslint-plugin-unicorn": "^48.0.1", "husky": "^8.0.3", "installed-check": "^9.3.0", "knip": "^5.9.4", "linemod": "^1.1.0", "mocha": "^10.4.0", "npm-run-all2": "^6.1.2", "type-coverage": "^2.28.1", "typescript": "~5.4.5", "verror": "^1.10.1" } }