mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -06:00
0d04ac03e2
Electron framework v3.0.0-beta.8 fixes remote object count issue due to which we had to turn on sandboxing which lead to spell checker and right click actions not working.
140 lines
4.5 KiB
JSON
140 lines
4.5 KiB
JSON
{
|
|
"name": "Symphony",
|
|
"productName": "Symphony",
|
|
"version": "3.1.0",
|
|
"buildNumber": "0",
|
|
"description": "Symphony desktop app (Foundation ODP)",
|
|
"author": "Symphony",
|
|
"main": "js/main.js",
|
|
"scripts": {
|
|
"lint": "eslint --ext .js js/",
|
|
"prebuild": "npm run rebuild && npm run browserify-preload",
|
|
"browserify-preload": "browserify -o js/preload/_preloadMain.js -x electron --insert-global-vars=__filename,__dirname js/preload/preloadMain.js --exclude electron-spellchecker",
|
|
"rebuild": "electron-rebuild -f",
|
|
"dev": "npm run prebuild && cross-env ELECTRON_DEV=true electron .",
|
|
"test": "npm run lint && npm rebuild --build-from-source && cross-env ELECTRON_QA=true jest --config tests/jest_unit.json --runInBand && npm run rebuild",
|
|
"spectron-test": "npm run lint && npm rebuild --build-from-source robotjs && cross-env ELECTRON_QA=true jest --config tests/spectron/jest_spectron.json --runInBand --detectOpenHandles",
|
|
"demo-win": "npm run prebuild && cross-env ELECTRON_DEV=true electron . --url=file:///demo/index.html",
|
|
"demo-mac": "npm run prebuild && cross-env ELECTRON_DEV=true electron . --url=file://$(pwd)/demo/index.html",
|
|
"unpacked-mac": "npm run prebuild && npm run test && build --mac --dir",
|
|
"packed-mac": "sh installer/mac/version_handler.sh && npm run unpacked-mac && packagesbuild -v installer/mac/symphony-mac-packager.pkgproj",
|
|
"unpacked-win": "npm run prebuild && npm run test && build --win --x64 --dir",
|
|
"unpacked-win-x86": "npm run prebuild && npm run test && build --win --ia32 --dir"
|
|
},
|
|
"jest": {
|
|
"collectCoverage": true,
|
|
"transformIgnorePatterns": []
|
|
},
|
|
"jest-html-reporter": {
|
|
"pageTitle": "Symphony Electron Test Result",
|
|
"includeFailureMsg": true,
|
|
"includeConsoleLog": true,
|
|
"theme": "lightTheme",
|
|
"outputPath": "./dist/Jest Test Report.html",
|
|
"sort": "status"
|
|
},
|
|
"build": {
|
|
"asarUnpack": [
|
|
"node_modules/@paulcbetts/cld/build/Release/cld.node"
|
|
],
|
|
"files": [
|
|
"!coverage/*",
|
|
"!installer/*",
|
|
"!tests/*",
|
|
"!node_modules/@paulcbetts/cld/deps/cld${/*}",
|
|
"!node_modules/@paulcbetts/cld/build/deps${/*}",
|
|
"!node_modules/@paulcbetts/spellchecker/vendor${/*}"
|
|
],
|
|
"extraFiles": [
|
|
"config/Symphony.config",
|
|
"library/libsymphonysearch.dylib",
|
|
"library/cryptoLib.dylib",
|
|
"library/lz4.exec"
|
|
],
|
|
"appId": "com.symphony.electron-desktop",
|
|
"mac": {
|
|
"target": "dmg",
|
|
"category": "public.app-category.business"
|
|
},
|
|
"dmg": {
|
|
"contents": [
|
|
{
|
|
"x": 140,
|
|
"y": 184
|
|
},
|
|
{
|
|
"x": 412,
|
|
"y": 184,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
]
|
|
},
|
|
"win": {
|
|
"target": "squirrel"
|
|
}
|
|
},
|
|
"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": {
|
|
"bluebird": "3.5.1",
|
|
"browserify": "16.2.2",
|
|
"chromedriver": "2.40.0",
|
|
"cross-env": "5.2.0",
|
|
"electron": "3.0.0-beta.8",
|
|
"electron-builder": "20.28.1",
|
|
"electron-builder-squirrel-windows": "12.3.0",
|
|
"electron-chromedriver": "2.0.0",
|
|
"electron-packager": "12.1.0",
|
|
"electron-rebuild": "1.7.3",
|
|
"eslint": "5.0.1",
|
|
"eslint-config-airbnb": "14.1.0",
|
|
"eslint-plugin-import": "2.13.0",
|
|
"eslint-plugin-jsx-a11y": "6.0.3",
|
|
"eslint-plugin-react": "7.10.0",
|
|
"glob": "7.1.2",
|
|
"jest": "23.5.0",
|
|
"jest-html-reporter": "2.4.2",
|
|
"ncp": "2.0.0",
|
|
"robotjs": "0.5.1",
|
|
"selenium-webdriver": "3.6.0",
|
|
"spectron": "3.8.0",
|
|
"wdio-selenium-standalone-service": "0.0.10"
|
|
},
|
|
"dependencies": {
|
|
"@paulcbetts/system-idle-time": "1.0.4",
|
|
"archiver": "2.1.1",
|
|
"async.map": "0.5.2",
|
|
"async.mapseries": "0.5.2",
|
|
"auto-launch": "5.0.5",
|
|
"electron-dl": "1.12.0",
|
|
"electron-log": "2.2.15",
|
|
"electron-spellchecker": "1.1.2",
|
|
"electron-squirrel-startup": "1.0.0",
|
|
"ffi": "git+https://github.com/keerthi16/node-ffi.git#v1.2.8",
|
|
"filesize": "3.6.1",
|
|
"keymirror": "0.1.1",
|
|
"lodash.difference": "4.5.0",
|
|
"lodash.isequal": "4.5.0",
|
|
"lodash.omit": "4.5.0",
|
|
"lodash.pick": "4.4.0",
|
|
"ref": "1.3.5",
|
|
"shell-path": "2.1.0",
|
|
"winreg": "1.2.4"
|
|
},
|
|
"optionalDependencies": {
|
|
"screen-snippet": "git+https://github.com/symphonyoss/ScreenSnippet.git#v1.0.2",
|
|
"swift-search": "2.0.1-r53"
|
|
}
|
|
}
|