e8ca501986f546caedd7a56057a17c85bc8ff71518b04242222ffeadaf13153de5a1f72db20fb93d0a7a74380e54b3a7abd17334ccbfe6d3f548794c046c09 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "name": "string.prototype.trim",
  3. "version": "1.2.10",
  4. "author": {
  5. "name": "Jordan Harband",
  6. "email": "ljharb@gmail.com",
  7. "url": "http://ljharb.codes"
  8. },
  9. "funding": {
  10. "url": "https://github.com/sponsors/ljharb"
  11. },
  12. "contributors": [
  13. {
  14. "name": "Jordan Harband",
  15. "email": "ljharb@gmail.com",
  16. "url": "http://ljharb.codes"
  17. }
  18. ],
  19. "description": "ES5 spec-compliant shim for String.prototype.trim",
  20. "license": "MIT",
  21. "main": "index.js",
  22. "scripts": {
  23. "prepack": "npmignore --auto --commentLines=autogenerated",
  24. "prepublish": "not-in-publish || npm run prepublishOnly",
  25. "prepublishOnly": "safe-publish-latest",
  26. "pretest": "npm run lint",
  27. "test": "npm run tests-only",
  28. "posttest": "npx npm@'>= 10.2' audit --production",
  29. "tests-only": "nyc tape 'test/**/*.js'",
  30. "lint": "eslint --ext=js,mjs .",
  31. "postlint": "es-shim-api --bound",
  32. "version": "auto-changelog && git add CHANGELOG.md",
  33. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  34. },
  35. "repository": {
  36. "type": "git",
  37. "url": "git://github.com/es-shims/String.prototype.trim.git"
  38. },
  39. "keywords": [
  40. "String.prototype.trim",
  41. "string",
  42. "ES5",
  43. "shim",
  44. "trim",
  45. "polyfill",
  46. "es-shim API"
  47. ],
  48. "dependencies": {
  49. "call-bind": "^1.0.8",
  50. "call-bound": "^1.0.2",
  51. "define-data-property": "^1.1.4",
  52. "define-properties": "^1.2.1",
  53. "es-abstract": "^1.23.5",
  54. "es-object-atoms": "^1.0.0",
  55. "has-property-descriptors": "^1.0.2"
  56. },
  57. "devDependencies": {
  58. "@es-shims/api": "^2.5.1",
  59. "@ljharb/eslint-config": "^21.1.1",
  60. "auto-changelog": "^2.5.0",
  61. "encoding": "^0.1.13",
  62. "eslint": "=8.8.0",
  63. "for-each": "^0.3.3",
  64. "functions-have-names": "^1.2.3",
  65. "has-strict-mode": "^1.0.1",
  66. "in-publish": "^2.0.1",
  67. "npmignore": "^0.3.1",
  68. "nyc": "^10.3.2",
  69. "safe-publish-latest": "^2.0.0",
  70. "tape": "^5.9.0"
  71. },
  72. "testling": {
  73. "files": "test/index.js",
  74. "browsers": [
  75. "iexplore/9.0..latest",
  76. "firefox/4.0..6.0",
  77. "firefox/15.0..latest",
  78. "firefox/nightly",
  79. "chrome/4.0..10.0",
  80. "chrome/20.0..latest",
  81. "chrome/canary",
  82. "opera/11.6..latest",
  83. "opera/next",
  84. "safari/5.0..latest",
  85. "ipad/6.0..latest",
  86. "iphone/6.0..latest",
  87. "android-browser/4.2"
  88. ]
  89. },
  90. "engines": {
  91. "node": ">= 0.4"
  92. },
  93. "auto-changelog": {
  94. "output": "CHANGELOG.md",
  95. "template": "keepachangelog",
  96. "unreleased": false,
  97. "commitLimit": false,
  98. "backfillLimit": false,
  99. "hideCredit": true
  100. },
  101. "publishConfig": {
  102. "ignore": [
  103. ".github/workflows"
  104. ]
  105. }
  106. }