package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "safe-array-concat",
  3. "version": "1.1.0",
  4. "description": "`Array.prototype.concat`, but made safe by ignoring Symbol.isConcatSpreadable",
  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 && npm run emit",
  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": "npm run tsc",
  16. "lint": "eslint --ext=js,mjs .",
  17. "preemit": "rm -f *.ts *.ts.map test/*.ts test/*.ts.map",
  18. "emit": "npm run tsc -- --noEmit false --emitDeclarationOnly",
  19. "tsc": "tsc -p .",
  20. "postlint": "evalmd README.md",
  21. "prepublish": "not-in-publish || npm run prepublishOnly",
  22. "prepublishOnly": "safe-publish-latest",
  23. "pretest": "npm run lint",
  24. "tests-only": "nyc tape test",
  25. "test": "npm run tests-only",
  26. "posttest": "aud --production"
  27. },
  28. "keywords": [
  29. "safe",
  30. "Array",
  31. "concat",
  32. "push",
  33. "isConcatSpreadable"
  34. ],
  35. "author": "Jordan Harband <ljharb@gmail.com>",
  36. "funding": {
  37. "url": "https://github.com/sponsors/ljharb"
  38. },
  39. "license": "MIT",
  40. "repository": {
  41. "type": "git",
  42. "url": "git+https://github.com/ljharb/safe-array-concat.git"
  43. },
  44. "bugs": {
  45. "url": "https://github.com/ljharb/safe-array-concat/issues"
  46. },
  47. "homepage": "https://github.com/ljharb/safe-array-concat#readme",
  48. "devDependencies": {
  49. "@ljharb/eslint-config": "^21.1.0",
  50. "@types/call-bind": "^1.0.5",
  51. "@types/get-intrinsic": "^1.2.2",
  52. "@types/has-symbols": "^1.0.2",
  53. "@types/isarray": "^2.0.2",
  54. "@types/mock-property": "^1.0.2",
  55. "@types/tape": "^5.6.4",
  56. "aud": "^2.0.4",
  57. "auto-changelog": "^2.4.0",
  58. "eslint": "=8.8.0",
  59. "evalmd": "^0.0.19",
  60. "in-publish": "^2.0.1",
  61. "mock-property": "^1.0.3",
  62. "npmignore": "^0.3.1",
  63. "nyc": "^10.3.2",
  64. "safe-publish-latest": "^2.0.0",
  65. "set-function-length": "^1.2.0",
  66. "tape": "^5.7.3",
  67. "typescript": "^5.4.0-dev.20240114"
  68. },
  69. "dependencies": {
  70. "call-bind": "^1.0.5",
  71. "get-intrinsic": "^1.2.2",
  72. "has-symbols": "^1.0.3",
  73. "isarray": "^2.0.5"
  74. },
  75. "auto-changelog": {
  76. "output": "CHANGELOG.md",
  77. "template": "keepachangelog",
  78. "unreleased": false,
  79. "commitLimit": false,
  80. "backfillLimit": false,
  81. "hideCredit": true
  82. },
  83. "publishConfig": {
  84. "ignore": [
  85. ".github/workflows",
  86. "!*.d.ts",
  87. "!*.d.ts.map"
  88. ]
  89. },
  90. "engines": {
  91. "node": ">=0.4"
  92. }
  93. }