3bf605366a25c85b4d138332cb8c34ecd1d18f8eb77d6dd2269b5f89d38718f12b2b80cb058523dd8492dd849272a70a18891e1f56fefb08563515649b35ba 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. {
  2. "name": "js-sdsl",
  3. "version": "4.3.0",
  4. "description": "javascript standard data structure library which benchmark against C++ STL",
  5. "main": "./dist/cjs/index.js",
  6. "module": "./dist/esm/index.js",
  7. "types": "./dist/esm/index.d.ts",
  8. "author": {
  9. "name": "ZLY201",
  10. "email": "951711127@qq.com",
  11. "url": "https://github.com/js-sdsl/js-sdsl"
  12. },
  13. "sideEffects": false,
  14. "homepage": "https://js-sdsl.org",
  15. "funding": {
  16. "type": "opencollective",
  17. "url": "https://opencollective.com/js-sdsl"
  18. },
  19. "scripts": {
  20. "setup": "rm -rf node_modules && yarn install",
  21. "dev": "ttsc --project tsconfig.dev.json --watch",
  22. "build": "gulp",
  23. "build:cjs": "gulp cjs",
  24. "build:esm": "gulp esm",
  25. "build:umd": "gulp umd",
  26. "build:umd:min": "yarn build:umd && gulp umd:min",
  27. "build:isolate": "gulp isolate",
  28. "build:all": "yarn build && yarn build:isolate",
  29. "test": "yarn test:unit && yarn test:chrome && yarn test:performance",
  30. "test:unit": "nyc ts-mocha --paths 'test/**/*.test.ts' --timeout 10000",
  31. "test:edge": "karma start --browsers Edge",
  32. "test:safari": "karma start --browsers SafariNative",
  33. "test:chrome": "karma start --browsers ChromeHeadless",
  34. "test:firefox": "karma start --browsers Firefox",
  35. "test:isolate": "yarn build:isolate && ts-mocha --paths 'test/IsolationTest/*.ts'",
  36. "test:performance": "gulp performance && node dist/performance/performance/index.js",
  37. "lint": "eslint --fix --color --cache --max-warnings=0 .",
  38. "generate": "typedoc src/index.ts --includeVersion --sort required-first --sort instance-first --sort source-order",
  39. "generate:dev": "yarn generate --watch",
  40. "prepare": "husky install"
  41. },
  42. "lint-staged": {
  43. "*.{js,ts}": [
  44. "yarn lint"
  45. ]
  46. },
  47. "devDependencies": {
  48. "@babel/core": "^7.19.3",
  49. "@babel/plugin-transform-modules-commonjs": "^7.18.6",
  50. "@rollup/plugin-babel": "^5.3.1",
  51. "@rollup/plugin-typescript": "^9.0.2",
  52. "@types/babel__core": "^7.1.19",
  53. "@types/chai": "^3.5.2",
  54. "@types/delete-empty": "^3.0.2",
  55. "@types/gulp": "^4.0.9",
  56. "@types/gulp-babel": "^6.1.30",
  57. "@types/gulp-filter": "^3.0.34",
  58. "@types/gulp-rename": "^2.0.1",
  59. "@types/gulp-sourcemaps": "^0.0.35",
  60. "@types/gulp-tap": "^1.0.1",
  61. "@types/gulp-terser": "^1.2.1",
  62. "@types/gulp-uglify": "^3.0.7",
  63. "@types/karma": "^6.3.3",
  64. "@types/merge-stream": "^1.1.2",
  65. "@types/mocha": "^9.1.1",
  66. "@types/node": "^17.0.0",
  67. "@typescript-eslint/eslint-plugin": "^5.33.1",
  68. "@typescript-eslint/parser": "^5.33.1",
  69. "all-contributors-cli": "^6.20.0",
  70. "babel-plugin-remove-unused-import": "^2.1.1",
  71. "browserslist": "^4.21.3",
  72. "chai": "^3.5.0",
  73. "commitlint": "^17.0.3",
  74. "compare-versions": "^5.0.1",
  75. "conventional-changelog-conventionalcommits": "^5.0.0",
  76. "delete-empty": "^3.0.0",
  77. "eslint": "^8.23.1",
  78. "eslint-import-resolver-typescript": "^3.5.2",
  79. "eslint-plugin-compat": "^4.0.2",
  80. "eslint-plugin-import": "^2.26.0",
  81. "get-npm-package-version": "^1.1.1",
  82. "gh-pages": "^3.2.3",
  83. "gulp": "^4.0.2",
  84. "gulp-babel": "^8.0.0",
  85. "gulp-clean": "^0.4.0",
  86. "gulp-filter": "^7.0.0",
  87. "gulp-rename": "^2.0.0",
  88. "gulp-sourcemaps": "^3.0.0",
  89. "gulp-tap": "^2.0.0",
  90. "gulp-terser": "^2.1.0",
  91. "gulp-typescript": "^5.0.0",
  92. "gulp-uglify": "^3.0.2",
  93. "husky": "^8.0.1",
  94. "karma": "^6.4.1",
  95. "karma-chrome-launcher": "^3.1.1",
  96. "karma-edge-launcher": "^0.4.2",
  97. "karma-firefox-launcher": "^2.1.2",
  98. "karma-mocha": "^2.0.1",
  99. "karma-mocha-reporter": "^2.2.5",
  100. "karma-requirejs": "^1.1.0",
  101. "karma-safarinative-launcher": "^1.1.0",
  102. "karma-typescript": "^5.5.3",
  103. "lint-staged": "^13.0.3",
  104. "merge-stream": "^2.0.0",
  105. "mocha": "^9.2.2",
  106. "nyc": "^15.1.0",
  107. "requirejs": "^2.3.6",
  108. "rollup": "^2.79.1",
  109. "rollup-plugin-license": "^3.0.0",
  110. "rollup-plugin-ts": "^3.0.2",
  111. "ts-macros": "^1.3.3",
  112. "ts-mocha": "^10.0.0",
  113. "ts-node": "^10.9.1",
  114. "ts-transform-paths": "^2.0.3",
  115. "tsconfig-paths": "^4.0.0",
  116. "tslib": "^2.4.0",
  117. "ttypescript": "^1.5.13",
  118. "typedoc": "^0.23.10",
  119. "typedoc-plugin-missing-exports": "^1.0.0",
  120. "typescript": "~4.7.4"
  121. },
  122. "repository": {
  123. "type": "github",
  124. "url": "https://github.com/js-sdsl/js-sdsl.git"
  125. },
  126. "license": "MIT",
  127. "files": [
  128. "dist/cjs",
  129. "dist/esm",
  130. "dist/umd",
  131. "CHANGELOG.md"
  132. ],
  133. "keywords": [
  134. "data",
  135. "structure",
  136. "data structure",
  137. "rbTree",
  138. "rbtree",
  139. "RBTree",
  140. "red black tree",
  141. "ordered",
  142. "set",
  143. "map",
  144. "ordered map",
  145. "ordered set",
  146. "deque",
  147. "heap",
  148. "priority queue",
  149. "link list",
  150. "LinkList",
  151. "linkedList",
  152. "vector",
  153. "stack",
  154. "queue",
  155. "hash",
  156. "hash set",
  157. "hash map",
  158. "c++",
  159. "stl"
  160. ],
  161. "bugs": {
  162. "email": "951711127@qq.com",
  163. "url": "https://github.com/js-sdsl/js-sdsl/issues"
  164. },
  165. "dependencies": {}
  166. }