package.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. {
  2. "devDependencies": {
  3. "@fortawesome/fontawesome-free": "^5.11.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.5",
  8. "@types/webpack-env": "1.13.9",
  9. "@typescript-eslint/eslint-plugin": "^2.3.1",
  10. "@typescript-eslint/parser": "^2.3.1",
  11. "apply-loader": "2.0.0",
  12. "awesome-typescript-loader": "^5.0.0",
  13. "core-js": "^3.2.0",
  14. "cross-env": "6.0.0",
  15. "css-loader": "3.2.0",
  16. "electron": "^6.0.9",
  17. "electron-builder": "^21.2.0",
  18. "electron-installer-snap": "^4.0.0",
  19. "electron-notarize": "^0.1.1",
  20. "electron-rebuild": "^1.8.5",
  21. "eslint": "^6.4.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",
  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",
  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",
  43. "svg-inline-loader": "^0.8.0",
  44. "to-string-loader": "1.1.5",
  45. "tslib": "^1.10.0",
  46. "typedoc": "^0.15.0",
  47. "typescript": "^3.6.3",
  48. "url-loader": "^2.1.0",
  49. "val-loader": "1.1.1",
  50. "webpack": "^4.40.2",
  51. "webpack-cli": "^3.3.9",
  52. "yaml-loader": "0.5.0"
  53. },
  54. "resolutions": {
  55. "*/node-abi": "^2.8.0"
  56. },
  57. "build": {
  58. "appId": "org.terminus",
  59. "productName": "Terminus",
  60. "compression": "normal",
  61. "afterSign": "./build/mac/afterSignHook.js",
  62. "files": [
  63. "**/*",
  64. "dist"
  65. ],
  66. "extraResources": [
  67. "builtin-plugins",
  68. "extras"
  69. ],
  70. "win": {
  71. "icon": "./build/windows/icon.ico",
  72. "artifactName": "terminus-${version}-setup.exe",
  73. "rfc3161TimeStampServer": "http://sha256timestamp.ws.symantec.com/sha256/timestamp"
  74. },
  75. "nsis": {
  76. "oneClick": false,
  77. "artifactName": "terminus-${version}-setup.${ext}",
  78. "installerIcon": "./build/windows/icon.ico"
  79. },
  80. "publish": [
  81. {
  82. "provider": "github"
  83. }
  84. ],
  85. "portable": {
  86. "artifactName": "terminus-${version}-portable.exe"
  87. },
  88. "mac": {
  89. "category": "public.app-category.video",
  90. "icon": "./build/mac/icon.icns",
  91. "artifactName": "terminus-${version}-macos.${ext}",
  92. "hardenedRuntime": true,
  93. "entitlements": "./build/mac/entitlements.plist",
  94. "entitlementsInherit": "./build/mac/entitlements.plist",
  95. "extendInfo": {
  96. "NSRequiresAquaSystemAppearance": false
  97. }
  98. },
  99. "pkg": {
  100. "artifactName": "terminus-${version}-macos.pkg"
  101. },
  102. "linux": {
  103. "category": "Utilities",
  104. "icon": "./build/icons",
  105. "artifactName": "terminus-${version}-linux.${ext}"
  106. },
  107. "deb": {
  108. "depends": [
  109. "gconf2",
  110. "gconf-service",
  111. "libnotify4",
  112. "libsecret-1-0",
  113. "libappindicator1",
  114. "libxtst6",
  115. "libnss3"
  116. ],
  117. "afterInstall": "build/linux/after-install.tpl"
  118. },
  119. "rpm": {
  120. "depends": [
  121. "screen",
  122. "gnome-python2-gnomekeyring"
  123. ]
  124. }
  125. },
  126. "scripts": {
  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",
  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",
  129. "watch": "cross-env TERMINUS_DEV=1 webpack --progress --color --watch",
  130. "start": "cross-env TERMINUS_DEV=1 electron app --debug",
  131. "prod": "cross-env TERMINUS_DEV=1 electron app",
  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",
  133. "lint": "eslint --ext ts */src",
  134. "postinstall": "node ./scripts/install-deps.js"
  135. },
  136. "repository": "eugeny/terminus",
  137. "dependencies": {
  138. "eslint-plugin-import": "^2.18.2"
  139. }
  140. }