SymphonyElectron/package.json

242 lines
7.9 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",
2022-12-01 04:13:22 -06:00
"version": "22.0.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 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",
"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/*",
"!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/**",
"library/libsymphonysearch.dylib",
"library/indexvalidator.exec",
"library/cryptoLib.dylib",
"library/dictionary",
"library/lz4.exec",
"node_modules/screen-share-indicator-frame/SymphonyScreenShareIndicator"
],
"mac": {
"category": "public.app-category.business",
"icon": "images/icon.icns",
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.plist",
"gatekeeperAssess": true,
"hardenedRuntime": true,
"binaries": [
"library/lz4.exec",
"library/indexvalidator.exec",
"library/libsymphonysearch.dylib",
"library/cryptoLib.dylib",
"library/dictionary"
],
"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/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",
2021-03-03 01:31:14 -06:00
"@types/fs-extra": "^8.1.1",
2019-01-22 09:12:16 -06:00
"@types/jest": "23.3.12",
2021-03-03 01:31:14 -06:00
"@types/node": "^12.12.43",
"@types/react": "16.8.3",
2018-10-29 13:52:58 -05:00
"@types/react-dom": "16.0.9",
"@types/rimraf": "^3.0.0",
"browserify": "16.5.2",
"builder-util-runtime": "^9.0.3",
2022-12-01 07:05:39 -06:00
"cross-env": "5.2.1",
2019-01-22 09:12:16 -06:00
"del": "3.0.0",
"electron": "^22.0.0",
"electron-builder": "23.6.0",
"electron-builder-squirrel-windows": "20.44.0",
"electron-icon-maker": "0.0.5",
feat: upgrade Electron to 9.x (#1008) * add support for electron 8.x * update node-abi to latest * 8.x: fix unit tests * upgrade to electron 9.x Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com> * rebase 9.x against master Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com> * 9.x: fix windows installer files Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com> * rebase 9.x against master and fix issues Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com> * 9.x - update aip file * 9.x -> downgrade to electron 9.0.0-beta.22 Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com> * bump up electron version to 9.0.0 Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com> * upgrade node-abi to support electron 9 * update package-lock.json * 9.x -> enable signing on aip Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com> * 9.x -> update package-lock.json Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com> * 9.x -> fix screen share indicator mac script issue Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com> * SDA-2080 - Target jss class name instead of dev defined * SDA-2080: fix title bar issue with 9.x * SDA-2080 - Make text notification black for 1.5 and update style template * 9.x: add electron-osx-sign to fix 9.x build issues Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com> * SDA-2091 - Only pass required data via IPC * SDA-2092 - prevent notifications from opening in fullscreen state in MacOS * remove post build script and upgrade electron-builder to fix os x depth first signing issues Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com> Co-authored-by: Kiran Niranjan <kiran.niranjan@symphony.com>
2020-06-01 07:38:01 -05:00
"electron-osx-sign": "^0.4.16",
"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": "4.0.1",
"gulp-sourcemaps": "2.6.5",
"gulp-typescript": "5.0.1",
2021-01-29 00:11:05 -06:00
"husky": "^4.3.8",
"jest": "25.2.4",
"jest-html-reporter": "3.7.0",
"js-yaml": "^4.1.0",
2022-12-02 00:53:52 -06:00
"less": "3.13.1",
"ncp": "2.0.0",
"node-abi": "^3.8.0",
"npm-run-all": "4.1.5",
2021-01-29 00:06:48 -06:00
"prettier": "2.2.1",
2021-01-29 00:11:05 -06:00
"pretty-quick": "^3.1.0",
"run-script-os": "^1.1.6",
"ts-jest": "25.3.0",
2018-10-05 07:04:19 -05:00
"tslint": "5.11.0",
2021-01-29 00:11:05 -06:00
"tslint-config-prettier": "^1.18.0",
"typescript": "3.9.10"
2016-11-07 14:31:39 -06:00
},
"dependencies": {
"@types/lazy-brush": "^1.0.0",
"archiver": "4.0.2",
"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": "^5.0.1",
"ffi-napi": "^4.0.3",
"filesize": "6.1.0",
"lazy-brush": "^1.0.1",
"react": "16.13.0",
"react-dom": "16.13.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": {
"@symphony/symphony-c9-shell": "3.14.99-37",
"screen-share-indicator-frame": "git+https://github.com/symphonyoss/ScreenShareIndicatorFrame.git#v1.4.13",
2021-10-25 06:00:29 -05:00
"screen-snippet": "git+https://github.com/symphonyoss/ScreenSnippet2.git#9.2.2",
"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
}
}