package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "errx",
  3. "type": "module",
  4. "version": "0.1.0",
  5. "description": "Zero dependency library to capture and parse stack traces in Node, Bun and Deno",
  6. "license": "MIT",
  7. "repository": "danielroe/errx",
  8. "sideEffects": false,
  9. "exports": {
  10. ".": "./dist/index.js"
  11. },
  12. "main": "./dist/index.js",
  13. "module": "./dist/index.js",
  14. "types": "./dist/index.d.ts",
  15. "files": [
  16. "dist"
  17. ],
  18. "devDependencies": {
  19. "@antfu/eslint-config": "latest",
  20. "@types/node": "^20.14.9",
  21. "@vitest/coverage-v8": "latest",
  22. "bumpp": "latest",
  23. "eslint": "latest",
  24. "lint-staged": "latest",
  25. "simple-git-hooks": "latest",
  26. "typescript": "latest",
  27. "unbuild": "latest",
  28. "vite": "latest",
  29. "vitest": "latest"
  30. },
  31. "resolutions": {
  32. "errx": "link:."
  33. },
  34. "simple-git-hooks": {
  35. "pre-commit": "npx lint-staged"
  36. },
  37. "lint-staged": {
  38. "*.{js,ts,mjs,cjs,json,.*rc}": [
  39. "pnpm eslint --fix"
  40. ]
  41. },
  42. "scripts": {
  43. "build": "unbuild",
  44. "dev": "vitest dev",
  45. "lint": "eslint . --fix",
  46. "release": "bumpp && pnpm publish",
  47. "test": "pnpm test:unit && pnpm test:types",
  48. "test:unit": "vitest",
  49. "test:types": "tsc --noEmit"
  50. }
  51. }