package.json 2.5 KB

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