Files
sb-front/package.json
T
ByungCheol 9de26cf417
CI / build (push) Failing after 14m5s
feat: 데스크톱 클라이언트가 라이브 사이트 직접 로드 — 프론트 변경 자동 반영(재설치 불필요)
- electron/main.cjs: dist 번들 → https://app.sblog.kr 직접 로드
  · 같은 출처라 webSecurity:false(CORS 우회) 제거, 오프라인 시 '다시 시도' 안내 화면
  · 앱 외 도메인 링크만 기본 브라우저로
- package.json: 설치파일에 dist 미포함·build:electron 제거(원격 로드라 불필요)
- .env.electron 삭제

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-07 16:39:28 +09:00

80 lines
2.0 KiB
JSON

{
"name": "sb_pt",
"version": "1.0.0",
"private": true,
"type": "module",
"main": "electron/main.cjs",
"scripts": {
"dev": "vite",
"build": "vite build",
"build:app": "vite build --mode capacitor",
"electron:dev": "electron .",
"electron:build": "electron-builder --win",
"test": "vitest run",
"test:watch": "vitest",
"cap:sync": "npm run build:app && cap sync",
"cap:android": "cap open android",
"preview": "vite preview",
"lint": "run-s lint:*",
"lint:oxlint": "oxlint . --fix",
"lint:eslint": "eslint . --fix --cache"
},
"build": {
"appId": "kr.sblog.slimbudget",
"productName": "Slim Budget",
"directories": {
"output": "release-desktop"
},
"files": [
"electron/**/*"
],
"win": {
"target": "nsis",
"icon": "assets/icon-only.png"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true
}
},
"dependencies": {
"@capacitor/android": "^8.3.4",
"@capacitor/app": "^8.1.0",
"@capacitor/camera": "^8.2.0",
"@capacitor/cli": "^8.3.4",
"@capacitor/core": "^8.3.4",
"@capacitor/preferences": "^8.0.1",
"@toast-ui/editor": "^3.2.2",
"@toast-ui/editor-plugin-code-syntax-highlight": "^3.1.0",
"axios": "^1.16.1",
"pinia": "^3.0.4",
"prismjs": "^1.30.0",
"sortablejs": "^1.15.7",
"vue": "^3.5.32",
"vue-router": "^5.0.4"
},
"devDependencies": {
"@capacitor/assets": "^3.0.5",
"@eslint/js": "^10.0.1",
"@pinia/testing": "^1.0.3",
"@vitejs/plugin-vue": "^6.0.6",
"@vue/test-utils": "^2.4.11",
"electron": "^42.3.3",
"electron-builder": "^26.15.0",
"eslint": "^10.2.1",
"eslint-plugin-oxlint": "~1.60.0",
"eslint-plugin-vue": "~10.8.0",
"globals": "^17.5.0",
"jsdom": "^29.1.1",
"npm-run-all2": "^8.0.4",
"oxlint": "~1.60.0",
"vite": "^8.0.8",
"vite-plugin-vue-devtools": "^8.1.1",
"vitest": "^4.1.8"
},
"engines": {
"node": "^20.19.0 || >=22.12.0"
}
}