package.json 4.8 KB

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