package.json 4.8 KB
Newer Older
E
.  
Eugene Pankov 已提交
1 2
{
  "devDependencies": {
3
    "@fortawesome/fontawesome-free": "^5.10.2",
4
    "@types/electron-config": "^3.2.2",
5
    "@types/electron-debug": "^2.1.0",
6
    "@types/js-yaml": "^3.12.1",
7
    "@types/node": "^12.7.4",
8
    "@types/webpack-env": "1.13.9",
9
    "@typescript-eslint/eslint-plugin": "^2.1.0",
10
    "@typescript-eslint/parser": "^2.1.0",
11
    "apply-loader": "2.0.0",
E
Eugene Pankov 已提交
12
    "awesome-typescript-loader": "^5.0.0",
13
    "core-js": "^3.2.0",
14
    "cross-env": "5.2.1",
15
    "css-loader": "3.2.0",
16
    "electron": "^6.0.7",
E
Eugene Pankov 已提交
17
    "electron-builder": "^21.2.0",
18
    "electron-installer-snap": "^4.0.0",
E
Eugene Pankov 已提交
19
    "electron-notarize": "^0.1.1",
20
    "electron-rebuild": "^1.8.5",
E
lint  
Eugene Pankov 已提交
21
    "eslint": "^6.3.0",
22
    "file-loader": "^4.1.0",
23
    "graceful-fs": "^4.2.2",
24
    "html-loader": "0.5.5",
25
    "json-loader": "0.5.7",
26
    "node-abi": "^2.11.0",
27
    "node-gyp": "^5.0.3",
E
Eugene Pankov 已提交
28
    "node-sass": "^4.12.0",
29
    "npmlog": "4.1.2",
30
    "npx": "^10.2.0",
31
    "pug": "^2.0.4",
32
    "pug-html-loader": "1.1.5",
33
    "pug-lint": "^2.6.0",
E
Eugene Pankov 已提交
34
    "pug-loader": "^2.4.0",
35
    "pug-static-loader": "2.0.0",
36
    "raven-js": "3.27.2",
37
    "raw-loader": "3.1.0",
38
    "sass-loader": "^8.0.0",
39
    "shelljs": "0.8.3",
40
    "source-code-pro": "^2.30.2",
41
    "source-sans-pro": "3.6.0",
42
    "style-loader": "^1.0.0",
E
Eugene Pankov 已提交
43
    "svg-inline-loader": "^0.8.0",
E
wip  
Eugene Pankov 已提交
44
    "to-string-loader": "1.1.5",
E
Eugene Pankov 已提交
45
    "tslib": "^1.10.0",
46
    "typedoc": "^0.15.0",
47
    "typescript": "^3.6.2",
48
    "url-loader": "^2.1.0",
49
    "val-loader": "1.1.1",
50
    "webpack": "^4.39.3",
51
    "webpack-cli": "^3.3.8",
52
    "yaml-loader": "0.5.0"
E
.  
Eugene Pankov 已提交
53
  },
E
Eugene Pankov 已提交
54
  "resolutions": {
E
Eugene Pankov 已提交
55
    "*/node-abi": "^2.8.0"
E
Eugene Pankov 已提交
56
  },
E
.  
Eugene Pankov 已提交
57
  "build": {
E
.  
Eugene Pankov 已提交
58 59
    "appId": "org.terminus",
    "productName": "Terminus",
E
.  
Eugene Pankov 已提交
60
    "compression": "normal",
E
Eugene Pankov 已提交
61
    "afterSign": "./build/mac/afterSignHook.js",
E
Eugene Pankov 已提交
62 63 64 65
    "files": [
      "**/*",
      "dist"
    ],
E
.  
Eugene Pankov 已提交
66
    "extraResources": [
E
clink  
Eugene Pankov 已提交
67
      "builtin-plugins",
E
Eugene Pankov 已提交
68
      "extras"
E
.  
Eugene Pankov 已提交
69
    ],
E
.  
Eugene Pankov 已提交
70
    "win": {
E
Eugene Pankov 已提交
71
      "icon": "./build/windows/icon.ico",
E
Eugene Pankov 已提交
72 73
      "artifactName": "terminus-${version}-setup.exe",
      "rfc3161TimeStampServer": "http://sha256timestamp.ws.symantec.com/sha256/timestamp"
E
.  
Eugene Pankov 已提交
74
    },
75 76 77 78
    "nsis": {
      "oneClick": false,
      "artifactName": "terminus-${version}-setup.${ext}",
      "installerIcon": "./build/windows/icon.ico"
E
Eugene Pankov 已提交
79
    },
80
    "publish": [
E
Eugene Pankov 已提交
81 82
      {
        "provider": "github"
83 84
      }
    ],
E
Eugene Pankov 已提交
85 86
    "portable": {
      "artifactName": "terminus-${version}-portable.exe"
E
.  
Eugene Pankov 已提交
87
    },
E
.  
Eugene Pankov 已提交
88 89 90
    "mac": {
      "category": "public.app-category.video",
      "icon": "./build/mac/icon.icns",
E
Eugene Pankov 已提交
91
      "artifactName": "terminus-${version}-macos.${ext}",
E
Eugene Pankov 已提交
92 93
      "hardenedRuntime": true,
      "entitlements": "./build/mac/entitlements.plist",
E
Eugene Pankov 已提交
94
      "entitlementsInherit": "./build/mac/entitlements.plist",
E
Eugene Pankov 已提交
95 96 97
      "extendInfo": {
        "NSRequiresAquaSystemAppearance": false
      }
E
.  
Eugene Pankov 已提交
98
    },
E
Eugene Pankov 已提交
99 100
    "pkg": {
      "artifactName": "terminus-${version}-macos.pkg"
E
travis  
Eugene Pankov 已提交
101
    },
E
.  
Eugene Pankov 已提交
102
    "linux": {
E
lint  
Eugene Pankov 已提交
103
      "category": "Utilities",
E
travis  
Eugene Pankov 已提交
104
      "icon": "./build/icons",
105
      "artifactName": "terminus-${version}-linux.${ext}"
106 107
    },
    "deb": {
E
Eugene Pankov 已提交
108 109 110 111
      "depends": [
        "gconf2",
        "gconf-service",
        "libnotify4",
E
Eugene Pankov 已提交
112
        "libsecret-1-0",
E
Eugene Pankov 已提交
113 114
        "libappindicator1",
        "libxtst6",
E
Eugene Pankov 已提交
115
        "libnss3"
116 117
      ],
      "afterInstall": "build/linux/after-install.tpl"
118 119
    },
    "rpm": {
E
Eugene Pankov 已提交
120
      "depends": [
121 122
        "screen",
        "gnome-python2-gnomekeyring"
E
Eugene Pankov 已提交
123
      ]
E
.  
Eugene Pankov 已提交
124 125 126
    }
  },
  "scripts": {
E
Eugene Pankov 已提交
127
    "build": "npm run build:typings && webpack --color --config app/webpack.main.config.js && webpack --color --config app/webpack.config.js && webpack --color --config terminus-core/webpack.config.js && webpack --color --config terminus-settings/webpack.config.js && webpack --color --config terminus-terminal/webpack.config.js && webpack --color --config terminus-plugin-manager/webpack.config.js && webpack --color --config terminus-community-color-schemes/webpack.config.js && webpack --color --config terminus-ssh/webpack.config.js",
E
Eugene Pankov 已提交
128
    "build:typings": "tsc --project terminus-core/tsconfig.typings.json && tsc --project terminus-settings/tsconfig.typings.json && tsc --project terminus-terminal/tsconfig.typings.json && tsc --project terminus-plugin-manager/tsconfig.typings.json && tsc --project terminus-ssh/tsconfig.typings.json",
E
Eugene Pankov 已提交
129 130 131
    "watch": "cross-env TERMINUS_DEV=1 webpack --progress --color --watch",
    "start": "cross-env TERMINUS_DEV=1 electron app --debug",
    "prod": "cross-env TERMINUS_DEV=1 electron app",
E
Eugene Pankov 已提交
132
    "docs": "typedoc --out docs/api terminus-core/src && typedoc --out docs/api/terminal --tsconfig terminus-terminal/tsconfig.typings.json terminus-terminal/src && typedoc --out docs/api/settings --tsconfig terminus-settings/tsconfig.typings.json terminus-settings/src",
E
Eugene Pankov 已提交
133
    "lint": "eslint --ext ts */src",
134
    "postinstall": "node ./scripts/install-deps.js"
E
wip  
Eugene Pankov 已提交
135
  },
E
Eugene Pankov 已提交
136 137
  "repository": "eugeny/terminus",
  "dependencies": {
138
    "eslint-plugin-import": "^2.18.2"
E
Eugene Pankov 已提交
139
  }
E
.  
Eugene Pankov 已提交
140
}