UNPKG

catch-unknown

Version:

Utility functions for writing type-safe catch blocks

57 lines (56 loc) 1.5 kB
{ "name": "catch-unknown", "version": "2.0.0", "description": "Utility functions for writing type-safe catch blocks", "keywords": [ "base62", "id", "random", "uuid" ], "homepage": "https://github.com/trevorr/catch-unknown#readme", "bugs": { "url": "https://github.com/trevorr/catch-unknown/issues" }, "repository": { "type": "git", "url": "git+https://github.com/trevorr/catch-unknown.git" }, "license": "ISC", "author": "Trevor Robinson", "files": [ "dist" ], "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "rm -rf dist && tsc", "lint": "eslint 'src/**/*.ts'", "lint:ci": "eslint 'src/**/*.ts' --format junit --output-file test-results/eslint/eslint.xml", "prepare": "npm run build", "prepublishOnly": "npm run test && npm run lint", "prettier": "prettier --write 'src/**/*.ts'", "test": "jest", "test:ci": "jest --ci --runInBand --reporters=default --reporters=jest-junit" }, "devDependencies": { "@types/jest": "^29.5.4", "@typescript-eslint/eslint-plugin": "^6.4.1", "@typescript-eslint/parser": "^6.4.1", "eslint": "^8.48.0", "jest": "^29.6.4", "jest-junit": "^16.0.0", "prettier": "^3.0.2", "ts-jest": "^29.1.1", "typescript": "^5.2.2" }, "jest-junit": { "outputDirectory": "test-results/junit", "outputName": "junit.xml" }, "prettier": { "printWidth": 120, "semi": true, "singleQuote": true } }