SymphonyElectron/package.json
2018-04-11 18:48:39 +05:30

136 lines
4.5 KiB
JSON

{
"name": "Symphony",
"productName": "Symphony",
"version": "2.4.0",
"buildNumber": "124",
"description": "Symphony desktop app (Foundation ODP)",
"author": "Symphony",
"main": "js/main.js",
"scripts": {
"dev": "npm run prebuild && cross-env ELECTRON_DEV=true electron .",
"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",
"search-win": "npm run prebuild && cross-env ELECTRON_DEV=true electron . --url=file:///demo/search.html",
"search-mac": "npm run prebuild && cross-env ELECTRON_DEV=true electron . --url=file://$(pwd)/demo/search.html",
"unpacked-mac": "npm run prebuild && npm run test && build --mac --dir",
"packed-mac": "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",
"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",
"test": "npm run lint && npm rebuild --build-from-source && cross-env ELECTRON_QA=true && jest --verbose --testPathPattern test && npm run rebuild",
"spectron-test": "npm rebuild --build-from-source && jest --config tests/spectron/jest_spectron.json --runInBand && npm run rebuild",
"lint": "eslint --ext .js js/",
"rename-exe": "cd dist/win-unpacked && ren Symphony.exe Symphony-Electron.exe"
},
"jest": {
"collectCoverage": true,
"transformIgnorePatterns": []
},
"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/indexvalidator.exec",
"library/lz4.exec",
"library/search-launch-agent.sh",
"library/search-launch-daemon.sh"
],
"appId": "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": "14.5.0",
"cross-env": "3.2.4",
"electron": "1.8.4",
"electron-builder": "13.11.1",
"electron-builder-squirrel-windows": "12.3.0",
"electron-chromedriver": "1.8.0",
"electron-packager": "8.7.2",
"electron-rebuild": "1.6.0",
"eslint": "3.19.0",
"eslint-config-airbnb": "14.1.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-jsx-a11y": "4.0.0",
"eslint-plugin-react": "6.10.3",
"glob": "7.1.2",
"jest": "19.0.2",
"ncp": "2.0.0",
"robotjs": "0.4.7",
"spectron": "3.7.2"
},
"dependencies": {
"@paulcbetts/system-idle-time": "1.0.4",
"appdirectory": "0.1.0",
"archiver": "2.1.1",
"async.map": "0.5.2",
"async.mapseries": "0.5.2",
"auto-launch": "5.0.5",
"electron-dl": "1.10.0",
"electron-log": "2.2.13",
"electron-spellchecker": "1.1.2",
"electron-squirrel-startup": "1.0.0",
"ffi": "2.2.0",
"filesize": "3.5.11",
"keymirror": "0.1.1",
"lodash.difference": "4.5.0",
"lodash.isequal": "4.5.0",
"lodash.omit": "4.5.0",
"lodash.pick": "4.4.0",
"mmmagic": "0.5.0",
"parse-domain": "2.0.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.1",
"electron-utils": "git+https://github.com/symphonyoss/electron-utils.git#v1.0.5"
}
}