package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "name": "regexp.prototype.flags",
  3. "version": "1.5.1",
  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.2",
  44. "define-properties": "^1.2.0",
  45. "set-function-name": "^2.0.0"
  46. },
  47. "devDependencies": {
  48. "@es-shims/api": "^2.4.2",
  49. "@ljharb/eslint-config": "^21.1.0",
  50. "aud": "^2.0.3",
  51. "auto-changelog": "^2.4.0",
  52. "available-regexp-flags": "^1.0.2",
  53. "covert": "^1.1.1",
  54. "eclint": "^2.8.1",
  55. "eslint": "=8.8.0",
  56. "for-each": "^0.3.3",
  57. "functions-have-names": "^1.2.3",
  58. "has": "^1.0.3",
  59. "has-strict-mode": "^1.0.1",
  60. "in-publish": "^2.0.1",
  61. "npmignore": "^0.3.0",
  62. "nyc": "^10.3.2",
  63. "object-inspect": "^1.12.3",
  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. }