SymphonyElectron/package.json

254 lines
8.2 KiB
JSON
Raw Normal View History

2016-09-26 21:39:43 -05:00
{
2019-05-22 01:41:08 -05:00
"name": "symphony",
"productName": "Symphony",
2023-07-27 03:04:58 -05:00
"version": "23.11.0",
2019-07-31 07:00:27 -05:00
"clientVersion": "2.0.1",
2019-08-29 00:56:54 -05:00
"buildNumber": "0",
"searchAPIVersion": "1.55.3",
2019-11-06 07:49:23 -06:00
"sfeVersion": "0",
2020-11-30 05:14:09 -06:00
"sfeClientType": "1.5",
"description": "Symphony desktop app (Foundation ODP)",
"author": "Symphony OSS <help@finos.org>",
"main": "lib/src/app/init.js",
"types": "lib/src/app/init.d.ts",
2016-09-26 21:39:43 -05:00
"scripts": {
"browserify": "run-s browserify-*",
"browserify-preload": "browserify -o lib/src/renderer/_preload-main.js -x electron --insert-global-vars=__filename,__dirname lib/src/renderer/preload-main.js",
"browserify-preload-component": "browserify -o lib/src/renderer/_preload-component.js -x electron --insert-global-vars=__filename,__dirname -t imgurify lib/src/renderer/preload-component.js",
"compile": "run-s lint compile:*",
"compile:project": "gulp build",
"dev": "gulp build && npm run browserify && cross-env ELECTRON_DEV=true electron .",
"demo": "run-os",
2022-05-11 15:58:40 -05:00
"demo:win32": "gulp build && npm run browserify && cross-env ELECTRON_DEV=true electron . --url=file:///src/demo/index.html",
"demo:darwin": "gulp build && npm run browserify && cross-env ELECTRON_DEV=true electron . --url=file://$(pwd)/src/demo/index.html",
2021-01-29 02:09:26 -06:00
"format": "pretty-quick",
"lint": "run-s lint:*",
"lint:project": "tslint --project tsconfig.json",
"lint:spec": "tslint --project tsconfig.spec.json",
"packed-linux": "npm run prebuild && npm run test && ./node_modules/.bin/electron-builder build --linux",
2019-06-03 03:13:36 -05:00
"packed-mac": "npm run unpacked-mac && packagesbuild -v installer/mac/symphony-mac-packager.pkgproj",
"prebuild": "run-s compile browserify",
"postinstall": "electron-builder install-app-deps",
"start": "run-s compile browserify && cross-env ELECTRON_DEV=true electron .",
"test": "run-s lint test:unit",
"test:unit": "cross-env ELECTRON_QA=true jest --config jest-config.json --runInBand --detectOpenHandles",
"unpacked-mac": "npm run prebuild && npm run test && ./node_modules/.bin/electron-builder build --mac",
"unpacked-win": "npm run prebuild && npm run test && node_modules\\.bin\\electron-builder build --win --x64"
},
"build": {
"appId": "com.symphony.electron-desktop",
"compression": "maximum",
"artifactName": "${productName}-${version}-${os}.${ext}",
"asar": true,
"asarUnpack": "**/*.node",
"nsis": {
"perMachine": false,
"oneClick": true,
"allowToChangeInstallationDirectory": false,
"allowElevation": false,
"include": "build/installer.nsh",
"uninstallDisplayName": "${productName}"
},
"files": [
2022-08-11 07:47:23 -05:00
"!.git${/*}",
"!coverage/*",
"!installer/*",
"!dist/*",
"!src/*",
"!tests/*",
"!node_modules/@nornagon/cld/deps/cld${/*}",
"!node_modules/@nornagon/cld/build/deps${/*}",
"!node_modules/@nornagon/spellchecker/vendor${/*}",
"!**/*.map"
],
"extraFiles": [
"config/Symphony.config",
"config/titleBarStyles.css",
"config/InstallVariant.info",
"dictionaries/**",
"node_modules/screen-share-indicator-frame/SymphonyScreenShareIndicator"
],
"mac": {
"category": "public.app-category.business",
"icon": "images/icon.icns",
"entitlements": "entitlements.mac.plist",
"notarize": false,
"entitlementsInherit": "entitlements.mac.plist",
"extendInfo": {
"CFBundleURLTypes": [
{
"CFBundleTypeRole": "Viewer",
"CFBundleURLName": "SymTel",
"CFBundleURLSchemes": [
"tel"
]
}
]
},
"gatekeeperAssess": true,
"hardenedRuntime": true,
"target": [
"dir",
"zip"
]
},
"win": {
"icon": "images/icon.ico",
"target": [
"dir",
"nsis"
],
"files": [
2022-08-11 07:47:23 -05:00
"**/*",
"!.git${/*}",
"!**/installer${/*}",
"!node_modules/@symphony/symphony-c9-shell${/*}",
"!**/node_modules/@nornagon/cld/deps/cld${/*}",
"!**/node_modules/@nornagon/cld/build/deps${/*}",
"!**/node_modules/@nornagon/spellchecker/vendor${/*}",
"!**/*.map",
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}",
"!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
"!**/node_modules/*.d.ts",
"!**/node_modules/.bin",
"!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}",
"!.editorconfig",
"!**/._*",
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}",
"!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}",
"!**/{appveyor.yml,.travis.yml,circle.yml}",
"!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}"
],
"extraFiles": [
{
"from": "node_modules/screen-share-indicator-frame/ScreenShareIndicatorFrame.exe",
"to": "ScreenShareIndicatorFrame.exe"
},
{
"from": "node_modules/screen-snippet/ScreenSnippet.exe",
"to": "ScreenSnippet.exe"
},
{
"from": "node_modules/symphony-native-window-handle-helper/SymphonyNativeWindowHandleHelper.exe",
"to": "SymphonyNativeWindowHandleHelper.exe"
},
{
"from": "node_modules/@symphony/symphony-c9-shell/shell",
2022-08-11 07:47:23 -05:00
"to": "cloud9/shell",
"filter": [
"**/*"
]
}
]
},
"linux": {
"category": "Network;InstantMessaging;Chat",
"desktop": {
"StartupWMClass": "Symphony"
},
"target": [
"deb",
"rpm"
],
"icon": "images/linux"
}
2016-11-07 14:31:39 -06:00
},
2016-09-26 21:39:43 -05:00
"repository": {
"type": "git",
"url": "git+https://github.com/SymphonyOSS/SymphonyElectron.git"
2016-09-26 21:39:43 -05:00
},
"keywords": [
"Symphony",
2016-11-07 14:31:39 -06:00
"start"
2016-09-26 21:39:43 -05:00
],
"license": "Apache-2.0",
2016-09-26 21:39:43 -05:00
"bugs": {
2016-11-07 14:31:39 -06:00
"url": "https://support.symphony.com"
2016-09-26 21:39:43 -05:00
},
"devDependencies": {
"@types/cheerio": "^0.22.22",
"@types/enzyme": "^3.10.7",
"@types/fs-extra": "^9.0.0",
2019-01-22 09:12:16 -06:00
"@types/jest": "23.3.12",
2023-06-15 08:38:47 -05:00
"@types/node": "^18.16.0",
"@types/react": "16.14.34",
"@types/react-dom": "16.9.17",
"@types/rimraf": "^3.0.0",
2023-02-21 08:42:21 -06:00
"browserify": "17.0.0",
"builder-util-runtime": "^9.0.3",
"cross-env": "7.0.3",
2019-01-22 09:12:16 -06:00
"del": "3.0.0",
2023-07-27 09:39:51 -05:00
"electron": "^25.3.2",
2023-05-17 03:03:19 -05:00
"electron-builder": "^24.2.1",
"electron-icon-maker": "0.0.5",
"electron-osx-sign": "^0.6.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.10.0",
"enzyme-to-json": "^3.3.5",
2022-12-01 07:06:15 -06:00
"gulp": "4.0.2",
"gulp-less": "5.0.0",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.3",
"gulp-sourcemaps": "2.6.5",
"gulp-tap": "^2.0.0",
"gulp-template": "^5.0.0",
"gulp-typescript": "5.0.1",
2021-01-29 00:11:05 -06:00
"husky": "^4.3.8",
"imgurify": "^2.0.1",
"jest": "25.2.4",
"jest-html-reporter": "3.7.0",
"js-yaml": "^4.1.0",
"less": "^3.13.1",
"ncp": "2.0.0",
"node-abi": "^3.8.0",
"npm-run-all": "4.1.5",
2023-02-23 08:48:41 -06:00
"prettier": "2.8.4",
2021-01-29 00:11:05 -06:00
"pretty-quick": "^3.1.0",
"run-script-os": "^1.1.6",
"source-map": "^0.7.4",
"ts-jest": "25.3.0",
"tslint": "5.20.1",
2021-01-29 00:11:05 -06:00
"tslint-config-prettier": "^1.18.0",
2023-06-15 08:03:13 -05:00
"typescript": "^4.9.5"
2016-11-07 14:31:39 -06:00
},
"dependencies": {
"@types/lazy-brush": "^1.0.0",
2023-02-21 08:41:45 -06:00
"archiver": "5.3.1",
"async.map": "0.5.2",
"classnames": "2.2.6",
"electron-dl": "3.5.0",
"electron-fetch": "1.9.1",
"electron-log": "4.4.8",
"electron-updater": "^6.1.3",
"filesize": "^10.0.6",
"lazy-brush": "^1.0.1",
2022-12-05 06:08:55 -06:00
"react": "16.14.0",
"react-dom": "16.14.0",
"rimraf": "^3.0.2",
"save-svg-as-png": "^1.4.17",
2022-11-17 07:45:27 -06:00
"shell-path": "^3.0.0",
"win32-api": "^20.1.0"
},
"optionalDependencies": {
2023-07-18 08:01:35 -05:00
"@symphony/symphony-c9-shell": "3.25.0-25.162",
"screen-share-indicator-frame": "git+https://github.com/finos/ScreenShareIndicatorFrame.git#v1.4.13",
"screen-snippet": "git+https://github.com/finos/ScreenSnippet2.git#9.2.2",
"symphony-native-window-handle-helper": "github:finos/SymphonyWindowsHwndHelper#1.0.1",
"winreg": "^1.2.4"
},
"ava": {
"failFast": true,
"files": [
"lib/spectron/**/*.spec.js"
],
"ignoredByWatcher": [
"!lib/src/**/*.js"
]
2021-01-29 00:11:05 -06:00
},
"husky": {
"hooks": {
2021-01-29 01:40:30 -06:00
"pre-commit": "pretty-quick --staged && npm run lint"
2021-01-29 00:11:05 -06:00
}
2016-09-26 21:39:43 -05:00
}
2023-05-17 03:03:19 -05:00
}