调整项目结构:前端和 Electron 核心

This commit is contained in:
2025-08-06 07:44:19 +08:00
parent 499f6205fa
commit cbe3f72d1c
19 changed files with 3836 additions and 1329 deletions

View File

@ -1,78 +1,30 @@
{
"name": "@deskpet/pet",
"name": "pet",
"version": "1.0.0",
"main": "main/main.js",
"description": "",
"main": "index.js",
"scripts": {
"start": "electron .",
"build:addon": "cd core && node-gyp rebuild"
"dev": "concurrently \"cd renderer && npm run dev\" \"wait-on http://localhost:5173 && electron .\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/Kisechan/Pet.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"author": "Kisechan",
"license": "MIT",
"bugs": {
"url": "https://github.com/Kisechan/Pet/issues"
},
"homepage": "https://github.com/Kisechan/Pet#readme",
"devDependencies": {
"@vitejs/plugin-vue": "^6.0.1",
"electron": "^37.2.5",
"node-addon-api": "^8.5.0",
"node-gyp": "^11.3.0"
"vue": "^3.5.18"
},
"dependencies": {
"boolean": "^3.2.0",
"buffer-crc32": "^0.2.13",
"cacheable-lookup": "^5.0.4",
"cacheable-request": "^7.0.4",
"clone-response": "^1.0.3",
"debug": "^4.4.1",
"decompress-response": "^6.0.0",
"defer-to-connect": "^2.0.1",
"define-data-property": "^1.1.4",
"define-properties": "^1.2.1",
"detect-node": "^2.1.0",
"end-of-stream": "^1.4.5",
"env-paths": "^2.2.1",
"es-define-property": "^1.0.1",
"es-errors": "^1.3.0",
"es6-error": "^4.1.1",
"escape-string-regexp": "^4.0.0",
"extract-zip": "^2.0.1",
"fd-slicer": "^1.1.0",
"fs-extra": "^8.1.0",
"get-stream": "^5.2.0",
"global-agent": "^3.0.0",
"globalthis": "^1.0.4",
"gopd": "^1.2.0",
"got": "^11.8.6",
"graceful-fs": "^4.2.11",
"has-property-descriptors": "^1.0.2",
"http-cache-semantics": "^4.2.0",
"http2-wrapper": "^1.0.3",
"json-buffer": "^3.0.1",
"json-stringify-safe": "^5.0.1",
"jsonfile": "^4.0.0",
"keyv": "^4.5.4",
"lowercase-keys": "^2.0.0",
"matcher": "^3.0.0",
"mimic-response": "^1.0.1",
"ms": "^2.1.3",
"normalize-url": "^6.1.0",
"object-keys": "^1.1.1",
"once": "^1.4.0",
"p-cancelable": "^2.1.1",
"pend": "^1.2.0",
"progress": "^2.0.3",
"pump": "^3.0.3",
"quick-lru": "^5.1.1",
"resolve-alpn": "^1.2.1",
"responselike": "^2.0.1",
"roarr": "^2.15.4",
"semver": "^6.3.1",
"semver-compare": "^1.0.0",
"serialize-error": "^7.0.1",
"sprintf-js": "^1.1.3",
"sumchecker": "^3.0.1",
"type-fest": "^0.13.1",
"undici-types": "^6.21.0",
"universalify": "^0.1.2",
"wrappy": "^1.0.2",
"yauzl": "^2.10.0"
},
"description": ""
"fs-extra": "^11.3.1",
"howler": "^2.2.4",
"path": "^0.12.7"
}
}