package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "name": "regexp.prototype.flags",
  3. "version": "1.5.3",
  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": "npx npm@'>=10.2' audit --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": "evalmd README.md && 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.7",
  44. "define-properties": "^1.2.1",
  45. "es-errors": "^1.3.0",
  46. "set-function-name": "^2.0.2"
  47. },
  48. "devDependencies": {
  49. "@es-shims/api": "^2.5.1",
  50. "@ljharb/eslint-config": "^21.1.1",
  51. "auto-changelog": "^2.5.0",
  52. "available-regexp-flags": "^1.0.4",
  53. "eclint": "^2.8.1",
  54. "encoding": "^0.1.13",
  55. "es-value-fixtures": "^1.5.0",
  56. "eslint": "=8.8.0",
  57. "evalmd": "^0.0.19",
  58. "for-each": "^0.3.3",
  59. "functions-have-names": "^1.2.3",
  60. "has-strict-mode": "^1.0.1",
  61. "hasown": "^2.0.2",
  62. "in-publish": "^2.0.1",
  63. "npmignore": "^0.3.1",
  64. "nyc": "^10.3.2",
  65. "object-inspect": "^1.13.2",
  66. "safe-publish-latest": "^2.0.0",
  67. "tape": "^5.9.0"
  68. },
  69. "testling": {
  70. "files": "test/index.js",
  71. "browsers": [
  72. "iexplore/9.0..latest",
  73. "firefox/4.0..6.0",
  74. "firefox/15.0..latest",
  75. "firefox/nightly",
  76. "chrome/4.0..10.0",
  77. "chrome/20.0..latest",
  78. "chrome/canary",
  79. "opera/11.6..latest",
  80. "opera/next",
  81. "safari/5.0..latest",
  82. "ipad/6.0..latest",
  83. "iphone/6.0..latest",
  84. "android-browser/4.2"
  85. ]
  86. },
  87. "engines": {
  88. "node": ">= 0.4"
  89. },
  90. "auto-changelog": {
  91. "output": "CHANGELOG.md",
  92. "template": "keepachangelog",
  93. "unreleased": false,
  94. "commitLimit": false,
  95. "backfillLimit": false,
  96. "hideCredit": true
  97. },
  98. "publishConfig": {
  99. "ignore": [
  100. ".github/workflows"
  101. ]
  102. }
  103. }