package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "name": "safe-regex-test",
  3. "version": "1.0.0",
  4. "description": "Give a regex, get a robust predicate function that tests it against a string.",
  5. "main": "index.js",
  6. "exports": {
  7. ".": "./index.js",
  8. "./package.json": "./package.json"
  9. },
  10. "scripts": {
  11. "prepack": "npmignore --auto --commentLines=autogenerated",
  12. "version": "auto-changelog && git add CHANGELOG.md",
  13. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
  14. "lint": "eslint --ext=js,mjs .",
  15. "prepublish": "not-in-publish || npm run prepublishOnly",
  16. "prepublishOnly": "safe-publish-latest",
  17. "pretest": "npm run lint",
  18. "tests-only": "tape test",
  19. "test": "npm run tests-only",
  20. "posttest": "aud --production"
  21. },
  22. "repository": {
  23. "type": "git",
  24. "url": "git+https://github.com/ljharb/safe-regex-test.git"
  25. },
  26. "keywords": [
  27. "regex",
  28. "regexp",
  29. "test",
  30. "tester",
  31. "safe",
  32. "robust",
  33. "exec"
  34. ],
  35. "author": "Jordan Harband <ljharb@gmail.com>",
  36. "funding": {
  37. "url": "https://github.com/sponsors/ljharb"
  38. },
  39. "license": "MIT",
  40. "bugs": {
  41. "url": "https://github.com/ljharb/safe-regex-test/issues"
  42. },
  43. "homepage": "https://github.com/ljharb/safe-regex-test#readme",
  44. "dependencies": {
  45. "call-bind": "^1.0.2",
  46. "get-intrinsic": "^1.1.3",
  47. "is-regex": "^1.1.4"
  48. },
  49. "devDependencies": {
  50. "@ljharb/eslint-config": "^21.0.0",
  51. "aud": "^2.0.1",
  52. "auto-changelog": "^2.4.0",
  53. "es-value-fixtures": "^1.4.2",
  54. "eslint": "=8.8.0",
  55. "for-each": "^0.3.3",
  56. "in-publish": "^2.0.1",
  57. "npmignore": "^0.3.0",
  58. "object-inspect": "^1.12.2",
  59. "safe-publish-latest": "^2.0.0",
  60. "tape": "^5.6.1"
  61. },
  62. "auto-changelog": {
  63. "output": "CHANGELOG.md",
  64. "template": "keepachangelog",
  65. "unreleased": false,
  66. "commitLimit": false,
  67. "backfillLimit": false,
  68. "hideCredit": true
  69. },
  70. "publishConfig": {
  71. "ignore": [
  72. ".github/workflows"
  73. ]
  74. }
  75. }