레이아웃 편집기·개발자 진단도구를 코어 번들에서 분리해 각각 편집 화면 진입 시·디버그 모드 시에만 지연 로드하도록 변경. 초기 접속 gzip payload 458KB → 221KB (52% 감소). lazy 번들은 window.G7Core.__runtime 으로 코어 런타임을 공유해 React/컨텍스트/싱글톤 단일 인스턴스를 보장(재번들 0중복). 코어 7.0.1 bump.
54 lines
1.9 KiB
JSON
54 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/package.json",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"build:core": "vite build --config vite.config.core.js",
|
|
"build:core-editor": "vite build --config vite.config.editor.js",
|
|
"build:core-devtools": "vite build --config vite.config.devtools.js",
|
|
"build:core-watch": "vite build --config vite.config.core.js --watch",
|
|
"build:core-editor-watch": "vite build --config vite.config.editor.js --watch",
|
|
"build:core-devtools-watch": "vite build --config vite.config.devtools.js --watch",
|
|
"dev": "vite",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:run": "vitest run",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:smoke": "playwright test --grep @smoke",
|
|
"test:e2e:ui": "playwright test --ui"
|
|
},
|
|
"devDependencies": {
|
|
"@laravel/echo-react": "^2.2.6",
|
|
"@playwright/test": "^1.49.0",
|
|
"@tailwindcss/vite": "^4.0.0",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/react": "^19.2.2",
|
|
"@types/react-dom": "^19.2.2",
|
|
"@vitejs/plugin-react": "^5.1.0",
|
|
"@vitest/ui": "^4.1.8",
|
|
"axios": "^1.11.0",
|
|
"concurrently": "^9.0.1",
|
|
"happy-dom": "^20.0.10",
|
|
"jsdom": "^27.1.0",
|
|
"laravel-echo": "^2.2.6",
|
|
"laravel-vite-plugin": "^2.0.0",
|
|
"pusher-js": "^8.4.0-rc2",
|
|
"tailwindcss": "^4.0.0",
|
|
"vite": "^7.0.4",
|
|
"vitest": "^4.1.8"
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"immer": "^11.1.3",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0",
|
|
"zustand": "^5.0.9"
|
|
}
|
|
}
|