package.json 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "private": true,
  3. "name": "excalidraw-monorepo",
  4. "packageManager": "[email protected]",
  5. "workspaces": [
  6. "excalidraw-app",
  7. "packages/excalidraw",
  8. "packages/utils",
  9. "examples/excalidraw",
  10. "examples/excalidraw/*"
  11. ],
  12. "dependencies": {
  13. "@excalidraw/random-username": "1.0.0",
  14. "@sentry/browser": "6.2.5",
  15. "@sentry/integrations": "6.2.5",
  16. "firebase": "8.3.3",
  17. "i18next-browser-languagedetector": "6.1.4",
  18. "idb-keyval": "6.0.3",
  19. "jotai": "1.13.1",
  20. "react": "18.2.0",
  21. "react-dom": "18.2.0",
  22. "socket.io-client": "4.7.2"
  23. },
  24. "devDependencies": {
  25. "@excalidraw/eslint-config": "1.0.3",
  26. "@excalidraw/prettier-config": "1.0.2",
  27. "@types/chai": "4.3.0",
  28. "@types/jest": "27.4.0",
  29. "@types/lodash.throttle": "4.1.7",
  30. "@types/react": "18.2.0",
  31. "@types/react-dom": "18.2.0",
  32. "@types/socket.io-client": "3.0.0",
  33. "@vitejs/plugin-react": "3.1.0",
  34. "@vitest/coverage-v8": "0.33.0",
  35. "@vitest/ui": "0.32.2",
  36. "chai": "4.3.6",
  37. "dotenv": "16.0.1",
  38. "eslint-config-prettier": "8.5.0",
  39. "eslint-config-react-app": "7.0.1",
  40. "eslint-plugin-prettier": "3.3.1",
  41. "http-server": "14.1.1",
  42. "husky": "7.0.4",
  43. "jsdom": "22.1.0",
  44. "lint-staged": "12.3.7",
  45. "pepjs": "0.5.3",
  46. "prettier": "2.6.2",
  47. "rewire": "6.0.0",
  48. "typescript": "4.9.4",
  49. "vite": "5.3.4",
  50. "vite-plugin-checker": "0.6.1",
  51. "vite-plugin-ejs": "1.7.0",
  52. "vite-plugin-pwa": "0.17.4",
  53. "vite-plugin-svgr": "2.4.0",
  54. "vitest": "1.5.3",
  55. "vitest-canvas-mock": "0.3.2"
  56. },
  57. "engines": {
  58. "node": "18.0.0 - 20.x.x"
  59. },
  60. "homepage": ".",
  61. "prettier": "@excalidraw/prettier-config",
  62. "scripts": {
  63. "build-node": "node ./scripts/build-node.js",
  64. "build:app:docker": "yarn --cwd ./excalidraw-app build:app:docker",
  65. "build:app": "yarn --cwd ./excalidraw-app build:app",
  66. "build:version": "yarn --cwd ./excalidraw-app build:version",
  67. "build": "yarn --cwd ./excalidraw-app build",
  68. "fix:code": "yarn test:code --fix",
  69. "fix:other": "yarn prettier --write",
  70. "fix": "yarn fix:other && yarn fix:code",
  71. "locales-coverage": "node scripts/build-locales-coverage.js",
  72. "locales-coverage:description": "node scripts/locales-coverage-description.js",
  73. "prepare": "husky install",
  74. "prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore",
  75. "start": "yarn --cwd ./excalidraw-app start",
  76. "start:app:production": "npm run build && npx http-server build -a localhost -p 5001 -o",
  77. "test:all": "yarn test:typecheck && yarn test:code && yarn test:other && yarn test:app --watch=false",
  78. "test:app": "vitest",
  79. "test:code": "eslint --max-warnings=0 --ext .js,.ts,.tsx .",
  80. "test:other": "yarn prettier --list-different",
  81. "test:typecheck": "tsc",
  82. "test:update": "yarn test:app --update --watch=false",
  83. "test": "yarn test:app",
  84. "test:coverage": "vitest --coverage",
  85. "test:coverage:watch": "vitest --coverage --watch",
  86. "test:ui": "yarn test --ui --coverage.enabled=true",
  87. "autorelease": "node scripts/autorelease.js",
  88. "prerelease:excalidraw": "node scripts/prerelease.js",
  89. "build:preview": "yarn build && vite preview --port 5000",
  90. "release:excalidraw": "node scripts/release.js"
  91. }
  92. }