package.json 2.4 KB

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