SymphonyElectron/package.json
2020-03-31 10:44:46 +05:30

181 lines
6.3 KiB
JSON

{
"name": "symphony",
"productName": "Symphony",
"version": "8.0.0",
"clientVersion": "2.0.1",
"buildNumber": "0",
"searchAPIVersion": "1.55.3",
"sfeVersion": "0",
"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",
"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",
"unpacked-win-x86": "npm run prebuild && npm run test && node_modules\\.bin\\electron-builder build --win --ia32 --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${/*}"
],
"extraFiles": [
"config/Symphony.config",
"config/titleBarStyles.css",
"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",
"installer/mac/SymphonySettingsPlugin.bundle/Contents/MacOS/SymphonySettingsPlugin"
]
},
"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/enzyme": "3.9.0",
"@types/ffi-napi": "2.4.1",
"@types/jest": "23.3.12",
"@types/node": "11.13.22",
"@types/react": "16.8.3",
"@types/react-dom": "16.0.9",
"@types/ref-napi": "1.4.0",
"ava": "2.4.0",
"browserify": "16.2.3",
"cross-env": "5.2.0",
"del": "3.0.0",
"electron": "8.0.3",
"electron-builder": "21.2.0",
"electron-builder-squirrel-windows": "20.38.3",
"electron-icon-maker": "0.0.4",
"electron-rebuild": "1.8.2",
"enzyme": "3.9.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",
"jest": "23.6.0",
"jest-html-reporter": "2.4.2",
"less": "3.8.1",
"ncp": "2.0.0",
"node-abi": "^2.15.0",
"npm-run-all": "^4.1.5",
"robotjs": "0.6.0",
"run-script-os": "1.0.7",
"spectron": "10.0.1",
"ts-jest": "23.10.5",
"tslint": "5.11.0",
"typescript": "3.1.1"
},
"dependencies": {
"archiver": "3.1.1",
"async.map": "0.5.2",
"auto-launch": "5.0.5",
"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.0",
"ffi-napi": "2.4.6",
"filesize": "6.1.0",
"react": "16.13.0",
"react-dom": "16.13.0",
"ref-napi": "1.4.3",
"shell-path": "2.1.0",
"systeminformation": "4.23.0"
},
"optionalDependencies": {
"screen-snippet": "git+https://github.com/symphonyoss/ScreenSnippet2.git#v1.0.6",
"screen-share-indicator-frame": "git+https://github.com/symphonyoss/ScreenShareIndicatorFrame.git#v1.4.4",
"swift-search": "2.0.2"
},
"ava": {
"failFast": true,
"files": [
"lib/spectron/**/*.spec.js"
],
"sources": [
"lib/src/**/*.js"
]
}
}