package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "name": "ent",
  3. "description": "Encode and decode HTML entities",
  4. "version": "2.2.2",
  5. "repository": "https://github.com/ljharb/ent.git",
  6. "author": "James Halliday <mail@substack.net> (http://substack.net)",
  7. "main": "./index.js",
  8. "sideEffects": false,
  9. "keywords": [
  10. "entities",
  11. "entitify",
  12. "entity",
  13. "html",
  14. "encode",
  15. "decode"
  16. ],
  17. "license": "MIT",
  18. "scripts": {
  19. "prepack": "npmignore --auto --commentLines=autogenerated",
  20. "prepublishOnly": "safe-publish-latest && npm run build",
  21. "prepublish": "not-in-publish || npm run prepublishOnly",
  22. "lint": "eslint --ext=js,mjs .",
  23. "postlint": "evalmd README.md",
  24. "pretest": "npm run lint",
  25. "tests-only": "nyc tape 'test/**/*.js'",
  26. "test": "npm run tests-only",
  27. "posttest": "npx npm@'>= 10.2' audit --production",
  28. "build": "node build",
  29. "version": "auto-changelog && git add CHANGELOG.md",
  30. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  31. },
  32. "dependencies": {
  33. "call-bound": "^1.0.3",
  34. "es-errors": "^1.3.0",
  35. "punycode": "^1.4.1",
  36. "safe-regex-test": "^1.1.0"
  37. },
  38. "devDependencies": {
  39. "@ljharb/eslint-config": "^21.1.1",
  40. "auto-changelog": "^2.5.0",
  41. "encoding": "^0.1.13",
  42. "eslint": "=8.8.0",
  43. "evalmd": "^0.0.19",
  44. "in-publish": "^2.0.1",
  45. "npmignore": "^0.3.1",
  46. "nyc": "^10.3.2",
  47. "safe-publish-latest": "^2.0.0",
  48. "tape": "^5.9.0"
  49. },
  50. "engines": {
  51. "node": ">= 0.4"
  52. },
  53. "auto-changelog": {
  54. "output": "CHANGELOG.md",
  55. "template": "keepachangelog",
  56. "unreleased": false,
  57. "commitLimit": false,
  58. "backfillLimit": false,
  59. "hideCredit": true
  60. },
  61. "publishConfig": {
  62. "ignore": [
  63. ".github/workflows",
  64. "build"
  65. ]
  66. },
  67. "testling": {
  68. "files": "test/*.js"
  69. }
  70. }