run-time-error-cjs
Version:
A better error that is inspired by the Java exception that is also serializable to JSON.
88 lines (72 loc) • 1.77 kB
JSON
{
"name" : "run-time-error-cjs",
"version" : "1.4.0",
"type" : "module",
"description" : "A better error that is inspired by the Java exception that is also serializable to JSON.",
"author" :
{
"name" : "Luke Phillips",
"email" : "lsphillips.mail@gmail.com"
},
"keywords" :
[
"error",
"serializable",
"json",
"exception"
],
"homepage" : "https://github.com/lsphillips/RuntimeError",
"bugs" :
{
"url" : "https://github.com/lsphillips/RuntimeError/issues"
},
"devDependencies" :
{
"chai" : "4.3.10",
"mocha" : "10.2.0",
"eslint" : "8.52.0",
"eslint-plugin-import" : "2.29.0",
"eslint-plugin-promise" : "6.1.1",
"eslint-config-protect-me-from-my-stupidity" : "9.5.1",
"@babel/core" : "7.23.2",
"@babel/preset-env" : "7.23.2",
"rollup" : "3.29.4",
"@rollup/plugin-terser" : "0.4.4",
"@rollup/plugin-babel" : "6.0.4"
},
"main": "./dist/cjs/run-time-error.cjs",
"types": "./dist/cjs/run-time-error.d.ts",
"exports": {
".": {
"types": "./dist/cjs/run-time-error.d.ts",
"require": "./dist/cjs/run-time-error.cjs"
}
},
"files" :
[
"./README.md",
"./CHANGELOG.md",
"./LICENSE.txt",
"dist",
"./run-time-error.esm.d.ts",
"./run-time-error.cjs.d.ts"
],
"repository" :
{
"type" : "git",
"url" : "https://github.com/lsphillips/RuntimeError.git"
},
"scripts" :
{
"test:lint" : "eslint \"**/*.js\" --ignore-path .gitignore",
"test:unit" : "mocha \"tests/**/*.js\"",
"test" : "npm run test:lint && npm run test:unit",
"build" : "rollup --config && node ./render-manifests.js",
"prepack" : "npm run test && npm run build"
},
"license" : "MIT",
"engines" :
{
"node" : ">=12.0.0"
}
}