package.json 2.8 KB
Newer Older
G
GitSquared 已提交
1 2
{
  "name": "edex-ui",
3
  "productName": "eDEX-UI",
G
Git² 已提交
4
  "version": "0.8.1",
G
GitSquared 已提交
5
  "description": "A science fiction desktop running everywhere. Awesome.",
6 7 8 9 10 11 12 13
  "keywords": [
    "desktop",
    "sci-fi",
    "gui",
    "portable",
    "tty",
    "terminal"
  ],
G
CI  
GitSquared 已提交
14
  "main": "src/_boot.js",
G
GitSquared 已提交
15
  "scripts": {
16 17
    "start": "node_modules/.bin/electron src",
    "install-linux": "npm install && cd src && npm install && ./../node_modules/.bin/electron-rebuild -f -w node-pty && cd ..",
G
GitSquared 已提交
18
    "preinstall-windows": "npm install --global --production windows-build-tools && npm install --global node-gyp && setx PYTHON \"%USERPROFILE%\\.windows-build-tools\\python27\\python.exe\"",
19 20
    "install-windows": "npm install && cd src && npm install && ..\\node_modules\\.bin\\electron-rebuild -f -w node-pty && cd ..",
    "prebuild": "mkdir prebuild-src && cp -R src/* prebuild-src/ && node prebuild-minify.js && cd prebuild-src && npm install",
G
Git² 已提交
21 22 23 24 25
    "prebuild-windows": "mkdir prebuild-src && xcopy src\\* prebuild-src\\ /E /C /Q /Y && node prebuild-minify.js && cd prebuild-src && npm install",
    "build": "./node_modules/.bin/electron-builder build -l -p never",
    "build-windows": "node_modules\\.bin\\electron-builder -w -p never",
    "postbuild": "rm -R prebuild-src",
    "postbuild-windows": "rmdir /S /Q prebuild-src"
G
GitSquared 已提交
26 27 28 29 30
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/GitSquared/edex-ui.git"
  },
G
CI  
GitSquared 已提交
31
  "author": "GitSquared, Pixelylon",
G
GitSquared 已提交
32 33 34 35 36
  "license": "GPL-3.0",
  "bugs": {
    "url": "https://github.com/GitSquared/edex-ui/issues"
  },
  "homepage": "https://github.com/GitSquared/edex-ui#readme",
G
CI  
GitSquared 已提交
37 38
  "build": {
    "appId": "com.edex.ui",
G
GitSquared 已提交
39
    "productName": "eDEX-UI",
G
CI  
GitSquared 已提交
40 41 42 43 44 45 46 47 48 49 50 51 52
    "asar": true,
    "compression": "maximum",
    "copyright": "FREE FOR ALL",
    "directories": {
      "output": "dist",
      "app": "prebuild-src"
    },
    "electronDownload": {
      "strictSSL": false,
      "verifyChecksum": true
    },
    "forceCodeSigning": false,
    "npmRebuild": true,
G
GitSquared 已提交
53
    "artifactName": "eDEX-UI-${arch}.${ext}",
G
CI  
GitSquared 已提交
54 55 56 57
    "linux": {
      "target": [
        {
          "target": "tar.gz",
58 59
          "arch": [
            "x64",
60
            "ia32"
61
          ]
G
GitSquared 已提交
62 63
        },
        {
64 65
          "target": "AppImage",
          "arch": [
G
GitSquared 已提交
66 67
            "x64",
            "ia32"
68
          ]
G
CI  
GitSquared 已提交
69 70
        }
      ],
G
GitSquared 已提交
71
      "category": "System",
G
CI  
GitSquared 已提交
72 73 74 75 76 77
      "icon": "media/linuxIcons"
    },
    "win": {
      "target": [
        {
          "target": "portable",
78 79 80 81
          "arch": [
            "x64",
            "ia32"
          ]
G
CI  
GitSquared 已提交
82 83 84 85
        }
      ],
      "icon": "media/icon.ico"
    }
86
  },
87
  "dependencies": {
G
GitSquared 已提交
88
    "clean-css": "4.1.11",
89
    "electron": "2.0.2",
90
    "electron-builder": "20.15.1",
G
Git² 已提交
91
    "electron-rebuild": "1.7.3",
92
    "node-abi": "2.4.1",
G
GitSquared 已提交
93
    "node-json-minify": "1.0.0",
94
    "uglify-es": "3.3.10"
95
  }
G
GitSquared 已提交
96
}