package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "tree-dump",
  3. "private": false,
  4. "publishConfig": {
  5. "access": "public"
  6. },
  7. "version": "1.0.2",
  8. "description": "High-performance (binary) tree and sorted map implementation (AVL, Splay, Radix, Red-Black)",
  9. "author": {
  10. "name": "streamich",
  11. "url": "https://github.com/streamich"
  12. },
  13. "license": "Apache-2.0",
  14. "homepage": "https://github.com/streamich/tree-dump",
  15. "repository": "streamich/tree-dump",
  16. "funding": {
  17. "type": "github",
  18. "url": "https://github.com/sponsors/streamich"
  19. },
  20. "keywords": [
  21. "tree",
  22. "print",
  23. "dump",
  24. "tree dump",
  25. "print tree",
  26. "binary tree",
  27. "binary search tree"
  28. ],
  29. "engines": {
  30. "node": ">=10.0"
  31. },
  32. "main": "lib/index.js",
  33. "types": "lib/index.d.ts",
  34. "typings": "lib/index.d.ts",
  35. "files": [
  36. "LICENSE",
  37. "lib/"
  38. ],
  39. "scripts": {
  40. "prettier": "npx prettier@3.2.5 --ignore-path .gitignore --write \"src/**/*.{ts,tsx,js,jsx}\"",
  41. "prettier:check": "npx prettier@3.2.5 --ignore-path .gitignore --list-different 'src/**/*.{ts,tsx,js,jsx}'",
  42. "lint": "npx tslint@6.1.3 'src/**/*.{js,jsx,ts,tsx}' -t verbose --project .",
  43. "clean": "npx rimraf@5.0.5 lib typedocs coverage gh-pages yarn-error.log",
  44. "build": "tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib",
  45. "test": "jest --maxWorkers 7",
  46. "test:ci": "jest --maxWorkers 3 --no-cache",
  47. "coverage": "yarn test --collectCoverage",
  48. "typedoc": "npx typedoc@0.25.12",
  49. "build:pages": "npx rimraf@5.0.5 gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage",
  50. "deploy:pages": "npx gh-pages -d gh-pages",
  51. "publish-coverage-and-typedocs": "yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages"
  52. },
  53. "peerDependencies": {
  54. "tslib": "2"
  55. },
  56. "dependencies": {},
  57. "devDependencies": {
  58. "@types/jest": "^29.5.12",
  59. "jest": "^29.7.0",
  60. "ts-jest": "^29.1.2",
  61. "tslib": "^2.6.2",
  62. "tslint-config-common": "^1.6.2",
  63. "typescript": "^5.4.4"
  64. },
  65. "jest": {
  66. "verbose": true,
  67. "moduleFileExtensions": [
  68. "ts",
  69. "js"
  70. ],
  71. "transform": {
  72. "^.+\\.ts$": "ts-jest"
  73. },
  74. "transformIgnorePatterns": [],
  75. "testRegex": ".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.ts$"
  76. },
  77. "prettier": {
  78. "arrowParens": "always",
  79. "printWidth": 120,
  80. "tabWidth": 2,
  81. "useTabs": false,
  82. "semi": true,
  83. "singleQuote": true,
  84. "trailingComma": "all",
  85. "bracketSpacing": false
  86. },
  87. "release": {
  88. "branches": [
  89. "master",
  90. "next"
  91. ]
  92. }
  93. }