package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "version": "2.0.0-alpha.1",
  3. "name": "@tldraw/core",
  4. "description": "A TypeScript library for creating spatial UIs.",
  5. "author": "@steveruizok",
  6. "repository": {
  7. "type": "git",
  8. "url": "git+https://github.com/tldraw/tldraw.git"
  9. },
  10. "license": "MIT",
  11. "keywords": [
  12. "react",
  13. "canvas",
  14. "zoom",
  15. "drawing",
  16. "whiteboard"
  17. ],
  18. "files": [
  19. "dist/**/*"
  20. ],
  21. "main": "./src/index.ts",
  22. "scripts": {
  23. "start:next": "yarn start",
  24. "start:packages": "yarn start",
  25. "start": "node scripts/dev & yarn types:dev",
  26. "build:next": "yarn build",
  27. "build:packages": "yarn build",
  28. "build": "node scripts/build && yarn types:build",
  29. "types:dev": "tsc -w --p tsconfig.build.json",
  30. "types:build": "tsc -p tsconfig.build.json && tsconfig-replace-paths -p tsconfig.build.json",
  31. "lint": "eslint src/ --ext .ts,.tsx",
  32. "clean": "rm -rf dist",
  33. "test": "jest",
  34. "test:ci": "jest --ci --runInBand --updateSnapshot",
  35. "test:watch": "jest --watchAll"
  36. },
  37. "dependencies": {
  38. "@tldraw/intersect": "2.0.0-alpha.1",
  39. "@tldraw/vec": "2.0.0-alpha.1",
  40. "@use-gesture/react": "^10.2.22",
  41. "fast-copy": "^3.0.0",
  42. "fast-deep-equal": "^3.1.3",
  43. "hotkeys-js": "^3.10.0",
  44. "is-plain-object": "^5.0.0",
  45. "mobx": "^6.7.0",
  46. "mobx-react-lite": "^3.4.0",
  47. "mousetrap": "^1.6.5",
  48. "potpack": "^2.0.0",
  49. "proxy-compare": "^2.3.0",
  50. "rbush": "^3.0.1",
  51. "uuid": "^9.0.0"
  52. },
  53. "devDependencies": {
  54. "@types/is-plain-object": "^2.0.4",
  55. "@types/mousetrap": "^1.6.11",
  56. "@types/node": "^16.11.6",
  57. "@types/rbush": "^3.0.0",
  58. "@types/react": "^17.0.0",
  59. "@types/react-dom": "^17.0.0",
  60. "tsconfig-replace-paths": "^0.0.11"
  61. },
  62. "gitHead": "3ab5db27b9e83736fdae934474e80e90c854922c"
  63. }