package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "regexpu-core",
  3. "version": "5.1.0",
  4. "description": "regexpu’s core functionality (i.e. `rewritePattern(pattern, flag)`), capable of translating ES6 Unicode regular expressions to ES5.",
  5. "homepage": "https://mths.be/regexpu",
  6. "main": "rewrite-pattern.js",
  7. "engines": {
  8. "node": ">=4"
  9. },
  10. "keywords": [
  11. "codegen",
  12. "desugaring",
  13. "ecmascript",
  14. "es5",
  15. "es6",
  16. "harmony",
  17. "javascript",
  18. "refactoring",
  19. "regex",
  20. "regexp",
  21. "regular expressions",
  22. "rewriting",
  23. "syntax",
  24. "transformation",
  25. "transpile",
  26. "transpiler",
  27. "unicode"
  28. ],
  29. "license": "MIT",
  30. "author": {
  31. "name": "Mathias Bynens",
  32. "url": "https://mathiasbynens.be/"
  33. },
  34. "repository": {
  35. "type": "git",
  36. "url": "https://github.com/mathiasbynens/regexpu-core.git"
  37. },
  38. "bugs": "https://github.com/mathiasbynens/regexpu-core/issues",
  39. "files": [
  40. "LICENSE-MIT.txt",
  41. "rewrite-pattern.js",
  42. "data/character-class-escape-sets.js",
  43. "data/iu-mappings.js"
  44. ],
  45. "scripts": {
  46. "build": "node scripts/iu-mappings.js && node scripts/character-class-escape-sets.js",
  47. "test": "mocha tests",
  48. "cover": "istanbul cover --report html node_modules/.bin/_mocha tests -- -u exports -R spec"
  49. },
  50. "dependencies": {
  51. "regenerate": "^1.4.2",
  52. "regenerate-unicode-properties": "^10.0.1",
  53. "regjsgen": "^0.6.0",
  54. "regjsparser": "^0.8.2",
  55. "unicode-match-property-ecmascript": "^2.0.0",
  56. "unicode-match-property-value-ecmascript": "^2.0.0"
  57. },
  58. "devDependencies": {
  59. "codecov": "^3.8.3",
  60. "istanbul": "^0.4.5",
  61. "jsesc": "^3.0.2",
  62. "lodash": "^4.17.21",
  63. "mocha": "^9.1.1",
  64. "regexpu-fixtures": "2.1.4",
  65. "@unicode/unicode-14.0.0": "^1.2.1"
  66. }
  67. }