package.json 4.3 KB

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