package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {
  2. "name": "js-sdsl",
  3. "version": "4.1.4",
  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.cjs.json --watch",
  23. "build": "yarn build:esm && yarn build:cjs && yarn build:umd:min",
  24. "build:cjs": "rm -rf dist/cjs && ttsc --project tsconfig.cjs.json",
  25. "build:esm": "rm -rf dist/esm && ttsc --project tsconfig.esm.json",
  26. "build:umd": "rm -rf dist/umd && rollup -c",
  27. "build:umd:min": "yarn build:umd && uglifyjs --compress --mangle --source-map --comments -o dist/umd/js-sdsl.min.js -- dist/umd/js-sdsl.js",
  28. "test": "yarn test:unit && yarn test:performance",
  29. "test:unit": "jest --coverage",
  30. "test:performance": "rm -rf dist/performance && ttsc --project tsconfig.performance.json && node dist/performance/performance/index.js",
  31. "lint": "eslint --fix --color --cache --max-warnings=0 .",
  32. "generate": "typedoc src/index.ts",
  33. "generate:dev": "typedoc src/index.ts --watch",
  34. "prepare": "husky install"
  35. },
  36. "lint-staged": {
  37. "*.{js,ts}": [
  38. "yarn lint"
  39. ]
  40. },
  41. "devDependencies": {
  42. "@types/jest": "^28.1.6",
  43. "@types/node": "^17.0.0",
  44. "@typescript-eslint/eslint-plugin": "^5.33.1",
  45. "@typescript-eslint/parser": "^5.33.1",
  46. "all-contributors-cli": "^6.20.0",
  47. "browserslist": "^4.21.3",
  48. "caniuse-lite": "^1.0.30001380",
  49. "commitlint": "^17.0.3",
  50. "conventional-changelog-conventionalcommits": "^5.0.0",
  51. "coveralls": "^3.1.1",
  52. "eslint": "^8.4.1",
  53. "eslint-plugin-compat": "^4.0.2",
  54. "gh-pages": "^3.2.3",
  55. "husky": "^8.0.1",
  56. "jest": "^28.1.3",
  57. "lint-staged": "^12.1.0",
  58. "rollup": "^2.78.1",
  59. "rollup-plugin-typescript2": "^0.33.0",
  60. "ts-jest": "^28.0.7",
  61. "ts-node": "^10.9.1",
  62. "ts-transform-paths": "^2.0.3",
  63. "tsconfig-paths": "^4.0.0",
  64. "tslib": "^2.4.0",
  65. "ttypescript": "^1.5.13",
  66. "typedoc": "^0.23.10",
  67. "typedoc-plugin-missing-exports": "^1.0.0",
  68. "typescript": "^4.7.4",
  69. "uglify-js": "^3.14.5"
  70. },
  71. "repository": {
  72. "type": "github",
  73. "url": "https://github.com/js-sdsl/js-sdsl.git"
  74. },
  75. "license": "MIT",
  76. "files": [
  77. "dist/cjs",
  78. "dist/esm",
  79. "dist/umd",
  80. "CHANGELOG.md"
  81. ],
  82. "keywords": [
  83. "data",
  84. "structure",
  85. "data structure",
  86. "rbTree",
  87. "rbtree",
  88. "RBTree",
  89. "red black tree",
  90. "ordered",
  91. "set",
  92. "map",
  93. "ordered map",
  94. "ordered set",
  95. "deque",
  96. "heap",
  97. "priority queue",
  98. "link list",
  99. "LinkList",
  100. "linkedList",
  101. "vector",
  102. "stack",
  103. "queue",
  104. "hash",
  105. "hash set",
  106. "hash map",
  107. "c++",
  108. "stl"
  109. ],
  110. "bugs": {
  111. "email": "951711127@qq.com",
  112. "url": "https://github.com/js-sdsl/js-sdsl/issues"
  113. },
  114. "dependencies": {}
  115. }