{ "name": "symphony", "productName": "Symphony", "version": "20.0.0", "clientVersion": "2.0.1", "buildNumber": "0", "searchAPIVersion": "1.55.3", "sfeVersion": "0", "sfeClientType": "1.5", "description": "Symphony desktop app (Foundation ODP)", "author": "Symphony OSS ", "main": "lib/src/app/init.js", "types": "lib/src/app/init.d.ts", "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", "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", "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", "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": [ "!.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": [ "**/*", "!.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", "to": "cloud9/shell", "filter": [ "**/*" ] } ] }, "linux": { "category": "Network;InstantMessaging;Chat", "desktop": { "StartupWMClass": "Symphony" }, "target": [ "deb", "rpm" ], "icon": "images/linux" } }, "repository": { "type": "git", "url": "git+https://github.com/SymphonyOSS/SymphonyElectron.git" }, "keywords": [ "Symphony", "start" ], "license": "Apache-2.0", "bugs": { "url": "https://support.symphony.com" }, "devDependencies": { "@types/cheerio": "^0.22.22", "@types/enzyme": "^3.10.7", "@types/fs-extra": "^8.1.1", "@types/jest": "23.3.12", "@types/node": "^12.12.43", "@types/react": "16.8.3", "@types/react-dom": "16.0.9", "@types/rimraf": "^3.0.0", "browserify": "16.5.1", "builder-util-runtime": "^9.0.3", "cross-env": "5.2.0", "del": "3.0.0", "electron": "^20.1.4", "electron-builder": "23.0.9", "electron-builder-squirrel-windows": "20.38.3", "electron-icon-maker": "0.0.4", "electron-osx-sign": "^0.4.16", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.10.0", "enzyme-to-json": "^3.3.5", "gulp": "4.0.0", "gulp-less": "4.0.1", "gulp-sourcemaps": "2.6.4", "gulp-typescript": "5.0.1", "husky": "^4.3.8", "jest": "25.2.4", "jest-html-reporter": "3.0.0", "js-yaml": "^4.1.0", "less": "3.8.1", "ncp": "2.0.0", "node-abi": "^3.8.0", "npm-run-all": "4.1.5", "prettier": "2.2.1", "pretty-quick": "^3.1.0", "run-script-os": "^1.1.6", "ts-jest": "25.3.0", "tslint": "5.11.0", "tslint-config-prettier": "^1.18.0", "typescript": "3.9.7" }, "dependencies": { "@types/lazy-brush": "^1.0.0", "archiver": "4.0.2", "async.map": "0.5.2", "classnames": "2.2.6", "electron-dl": "3.0.0", "electron-fetch": "1.4.0", "electron-log": "4.0.7", "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", "ref-napi": "^3.0.3", "rimraf": "^3.0.2", "save-svg-as-png": "^1.4.17", "shell-path": "^3.0.0" }, "optionalDependencies": { "@symphony/symphony-c9-shell": "3.14.99-37", "screen-share-indicator-frame": "git+https://github.com/symphonyoss/ScreenShareIndicatorFrame.git#v1.4.13", "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" ] }, "husky": { "hooks": { "pre-commit": "pretty-quick --staged && npm run lint" } } }