conway-errors
Version:
Simplify the creation, structuring and throwing of errors
62 lines (61 loc) • 1.54 kB
JSON
{
"name": "conway-errors",
"source": "index.ts",
"version": "3.2.0",
"private": false,
"description": "Simplify the creation, structuring and throwing of errors",
"exports": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"default": "./dist/index.module.js"
},
"main": "dist/index.js",
"module": "dist/index.module.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/ivklgn/conway-errors"
},
"scripts": {
"type-check": "tsc --noEmit --p tsconfig.json",
"build": "npm run clean && microbundle",
"test": "ts-node index.test.ts",
"lint": "biome lint ./index.ts ./index.test.ts",
"lint:fix": "biome lint ./index.ts ./index.test.ts --fix",
"format": "biome format --write ./index.ts ./index.test.ts",
"clean": "rimraf dist",
"prepublishOnly": "npm run lint && npm run test && npm run build"
},
"files": [
"/dist",
"/package.json"
],
"keywords": [
"errors",
"typescript",
"error-handling",
"custom-errors",
"structured-errors",
"error-utils",
"backend",
"exceptions",
"js-errors",
"application-error"
],
"author": "ivklgn",
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@types/node": "^20.14.9",
"microbundle": "^0.15.1",
"rimraf": "^5.0.7",
"snoop": "^1.0.4",
"ts-node": "^10.9.2",
"typescript": "^5.5.3",
"uvu": "^0.5.6"
},
"engines": {
"npm": ">=8.0.0"
}
}