package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "browserslist": {
  3. "production": [
  4. ">0.2%",
  5. "not dead",
  6. "not ie <= 11",
  7. "not op_mini all",
  8. "not safari < 12",
  9. "not kaios <= 2.5",
  10. "not edge < 79",
  11. "not chrome < 70",
  12. "not and_uc < 13",
  13. "not samsung < 10"
  14. ],
  15. "development": [
  16. "last 1 chrome version",
  17. "last 1 firefox version",
  18. "last 1 safari version"
  19. ]
  20. },
  21. "engines": {
  22. "node": ">=18.0.0"
  23. },
  24. "dependencies": {
  25. "packages/excalidraw": "*"
  26. },
  27. "homepage": ".",
  28. "name": "excalidraw-app",
  29. "prettier": "@excalidraw/prettier-config",
  30. "private": true,
  31. "scripts": {
  32. "build-node": "node ./scripts/build-node.js",
  33. "build:app:docker": "cross-env VITE_APP_DISABLE_SENTRY=true VITE_APP_DISABLE_TRACKING=true vite build",
  34. "build:app": "cross-env VITE_APP_GIT_SHA=$VERCEL_GIT_COMMIT_SHA vite build",
  35. "build:version": "node ../scripts/build-version.js",
  36. "build": "yarn build:app && yarn build:version",
  37. "install:deps": "yarn install --frozen-lockfile && yarn --cwd ../",
  38. "start": "yarn && vite",
  39. "start:production": "npm run build && npx http-server build -a localhost -p 5001 -o",
  40. "build:preview": "yarn build && vite preview --port 5000"
  41. }
  42. }