mirror of
https://github.com/Dvorinka/excalidraw-full.git
synced 2026-06-04 14:22:57 +00:00
88d3983f26
本次提交包含以下主要更改: 1. 更新 `.gitignore` 文件,移除对子目录环境变量文件的忽略。 2. 修改 `excalidraw-complete.Dockerfile`,将构建工具从 `npm` 更改为 `pnpm`,并移除不必要的补丁步骤。 3. 更新 GitHub Actions 工作流 `docker-build.yml`,移除对子模块的递归检出。 4. 修改 `excalidraw/.env.production` 文件,调整后端 API 地址为本地开发环境,并更新 Firebase 配置。 5. 移除 `husky` 相关依赖及配置,简化项目依赖。 这些更改旨在优化开发环境配置,提高构建效率,并简化项目依赖管理。
91 lines
3.2 KiB
JSON
91 lines
3.2 KiB
JSON
{
|
|
"private": true,
|
|
"name": "excalidraw-monorepo",
|
|
"workspaces": [
|
|
"excalidraw-app",
|
|
"packages/excalidraw",
|
|
"packages/utils",
|
|
"examples/excalidraw",
|
|
"examples/excalidraw/*"
|
|
],
|
|
"dependencies": {
|
|
"@excalidraw/random-username": "1.0.0",
|
|
"@sentry/browser": "6.2.5",
|
|
"@sentry/integrations": "6.2.5",
|
|
"firebase": "8.3.3",
|
|
"i18next-browser-languagedetector": "6.1.4",
|
|
"idb-keyval": "6.0.3",
|
|
"jotai": "1.13.1",
|
|
"jwt-decode": "4.0.0",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"socket.io-client": "4.7.2"
|
|
},
|
|
"devDependencies": {
|
|
"@excalidraw/eslint-config": "1.0.3",
|
|
"@excalidraw/prettier-config": "1.0.2",
|
|
"@types/chai": "4.3.0",
|
|
"@types/jest": "27.4.0",
|
|
"@types/lodash.throttle": "4.1.7",
|
|
"@types/react": "18.0.15",
|
|
"@types/react-dom": "18.0.6",
|
|
"@types/socket.io-client": "3.0.0",
|
|
"@vitejs/plugin-react": "3.1.0",
|
|
"@vitest/coverage-v8": "0.33.0",
|
|
"@vitest/ui": "0.32.2",
|
|
"chai": "4.3.6",
|
|
"dotenv": "16.0.1",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-config-react-app": "7.0.1",
|
|
"eslint-plugin-prettier": "3.3.1",
|
|
"http-server": "14.1.1",
|
|
"jsdom": "22.1.0",
|
|
"lint-staged": "12.3.7",
|
|
"pepjs": "0.5.3",
|
|
"prettier": "2.6.2",
|
|
"rewire": "6.0.0",
|
|
"typescript": "4.9.4",
|
|
"vite": "5.0.12",
|
|
"vite-plugin-checker": "0.6.1",
|
|
"vite-plugin-ejs": "1.7.0",
|
|
"vite-plugin-pwa": "0.17.4",
|
|
"vite-plugin-svgr": "2.4.0",
|
|
"vitest": "1.0.1",
|
|
"vitest-canvas-mock": "0.3.2"
|
|
},
|
|
"engines": {
|
|
"node": "18.0.0 - 20.x.x"
|
|
},
|
|
"homepage": ".",
|
|
"prettier": "@excalidraw/prettier-config",
|
|
"scripts": {
|
|
"build-node": "node ./scripts/build-node.js",
|
|
"build:app:docker": "cross-env VITE_APP_DISABLE_SENTRY=true VITE_APP_DISABLE_TRACKING=true vite build",
|
|
"build:app": "cross-env VITE_APP_GIT_SHA=$VERCEL_GIT_COMMIT_SHA vite build",
|
|
"build:version": "node ./scripts/build-version.js",
|
|
"build": "pnpm --filter excalidraw-app build",
|
|
"fix:code": "pnpm test:code --fix",
|
|
"fix:other": "pnpm prettier --write",
|
|
"fix": "pnpm fix:other && pnpm fix:code",
|
|
"locales-coverage": "node scripts/build-locales-coverage.js",
|
|
"locales-coverage:description": "node scripts/locales-coverage-description.js",
|
|
"prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore",
|
|
"start": "pnpm --filter excalidraw-app start",
|
|
"start:app:production": "pnpm build && npx http-server build -a localhost -p 5001 -o",
|
|
"test:all": "pnpm test:typecheck && pnpm test:code && pnpm test:other && pnpm test:app --watch=false",
|
|
"test:app": "vitest",
|
|
"test:code": "eslint --max-warnings=0 --ext .js,.ts,.tsx .",
|
|
"test:other": "pnpm prettier --list-different",
|
|
"test:typecheck": "tsc",
|
|
"test:update": "pnpm test:app --update --watch=false",
|
|
"test": "pnpm test:app",
|
|
"test:coverage": "vitest --coverage",
|
|
"test:coverage:watch": "vitest --coverage --watch",
|
|
"test:ui": "pnpm test --ui --coverage.enabled=true",
|
|
"autorelease": "node scripts/autorelease.js",
|
|
"prerelease:excalidraw": "node scripts/prerelease.js",
|
|
"build:preview": "pnpm build && vite preview --port 5000",
|
|
"release:excalidraw": "node scripts/release.js"
|
|
}
|
|
}
|