46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"name": "motioner",
|
|
"version": "1.0.0",
|
|
"description": "基于Electron构建的性能监控应用,功能包括全局悬浮窗口、可以设置是否开机启动",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"postinstall": "electron-builder install-app-deps",
|
|
"pack": "electron-builder --dir",
|
|
"dist": "electron-builder"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.pandorastudio.cn/yuantao/motioner.git"
|
|
},
|
|
"author": "上海潘哆呐科技有限公司",
|
|
"license": "ISC",
|
|
"keywords": [],
|
|
"dependencies": {
|
|
"auto-launch": "*",
|
|
"pidusage": "*",
|
|
"systeminformation": "*"
|
|
},
|
|
"devDependencies": {
|
|
"electron": "*",
|
|
"electron-builder": "*"
|
|
},
|
|
"build": {
|
|
"appId": "com.pandorastudio.motioner",
|
|
"productName": "Motioner",
|
|
"directories": {
|
|
"output": "dist"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
"nsis"
|
|
],
|
|
"artifactName": "${productName}-Setup-${version}.${ext}"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true
|
|
}
|
|
}
|
|
}
|