package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "name": "regexp.prototype.flags",
  3. "version": "1.5.2",
  4. "author": "Jordan Harband <ljharb@gmail.com>",
  5. "funding": {
  6. "url": "https://github.com/sponsors/ljharb"
  7. },
  8. "description": "ES6 spec-compliant RegExp.prototype.flags shim.",
  9. "license": "MIT",
  10. "main": "index.js",
  11. "scripts": {
  12. "prepack": "npmignore --auto --commentLines=autogenerated",
  13. "prepublish": "not-in-publish || npm run prepublishOnly",
  14. "prepublishOnly": "safe-publish-latest",
  15. "pretest": "npm run lint",
  16. "test": "npm run tests-only",
  17. "posttest": "aud --production",
  18. "tests-only": "nyc tape 'test/**/*.js'",
  19. "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
  20. "lint": "eslint --ext=js,mjs .",
  21. "postlint": "es-shim-api --bound",
  22. "version": "auto-changelog && git add CHANGELOG.md",
  23. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  24. },
  25. "repository": {
  26. "type": "git",
  27. "url": "git://github.com/es-shims/RegExp.prototype.flags.git"
  28. },
  29. "keywords": [
  30. "RegExp.prototype.flags",
  31. "regex",
  32. "regular expression",
  33. "ES6",
  34. "shim",
  35. "flag",
  36. "flags",
  37. "regexp",
  38. "RegExp#flags",
  39. "polyfill",
  40. "es-shim API"
  41. ],
  42. "dependencies": {
  43. "call-bind": "^1.0.6",
  44. "define-properties": "^1.2.1",
  45. "es-errors": "^1.3.0",
  46. "set-function-name": "^2.0.1"
  47. },
  48. "devDependencies": {
  49. "@es-shims/api": "^2.4.2",
  50. "@ljharb/eslint-config": "^21.1.0",
  51. "aud": "^2.0.4",
  52. "auto-changelog": "^2.4.0",
  53. "available-regexp-flags": "^1.0.2",
  54. "eclint": "^2.8.1",
  55. "es-value-fixtures": "^1.4.2",
  56. "eslint": "=8.8.0",
  57. "for-each": "^0.3.3",
  58. "functions-have-names": "^1.2.3",
  59. "has-strict-mode": "^1.0.1",
  60. "hasown": "^2.0.1",
  61. "in-publish": "^2.0.1",
  62. "npmignore": "^0.3.1",
  63. "nyc": "^10.3.2",
  64. "object-inspect": "^1.13.1",
  65. "safe-publish-latest": "^2.0.0",
  66. "tape": "^5.7.4"
  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. }