mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -06:00
199 lines
6.6 KiB
JSON
199 lines
6.6 KiB
JSON
{
|
|
"name": "symphony",
|
|
"productName": "Symphony",
|
|
"version": "9.3.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 <help@finos.org>",
|
|
"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",
|
|
"compile:spec": "tsc -p tsconfig.spec.json",
|
|
"compile:robot": "npm rebuild --build-from-source robotjs",
|
|
"dev": "npm run prebuild && cross-env ELECTRON_DEV=true electron .",
|
|
"demo": "run-os",
|
|
"demo:win32": "npm run prebuild && cross-env ELECTRON_DEV=true electron . --url=file:///src/demo/index.html",
|
|
"demo:darwin": "npm run prebuild && 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 rebuild browserify",
|
|
"rebuild": "electron-rebuild -f",
|
|
"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",
|
|
"test:spectron": "npm run copy && run-s lint compile browserify && cross-env ELECTRON_QA=true npx ava --verbose --serial",
|
|
"copy": "run-os",
|
|
"copy:darwin": "ncp config 'node_modules/electron/dist/Electron.app/Contents/config'",
|
|
"copy:win32": "ncp config node_modules\\electron\\dist\\config",
|
|
"unpacked-mac": "npm run prebuild && npm run test && ./node_modules/.bin/electron-builder build --mac --dir",
|
|
"unpacked-win": "npm run prebuild && npm run test && node_modules\\.bin\\electron-builder build --win --x64 --dir"
|
|
},
|
|
"build": {
|
|
"appId": "com.symphony.electron-desktop",
|
|
"asar": true,
|
|
"asarUnpack": "**/*.node",
|
|
"files": [
|
|
"!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"
|
|
]
|
|
},
|
|
"win": {
|
|
"icon": "images/icon.ico",
|
|
"target": [
|
|
"squirrel"
|
|
]
|
|
},
|
|
"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/ffi-napi": "2.4.1",
|
|
"@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/ref-napi": "1.4.0",
|
|
"@types/rimraf": "^3.0.0",
|
|
"ava": "2.4.0",
|
|
"browserify": "16.5.1",
|
|
"cross-env": "5.2.0",
|
|
"del": "3.0.0",
|
|
"electron": "9.4.1",
|
|
"electron-builder": "22.7.0",
|
|
"electron-builder-squirrel-windows": "20.38.3",
|
|
"electron-icon-maker": "0.0.4",
|
|
"electron-osx-sign": "^0.4.16",
|
|
"electron-rebuild": "1.10.1",
|
|
"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",
|
|
"less": "3.8.1",
|
|
"ncp": "2.0.0",
|
|
"node-abi": "^2.17.0",
|
|
"npm-run-all": "4.1.5",
|
|
"prettier": "2.2.1",
|
|
"pretty-quick": "^3.1.0",
|
|
"robotjs": "0.6.0",
|
|
"run-script-os": "1.0.7",
|
|
"spectron": "^11.0.0",
|
|
"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": "3.1.1",
|
|
"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-spellchecker": "git+https://github.com/symphonyoss/electron-spellchecker.git#v2.3.2",
|
|
"ffi-napi": "3.0.0",
|
|
"filesize": "6.1.0",
|
|
"lazy-brush": "^1.0.1",
|
|
"react": "16.13.0",
|
|
"react-dom": "16.13.0",
|
|
"ref-napi": "1.4.3",
|
|
"rimraf": "^3.0.2",
|
|
"save-svg-as-png": "^1.4.17",
|
|
"shell-path": "2.1.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"auto-update": "file:auto_update",
|
|
"screen-snippet": "git+https://github.com/symphonyoss/ScreenSnippet2.git#v2.2.0",
|
|
"screen-share-indicator-frame": "git+https://github.com/symphonyoss/ScreenShareIndicatorFrame.git#v1.4.10",
|
|
"swift-search": "2.0.3"
|
|
},
|
|
"ava": {
|
|
"failFast": true,
|
|
"files": [
|
|
"lib/spectron/**/*.spec.js"
|
|
],
|
|
"ignoredByWatcher": [
|
|
"!lib/src/**/*.js"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "pretty-quick --staged && npm run lint"
|
|
}
|
|
}
|
|
}
|