package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "safe-regex-test",
  3. "version": "1.1.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. "sideEffects": false,
  11. "scripts": {
  12. "prepack": "npmignore --auto --commentLines=autogenerated",
  13. "version": "auto-changelog && git add CHANGELOG.md",
  14. "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
  15. "lint": "eslint --ext=js,mjs .",
  16. "postlint": "tsc && attw -P",
  17. "prepublish": "not-in-publish || npm run prepublishOnly",
  18. "prepublishOnly": "safe-publish-latest",
  19. "pretest": "npm run lint",
  20. "tests-only": "nyc tape test",
  21. "test": "npm run tests-only",
  22. "posttest": "npx npm@'>= 10.2' audit --production"
  23. },
  24. "repository": {
  25. "type": "git",
  26. "url": "git+https://github.com/ljharb/safe-regex-test.git"
  27. },
  28. "keywords": [
  29. "regex",
  30. "regexp",
  31. "test",
  32. "tester",
  33. "safe",
  34. "robust",
  35. "exec"
  36. ],
  37. "author": "Jordan Harband <ljharb@gmail.com>",
  38. "funding": {
  39. "url": "https://github.com/sponsors/ljharb"
  40. },
  41. "license": "MIT",
  42. "bugs": {
  43. "url": "https://github.com/ljharb/safe-regex-test/issues"
  44. },
  45. "homepage": "https://github.com/ljharb/safe-regex-test#readme",
  46. "dependencies": {
  47. "call-bound": "^1.0.2",
  48. "es-errors": "^1.3.0",
  49. "is-regex": "^1.2.1"
  50. },
  51. "devDependencies": {
  52. "@arethetypeswrong/cli": "^0.17.1",
  53. "@ljharb/eslint-config": "^21.1.1",
  54. "@ljharb/tsconfig": "^0.2.2",
  55. "@types/for-each": "^0.3.3",
  56. "@types/object-inspect": "^1.13.0",
  57. "@types/tape": "^5.6.5",
  58. "auto-changelog": "^2.5.0",
  59. "encoding": "^0.1.13",
  60. "es-value-fixtures": "^1.5.0",
  61. "eslint": "=8.8.0",
  62. "for-each": "^0.3.3",
  63. "in-publish": "^2.0.1",
  64. "npmignore": "^0.3.1",
  65. "nyc": "^10.3.2",
  66. "object-inspect": "^1.13.3",
  67. "safe-publish-latest": "^2.0.0",
  68. "tape": "^5.9.0",
  69. "typescript": "next"
  70. },
  71. "auto-changelog": {
  72. "output": "CHANGELOG.md",
  73. "template": "keepachangelog",
  74. "unreleased": false,
  75. "commitLimit": false,
  76. "backfillLimit": false,
  77. "hideCredit": true
  78. },
  79. "publishConfig": {
  80. "ignore": [
  81. ".github/workflows"
  82. ]
  83. },
  84. "engines": {
  85. "node": ">= 0.4"
  86. }
  87. }