package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "splaytree",
  3. "version": "3.1.1",
  4. "author": "Alexander Milevski <info@w8r.name>",
  5. "license": "MIT",
  6. "description": "Fast Splay tree for Node and browser",
  7. "main": "dist/splay.js",
  8. "browser": "dist/splay.js",
  9. "unpkg": "dist/splay.js",
  10. "module": "dist/splay.esm.js",
  11. "types": "typings/index.d.ts",
  12. "files": [
  13. "dist",
  14. "typings",
  15. "src"
  16. ],
  17. "directories": {
  18. "test": "test",
  19. "typings": "typings"
  20. },
  21. "repository": {
  22. "type": "git",
  23. "url": "https://github.com/w8r/splay-tree.git"
  24. },
  25. "scripts": {
  26. "lint": "tslint --project tsconfig.json ./src/*.ts",
  27. "build": "rollup -c && npm run types",
  28. "types": "tsc --declaration --emitDeclarationOnly",
  29. "prebenchmark": "npm run build",
  30. "benchmark": "node -r reify bench/benchmark.js",
  31. "start": "npm run test:watch",
  32. "test:watch": "nodemon --watch index.js --watch tests --exec 'npm test'",
  33. "test": "nyc mocha tests/**/*.test.ts",
  34. "posttest": "nyc report --reporter=json",
  35. "prepublishOnly": "npm run build && npm test",
  36. "clean": "rm -rf dist coverage .nyc",
  37. "coverage": "codecov -f coverage/*.json"
  38. },
  39. "devDependencies": {
  40. "@types/chai": "^4.1.4",
  41. "@types/mocha": "^5.2.2",
  42. "avl": "^1.4.4",
  43. "benchmark": "^2.1.4",
  44. "bintrees": "^1.0.2",
  45. "chai": "^4.2.0",
  46. "codecov": "^3.8.3",
  47. "mocha": "^6.2.0",
  48. "nodemon": "^1.19.2",
  49. "nyc": "^14.1.1",
  50. "reify": "*",
  51. "rollup": "*",
  52. "rollup-plugin-typescript2": "^0.24.1",
  53. "ts-node": "^6.1.1",
  54. "tslib": "^1.9.3",
  55. "tslint": "^5.14.0",
  56. "typescript": "^2.9.2"
  57. },
  58. "keywords": [
  59. "binary-tree",
  60. "bst",
  61. "splay-tree",
  62. "splay",
  63. "balanced-search-tree"
  64. ],
  65. "mocha": {
  66. "require": [
  67. "ts-node/register"
  68. ]
  69. },
  70. "nyc": {
  71. "include": [
  72. "src/*.ts"
  73. ],
  74. "exclude": [
  75. "tests/**/*.ts"
  76. ],
  77. "extension": [
  78. ".ts"
  79. ],
  80. "require": [
  81. "ts-node/register"
  82. ],
  83. "reporter": [
  84. "text-summary",
  85. "html"
  86. ],
  87. "sourceMap": true,
  88. "instrument": true
  89. },
  90. "dependencies": {}
  91. }