package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "safe-push-apply",
  3. "version": "1.0.0",
  4. "description": "Push an array of items into an array, while being robust against prototype modification",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./package.json": "./package.json"
  9. },
  10. "sideEffects": false,
  11. "scripts": {
  12. "prepack": "npmignore --auto --commentLines=autogenerated",
  13. "version": "auto-changelog && git add CHANGELOG.md",
  14. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
  15. "prelint": "evalmd README.md",
  16. "lint": "eslint --ext=js,mjs .",
  17. "postlint": "tsc && attw -P",
  18. "prepublish": "not-in-publish || npm run prepublishOnly",
  19. "prepublishOnly": "safe-publish-latest",
  20. "pretest": "npm run lint",
  21. "tests-only": "nyc tape test",
  22. "test": "npm run tests-only",
  23. "posttest": "npx npm@'>= 10.2' audit --production"
  24. },
  25. "keywords": [
  26. "array",
  27. "push",
  28. "apply",
  29. "pushApply",
  30. "safe"
  31. ],
  32. "author": "Jordan Harband <ljharb@gmail.com>",
  33. "funding": {
  34. "url": "https://github.com/sponsors/ljharb"
  35. },
  36. "license": "MIT",
  37. "repository": {
  38. "type": "git",
  39. "url": "git+https://github.com/ljharb/safe-push-apply.git"
  40. },
  41. "bugs": {
  42. "url": "https://github.com/ljharb/safe-push-apply/issues"
  43. },
  44. "homepage": "https://github.com/ljharb/safe-push-apply#readme",
  45. "dependencies": {
  46. "es-errors": "^1.3.0",
  47. "isarray": "^2.0.5"
  48. },
  49. "devDependencies": {
  50. "@arethetypeswrong/cli": "^0.17.1",
  51. "@ljharb/eslint-config": "^21.1.1",
  52. "@ljharb/tsconfig": "^0.2.2",
  53. "@types/isarray": "^2.0.3",
  54. "@types/tape": "^5.6.5",
  55. "auto-changelog": "^2.5.0",
  56. "encoding": "^0.1.13",
  57. "eslint": "=8.8.0",
  58. "evalmd": "^0.0.19",
  59. "in-publish": "^2.0.1",
  60. "npmignore": "^0.3.1",
  61. "nyc": "^10.3.2",
  62. "safe-publish-latest": "^2.0.0",
  63. "tape": "^5.9.0",
  64. "typescript": "next"
  65. },
  66. "engines": {
  67. "node": ">= 0.4"
  68. },
  69. "auto-changelog": {
  70. "output": "CHANGELOG.md",
  71. "template": "keepachangelog",
  72. "unreleased": false,
  73. "commitLimit": false,
  74. "backfillLimit": false,
  75. "hideCredit": true
  76. },
  77. "publishConfig": {
  78. "ignore": [
  79. ".github/workflows"
  80. ]
  81. }
  82. }