8e79ec4942
- Updated README and README.zh to clarify packaging commands and added verification step. - Improved packaging scripts to automatically build the self-contained runtime and verify its integrity. - Introduced new scripts for verifying harness self-containment and booting the web profile. - Added comprehensive tests for relinking harness symlinks and ensuring self-containment. - Updated package.json scripts to reflect new build and verification processes.
40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"name": "@deepseek-ai/dsh-desktop",
|
|
"description": "DeepSeek Harness Desktop ,由 PineSound 基于 deepseek-harness 项目构建",
|
|
"version": "0.1.0-rc.5",
|
|
"private": true,
|
|
"type": "module",
|
|
"author": "PineSound",
|
|
"main": "lib/types/main.js",
|
|
"files": [
|
|
"lib/types/*.js",
|
|
"lib/types/*.cjs",
|
|
"lib/types/*.d.ts",
|
|
"electron-builder.yml"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc -b tsconfig.json && pnpm run build:preload",
|
|
"build:preload": "esbuild src/preload.ts --bundle --platform=node --format=cjs --external:electron --outfile=lib/types/preload.cjs",
|
|
"build:harness": "node scripts/build-harness.mjs",
|
|
"verify:harness": "node scripts/verify-harness.mjs",
|
|
"pack:dir": "electron-builder --dir",
|
|
"verify:packed": "node scripts/verify-harness.mjs --app dist",
|
|
"generate-release-json": "node scripts/generate-release-json.mjs",
|
|
"stage-release": "node scripts/stage-release.mjs",
|
|
"typecheck": "tsc -b tsconfig.json",
|
|
"test": "vitest run",
|
|
"pack": "electron-builder"
|
|
},
|
|
"dependencies": {
|
|
"@deepseek-ai/dsh": "workspace:^"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"electron": "^42.4.1",
|
|
"electron-builder": "^25.1.8",
|
|
"esbuild": "^0.28.1",
|
|
"typescript": "^6.0.3",
|
|
"vitest": "^4.1.8"
|
|
}
|
|
}
|