{
  "name": "new-error",
  "version": "2.2.0",
  "description": "A production-grade error creation and serialization library designed for Typescript",
  "main": "build/index.js",
  "types": "build/index.d.ts",
  "scripts": {
    "build": "npm run build:clean && npm run compile",
    "build:clean": "rm -rf build/*",
    "compile": "tsc",
    "debug": "ts-node-dev --inspect -- src/index.ts",
    "debug:break": "ts-node-dev --inspect-brk -- src/index.ts",
    "test": "jest",
    "test:ci": "jest --ci --coverage",
    "test:debug": "node --inspect-brk node_modules/.bin/jest",
    "test:watch": "jest --watch",
    "test:coverage:watch": "jest --coverage --watch",
    "toc": "toc-md README.md README.md",
    "add-readme": "git add README.md",
    "lint-staged": "lint-staged",
    "prepare-publish": "npm run changelog:prepare && version-bump && npm run changelog:release && npm run changelog:stamp",
    "version-bump": "version-bump",
    "changelog:help": "changelog-version",
    "changelog:verify": "changelog-version verify",
    "changelog:prepare": "changelog-version prepare",
    "changelog:stamp": "git-commit-stamper parse CHANGELOG.md",
    "changelog:release": "changelog-version release",
    "lint": "prettier-standard src/**/*.ts && standardx src/**/*.ts",
    "ts-node-dev": "ts-node-dev"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/theogravity/new-error.git"
  },
  "author": "Theo Gravity <theo@suteki.nu>",
  "license": "MIT",
  "keywords": [
    "error",
    "throw",
    "custom",
    "generate",
    "new",
    "extends",
    "factory",
    "subclass",
    "inherit",
    "extension",
    "create",
    "typescript",
    "serialize",
    "collection",
    "stack",
    "trace",
    "err",
    "log",
    "logging"
  ],
  "bugs": {
    "url": "https://github.com/theogravity/new-error/issues"
  },
  "homepage": "https://github.com/theogravity/new-error#readme",
  "dependencies": {
    "es6-error": "^4.1.1",
    "sprintf-js": "^1.1.2"
  },
  "devDependencies": {
    "@theo.gravity/changelog-version": "2.1.11",
    "@theo.gravity/version-bump": "2.0.14",
    "@types/jest": "29.5.2",
    "@types/node": "^20.3.1",
    "@typescript-eslint/eslint-plugin": "^5.33.0",
    "@typescript-eslint/parser": "^5.33.0",
    "eslint": "8.21.0",
    "git-commit-stamper": "^1.0.10",
    "jest": "^29.5.0",
    "jest-cli": "29.5.0",
    "jest-junit-reporter": "1.1.0",
    "lint-staged": "13.0.3",
    "pre-commit": "1.2.2",
    "prettier-standard": "^16.4.1",
    "standardx": "^7.0.0",
    "toc-md-alt": "^0.4.6",
    "ts-jest": "29.1.0",
    "ts-node": "10.9.1",
    "ts-node-dev": "^2.0.0",
    "typescript": "5.1.3"
  },
  "eslintConfig": {
    "parserOptions": {
      "ecmaVersion": 6,
      "sourceType": "module",
      "ecmaFeatures": {
        "modules": true
      }
    },
    "parser": "@typescript-eslint/parser",
    "plugins": [
      "@typescript-eslint/eslint-plugin"
    ],
    "rules": {
      "@typescript-eslint/no-unused-vars": [
        2,
        {
          "args": "none"
        }
      ]
    }
  },
  "lint-staged": {
    "src/**/*.ts": [
      "prettier-standard",
      "git add"
    ]
  },
  "pre-commit": [
    "toc",
    "lint-staged",
    "test:ci",
    "build"
  ]
}
