package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "splaytree-ts",
  3. "description": "A splay tree typescript library",
  4. "version": "1.0.2",
  5. "author": {
  6. "name": "Luiz Felipe Machado Barboza"
  7. },
  8. "license": "BDS-3-Clause",
  9. "type": "module",
  10. "main": "dist/esm/index.js",
  11. "module": "dist/esm/index.js",
  12. "jsdelivr": "dist/splaytree-ts.umd.js",
  13. "unpkg": "dist/splaytree-ts.umd.js",
  14. "types": "dist/esm/index.d.ts",
  15. "exports": {
  16. "umd": "./dist/splaytree-ts.umd.js",
  17. "import": "./dist/esm/index.js",
  18. "require": "./dist/cjs/index.cjs",
  19. "default": "./dist/cjs/index.cjs"
  20. },
  21. "files": [
  22. "dist"
  23. ],
  24. "keywords": [
  25. "splay",
  26. "tree",
  27. "map",
  28. "set",
  29. "self-balancing",
  30. "binary",
  31. "search"
  32. ],
  33. "repository": {
  34. "type": "git",
  35. "url": "https://github.com/SBanksX/splaytree-ts.git"
  36. },
  37. "scripts": {
  38. "preversion": "npm run test",
  39. "version": "npm run build && git add -A",
  40. "postversion": "git push && git push --tags",
  41. "build": "rollup -c && tsup",
  42. "test": "npm run test:typecheck && npm run test:lint",
  43. "test:lint": "eslint src",
  44. "test:typecheck": "tsc --noEmit"
  45. },
  46. "devDependencies": {
  47. "@typescript-eslint/eslint-plugin": "^5.25.0",
  48. "@typescript-eslint/parser": "^5.25.0",
  49. "@babel/preset-env": "^7.19.0",
  50. "@babel/preset-typescript": "^7.18.6",
  51. "@rollup/plugin-json": "4",
  52. "@rollup/plugin-node-resolve": "13",
  53. "@rollup/plugin-typescript": "^8.5.0",
  54. "rollup-plugin-terser": "7",
  55. "eslint": "^8.16.0",
  56. "eslint-config-prettier": "^8.5.0",
  57. "tsup": "^8.3.5"
  58. }
  59. }