package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "is-regex",
  3. "version": "1.0.4",
  4. "description": "Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag",
  5. "author": "Jordan Harband",
  6. "license": "MIT",
  7. "main": "index.js",
  8. "scripts": {
  9. "pretest": "npm run lint",
  10. "test": "npm run tests-only",
  11. "tests-only": "node --harmony --es-staging test.js",
  12. "posttest": "npm run security",
  13. "coverage": "covert test.js",
  14. "coverage-quiet": "covert test.js --quiet",
  15. "lint": "npm run jscs && npm run eslint",
  16. "jscs": "jscs *.js",
  17. "eslint": "eslint test.js *.js",
  18. "eccheck": "editorconfig-tools check *.js **/*.js > /dev/null",
  19. "security": "nsp check"
  20. },
  21. "repository": {
  22. "type": "git",
  23. "url": "git://github.com/ljharb/is-regex.git"
  24. },
  25. "bugs": {
  26. "url": "https://github.com/ljharb/is-regex/issues"
  27. },
  28. "homepage": "https://github.com/ljharb/is-regex",
  29. "keywords": [
  30. "regex",
  31. "regexp",
  32. "is",
  33. "regular expression",
  34. "regular",
  35. "expression"
  36. ],
  37. "dependencies": {
  38. "has": "^1.0.1"
  39. },
  40. "devDependencies": {
  41. "tape": "^4.6.3",
  42. "covert": "^1.1.0",
  43. "jscs": "^3.0.7",
  44. "editorconfig-tools": "^0.1.1",
  45. "nsp": "^2.6.2",
  46. "eslint": "^3.15.0",
  47. "@ljharb/eslint-config": "^11.0.0",
  48. "semver": "^5.3.0",
  49. "replace": "^0.3.0"
  50. },
  51. "testling": {
  52. "files": "test.js",
  53. "browsers": [
  54. "iexplore/6.0..latest",
  55. "firefox/3.0..6.0",
  56. "firefox/15.0..latest",
  57. "firefox/nightly",
  58. "chrome/4.0..10.0",
  59. "chrome/20.0..latest",
  60. "chrome/canary",
  61. "opera/10.0..12.0",
  62. "opera/15.0..latest",
  63. "opera/next",
  64. "safari/4.0..latest",
  65. "ipad/6.0..latest",
  66. "iphone/6.0..latest",
  67. "android-browser/4.2"
  68. ]
  69. },
  70. "engines": {
  71. "node": ">= 0.4"
  72. }
  73. }