package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "regexp.prototype.flags",
  3. "version": "1.4.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. "prepublish": "not-in-publish || npm run prepublishOnly",
  13. "prepublishOnly": "safe-publish-latest",
  14. "pretest": "npm run lint",
  15. "test": "npm run tests-only",
  16. "posttest": "aud --production",
  17. "tests-only": "nyc tape 'test/**/*.js'",
  18. "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
  19. "lint": "eslint --ext=js,mjs .",
  20. "postlint": "es-shim-api --bound",
  21. "version": "auto-changelog && git add CHANGELOG.md",
  22. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
  23. },
  24. "repository": {
  25. "type": "git",
  26. "url": "git://github.com/es-shims/RegExp.prototype.flags.git"
  27. },
  28. "keywords": [
  29. "RegExp.prototype.flags",
  30. "regex",
  31. "regular expression",
  32. "ES6",
  33. "shim",
  34. "flag",
  35. "flags",
  36. "regexp",
  37. "RegExp#flags",
  38. "polyfill",
  39. "es-shim API"
  40. ],
  41. "dependencies": {
  42. "call-bind": "^1.0.2",
  43. "define-properties": "^1.1.3",
  44. "functions-have-names": "^1.2.2"
  45. },
  46. "devDependencies": {
  47. "@es-shims/api": "^2.2.3",
  48. "@ljharb/eslint-config": "^21.0.0",
  49. "aud": "^2.0.0",
  50. "auto-changelog": "^2.4.0",
  51. "available-regexp-flags": "^1.0.0",
  52. "covert": "^1.1.1",
  53. "eclint": "^2.8.1",
  54. "eslint": "=8.8.0",
  55. "foreach": "^2.0.5",
  56. "has": "^1.0.3",
  57. "has-strict-mode": "^1.0.1",
  58. "nyc": "^10.3.2",
  59. "object-inspect": "^1.12.0",
  60. "safe-publish-latest": "^2.0.0",
  61. "tape": "^5.5.3"
  62. },
  63. "testling": {
  64. "files": "test/index.js",
  65. "browsers": [
  66. "iexplore/9.0..latest",
  67. "firefox/4.0..6.0",
  68. "firefox/15.0..latest",
  69. "firefox/nightly",
  70. "chrome/4.0..10.0",
  71. "chrome/20.0..latest",
  72. "chrome/canary",
  73. "opera/11.6..latest",
  74. "opera/next",
  75. "safari/5.0..latest",
  76. "ipad/6.0..latest",
  77. "iphone/6.0..latest",
  78. "android-browser/4.2"
  79. ]
  80. },
  81. "engines": {
  82. "node": ">= 0.4"
  83. },
  84. "auto-changelog": {
  85. "output": "CHANGELOG.md",
  86. "template": "keepachangelog",
  87. "unreleased": false,
  88. "commitLimit": false,
  89. "backfillLimit": false,
  90. "hideCredit": true
  91. }
  92. }