package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "name": "string.prototype.trim",
  3. "version": "1.2.9",
  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": "aud --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.7",
  50. "define-properties": "^1.2.1",
  51. "es-abstract": "^1.23.0",
  52. "es-object-atoms": "^1.0.0"
  53. },
  54. "devDependencies": {
  55. "@es-shims/api": "^2.4.2",
  56. "@ljharb/eslint-config": "^21.1.0",
  57. "aud": "^2.0.4",
  58. "auto-changelog": "^2.4.0",
  59. "eslint": "=8.8.0",
  60. "functions-have-names": "^1.2.3",
  61. "has-strict-mode": "^1.0.1",
  62. "in-publish": "^2.0.1",
  63. "npmignore": "^0.3.1",
  64. "nyc": "^10.3.2",
  65. "safe-publish-latest": "^2.0.0",
  66. "tape": "^5.7.5"
  67. },
  68. "testling": {
  69. "files": "test/index.js",
  70. "browsers": [
  71. "iexplore/9.0..latest",
  72. "firefox/4.0..6.0",
  73. "firefox/15.0..latest",
  74. "firefox/nightly",
  75. "chrome/4.0..10.0",
  76. "chrome/20.0..latest",
  77. "chrome/canary",
  78. "opera/11.6..latest",
  79. "opera/next",
  80. "safari/5.0..latest",
  81. "ipad/6.0..latest",
  82. "iphone/6.0..latest",
  83. "android-browser/4.2"
  84. ]
  85. },
  86. "engines": {
  87. "node": ">= 0.4"
  88. },
  89. "auto-changelog": {
  90. "output": "CHANGELOG.md",
  91. "template": "keepachangelog",
  92. "unreleased": false,
  93. "commitLimit": false,
  94. "backfillLimit": false,
  95. "hideCredit": true
  96. },
  97. "publishConfig": {
  98. "ignore": [
  99. ".github/workflows"
  100. ]
  101. }
  102. }