package.json 4.8 KB

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