package.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "safe-regex",
  3. "version": "2.1.1",
  4. "description": "detect possibly catastrophic, exponential-time regular expressions",
  5. "main": "index.js",
  6. "dependencies": {
  7. "regexp-tree": "~0.1.1"
  8. },
  9. "devDependencies": {
  10. "jest": "^24.9.0"
  11. },
  12. "scripts": {
  13. "test": "jest"
  14. },
  15. "jest": {
  16. "moduleFileExtensions": [
  17. "js"
  18. ],
  19. "testRegex": "test.*\\.spec\\.js$",
  20. "collectCoverage": true,
  21. "coverageReporters": [
  22. "text-summary",
  23. "html",
  24. "lcov"
  25. ],
  26. "collectCoverageFrom": [
  27. "*.js"
  28. ],
  29. "coverageThreshold": {
  30. "global": {
  31. "statements": 100,
  32. "branches": 100,
  33. "functions": 100,
  34. "lines": 100
  35. }
  36. }
  37. },
  38. "repository": {
  39. "type": "git",
  40. "url": "git://github.com/davisjam/safe-regex.git"
  41. },
  42. "homepage": "https://github.com/davisjam/safe-regex",
  43. "keywords": [
  44. "catastrophic",
  45. "exponential",
  46. "regex",
  47. "safe",
  48. "sandbox"
  49. ],
  50. "author": {
  51. "name": "James C. (Jamie) Davis",
  52. "email": "davisjam@vt.edu",
  53. "url": "http://people.cs.vt.edu/~davisjam"
  54. },
  55. "license": "MIT"
  56. }