{
  "name": "top.yutent.sonist",
  "version": "2.0.0-alpha-4",
  "description": "Music Player",
  "main": "src/main.js",
  "scripts": {
    "start": "electron .",
    "pack": "electron-builder"
  },
  "author": {
    "name": "yutent",
    "email": "yutent.io@gmail.com"
  },
  "homepage": "https://yutent.top",
  "license": "MIT",
  "dependencies": {
    "crypto.js": "^2.0.2",
    "iofs": "^1.5.1",
    "music-metadata": "^7.5.0",
    "sqlite3": "^5.0.0"
  },
  "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/sqlite3/*",
      "node_modules/crypto.js/*",
      "node_modules/music-metadata/*"
    ],
    "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": []
    }
  }
}
