package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "regexpu-core",
  3. "version": "6.1.1",
  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": "node --test tests/tests.js",
  48. "test-node6": "mocha tests",
  49. "cover": "NODE_V8_COVERAGE=coverage node --test --experimental-test-coverage tests/tests.js"
  50. },
  51. "dependencies": {
  52. "regenerate": "^1.4.2",
  53. "regenerate-unicode-properties": "^10.2.0",
  54. "regjsgen": "^0.8.0",
  55. "regjsparser": "^0.11.0",
  56. "unicode-match-property-ecmascript": "^2.0.0",
  57. "unicode-match-property-value-ecmascript": "^2.1.0"
  58. },
  59. "devDependencies": {
  60. "jsesc": "^3.0.2",
  61. "@unicode/unicode-16.0.0": "^1.6.0"
  62. }
  63. }