631e27cf0863e6a54e4cbf7deda09584624850ba6227aa5699db0ecaa91044c00fe98cd574b5daf36344ccd0c0d5dee4ebe6301424a6b81b03e3998e211db5 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "@isaacs/balanced-match",
  3. "description": "Match balanced character pairs, like \"{\" and \"}\"",
  4. "version": "4.0.1",
  5. "files": [
  6. "dist"
  7. ],
  8. "repository": {
  9. "type": "git",
  10. "url": "git://github.com/isaacs/balanced-match.git"
  11. },
  12. "exports": {
  13. "./package.json": "./package.json",
  14. ".": {
  15. "import": {
  16. "types": "./dist/esm/index.d.ts",
  17. "default": "./dist/esm/index.js"
  18. },
  19. "require": {
  20. "types": "./dist/commonjs/index.d.ts",
  21. "default": "./dist/commonjs/index.js"
  22. }
  23. }
  24. },
  25. "type": "module",
  26. "scripts": {
  27. "preversion": "npm test",
  28. "postversion": "npm publish",
  29. "prepublishOnly": "git push origin --follow-tags",
  30. "prepare": "tshy",
  31. "pretest": "npm run prepare",
  32. "presnap": "npm run prepare",
  33. "test": "tap",
  34. "snap": "tap",
  35. "format": "prettier --write . --loglevel warn",
  36. "benchmark": "node benchmark/index.js",
  37. "typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts"
  38. },
  39. "prettier": {
  40. "semi": false,
  41. "printWidth": 80,
  42. "tabWidth": 2,
  43. "useTabs": false,
  44. "singleQuote": true,
  45. "jsxSingleQuote": false,
  46. "bracketSameLine": true,
  47. "arrowParens": "avoid",
  48. "endOfLine": "lf"
  49. },
  50. "devDependencies": {
  51. "@types/brace-expansion": "^1.1.2",
  52. "@types/node": "^24.0.0",
  53. "mkdirp": "^3.0.1",
  54. "prettier": "^3.3.2",
  55. "tap": "^21.1.0",
  56. "tshy": "^3.0.2",
  57. "typedoc": "^0.28.5"
  58. },
  59. "keywords": [
  60. "match",
  61. "regexp",
  62. "test",
  63. "balanced",
  64. "parse"
  65. ],
  66. "license": "MIT",
  67. "engines": {
  68. "node": "20 || >=22"
  69. },
  70. "tshy": {
  71. "exports": {
  72. "./package.json": "./package.json",
  73. ".": "./src/index.ts"
  74. }
  75. },
  76. "main": "./dist/commonjs/index.js",
  77. "types": "./dist/commonjs/index.d.ts",
  78. "module": "./dist/esm/index.js"
  79. }