62 lines
1.3 KiB
JSON
62 lines
1.3 KiB
JSON
{
|
|
"name": "top.yutent.sonist",
|
|
"version": "2.0.0-alpha-1",
|
|
"description": "Music Player",
|
|
"main": "src/main.js",
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"pack": "electron-builder"
|
|
},
|
|
"author": {
|
|
"name": "yutent",
|
|
"email": "yutent.io@gmail.com"
|
|
},
|
|
"homepage": "https://yutent.me",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"crypto.js": "^2.0.2",
|
|
"iofs": "^1.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"electron": "^10.0.0",
|
|
"electron-builder": "^22.1.0"
|
|
},
|
|
"build": {
|
|
"appId": "top.yutent.sonist",
|
|
"productName": "Sonist",
|
|
"copyright": "Copyright © 2019 ${author}",
|
|
"directories": {
|
|
"buildResources": "icons",
|
|
"output": "build"
|
|
},
|
|
"electronDownload": {
|
|
"version": "10.1.5",
|
|
"mirror": "https://npm.taobao.org/mirrors/electron/"
|
|
},
|
|
"files": ["src/**/*", "node_modules/iofs/*", "node_modules/crypto.js/*"],
|
|
"mac": {
|
|
"category": "public.app-category.music",
|
|
"target": "dmg",
|
|
"icon": "icons/app.icns",
|
|
"darkModeSupport": false
|
|
},
|
|
"linux": {
|
|
"category": "AudioVideo;Audio;Player;Music",
|
|
"target": [
|
|
{
|
|
"target": "deb",
|
|
"arch": "x64"
|
|
},
|
|
{
|
|
"target": "AppImage",
|
|
"arch": "x64"
|
|
}
|
|
],
|
|
"icon": "./icons/"
|
|
},
|
|
"deb": {
|
|
"depends": []
|
|
}
|
|
}
|
|
}
|
JavaScript
60.1%
SCSS
19.2%
HTML
16.9%
CSS
3.8%