Files
NFD2NFC/package.json
jung-geun 952e74de2f fix: npm tarball 빌드 경로 및 포함 파일 정정
tsconfig.cli.json + tsconfig.lib.json outDir을 out/cli→out, out/lib→out으로 변경.
bin out/cli/index.js, main out/lib/index.js 경로와 일치시킴.
files에서 resources/** 제거 (아이콘 파일 npm 사용자 불필요).
files에 out/core/** 추가, !out/core/__tests__/**로 테스트 파일 제외.
tarball 크기 1.8MB → 8.4KB.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 15:55:36 +09:00

109 lines
2.7 KiB
JSON

{
"name": "@pieroot/nfd2nfc",
"version": "2.0.0",
"description": "macOS 한글 파일명 NFD→NFC 실시간 변환 트레이 앱 + CLI + 라이브러리",
"main": "out/lib/index.js",
"types": "out/lib/index.d.ts",
"exports": {
".": {
"types": "./out/lib/index.d.ts",
"default": "./out/lib/index.js"
}
},
"bin": {
"nfd2nfc": "out/cli/index.js"
},
"files": [
"out/cli/**",
"out/lib/**",
"out/core/**",
"!out/core/__tests__/**",
"README.md",
"LICENSE"
],
"scripts": {
"dev": "electron-vite dev",
"build:app": "electron-vite build",
"build:cli": "tsc --project tsconfig.cli.json",
"build:lib": "tsc --project tsconfig.lib.json",
"build": "npm run build:app && npm run build:cli && npm run build:lib && electron-builder",
"prepublishOnly": "npm run build:cli && npm run build:lib && chmod +x out/cli/index.js",
"preview": "electron-vite preview",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint src --ext .ts,.tsx",
"typecheck": "tsc --noEmit && tsc --noEmit --project tsconfig.cli.json && tsc --noEmit --project tsconfig.lib.json"
},
"dependencies": {
"chokidar": "^3.6.0",
"yargs": "^17.7.2"
},
"devDependencies": {
"@types/node": "^20.14.0",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"@vitejs/plugin-react": "^4.3.4",
"electron": "^35.1.5",
"electron-builder": "^26.0.12",
"electron-vite": "^2.3.0",
"eslint": "^8.57.0",
"prettier": "^3.2.5",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"typescript": "^5.4.0",
"vite": "^5.2.0",
"vitest": "^1.6.1"
},
"author": "jung-geun <pieroot.02@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/jung-geun/NFD2NFC.git"
},
"bugs": {
"url": "https://github.com/jung-geun/NFD2NFC/issues"
},
"homepage": "https://github.com/jung-geun/NFD2NFC#readme",
"keywords": [
"NFD",
"NFC",
"Unicode",
"Normalization",
"macOS",
"korean",
"electron",
"tray"
],
"build": {
"appId": "com.pieroot.nfd2nfc",
"productName": "NFD2NFC",
"extraMetadata": {
"main": "out/main/index.js"
},
"files": [
"out/main/**",
"out/preload/**",
"out/renderer/**",
"resources/**",
"package.json"
],
"mac": {
"category": "public.app-category.utilities",
"icon": "resources/icon.icns",
"target": [
{
"target": "dmg",
"arch": ["arm64", "x64"]
}
]
},
"directories": {
"buildResources": "resources",
"output": "dist"
}
}
}