package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "es-errors",
  3. "version": "1.3.0",
  4. "description": "A simple cache for a few of the JS Error constructors.",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./eval": "./eval.js",
  9. "./range": "./range.js",
  10. "./ref": "./ref.js",
  11. "./syntax": "./syntax.js",
  12. "./type": "./type.js",
  13. "./uri": "./uri.js",
  14. "./package.json": "./package.json"
  15. },
  16. "sideEffects": false,
  17. "scripts": {
  18. "prepack": "npmignore --auto --commentLines=autogenerated",
  19. "prepublishOnly": "safe-publish-latest",
  20. "prepublish": "not-in-publish || npm run prepublishOnly",
  21. "pretest": "npm run lint",
  22. "test": "npm run tests-only",
  23. "tests-only": "nyc tape 'test/**/*.js'",
  24. "posttest": "aud --production",
  25. "prelint": "evalmd README.md",
  26. "lint": "eslint --ext=js,mjs .",
  27. "postlint": "tsc -p . && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git' | grep -v dist/)",
  28. "version": "auto-changelog && git add CHANGELOG.md",
  29. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  30. },
  31. "repository": {
  32. "type": "git",
  33. "url": "git+https://github.com/ljharb/es-errors.git"
  34. },
  35. "keywords": [
  36. "javascript",
  37. "ecmascript",
  38. "error",
  39. "typeerror",
  40. "syntaxerror",
  41. "rangeerror"
  42. ],
  43. "author": "Jordan Harband <ljharb@gmail.com>",
  44. "license": "MIT",
  45. "bugs": {
  46. "url": "https://github.com/ljharb/es-errors/issues"
  47. },
  48. "homepage": "https://github.com/ljharb/es-errors#readme",
  49. "devDependencies": {
  50. "@ljharb/eslint-config": "^21.1.0",
  51. "@types/tape": "^5.6.4",
  52. "aud": "^2.0.4",
  53. "auto-changelog": "^2.4.0",
  54. "eclint": "^2.8.1",
  55. "eslint": "^8.8.0",
  56. "evalmd": "^0.0.19",
  57. "in-publish": "^2.0.1",
  58. "npmignore": "^0.3.1",
  59. "nyc": "^10.3.2",
  60. "safe-publish-latest": "^2.0.0",
  61. "tape": "^5.7.4",
  62. "typescript": "next"
  63. },
  64. "auto-changelog": {
  65. "output": "CHANGELOG.md",
  66. "template": "keepachangelog",
  67. "unreleased": false,
  68. "commitLimit": false,
  69. "backfillLimit": false,
  70. "hideCredit": true
  71. },
  72. "publishConfig": {
  73. "ignore": [
  74. ".github/workflows"
  75. ]
  76. },
  77. "engines": {
  78. "node": ">= 0.4"
  79. }
  80. }