mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-29 02:11:28 -06:00
c99681e53a
1. Spectron tests for notification position 2. Added Spectron
102 lines
3.0 KiB
JSON
102 lines
3.0 KiB
JSON
{
|
|
"name": "Symphony",
|
|
"productName": "Symphony",
|
|
"version": "1.0.1",
|
|
"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",
|
|
"unpacked-mac": "npm run prebuild && npm run test && build --mac --dir",
|
|
"unpacked-win": "npm run prebuild && npm run test && build --win --x64 --dir && npm run rename-exe",
|
|
"unpacked-win-x86": "npm run prebuild && npm run test && build --win --ia32 --dir && npm run rename-exe",
|
|
"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",
|
|
"rebuild": "electron-rebuild -f",
|
|
"test": "npm run lint && jest --verbose --testPathPattern test",
|
|
"lint": "eslint --ext .js js/",
|
|
"rename-exe": "cd dist/win-unpacked && ren Symphony.exe Symphony-Electron.exe"
|
|
},
|
|
"jest": {
|
|
"collectCoverage": true,
|
|
"transformIgnorePatterns": []
|
|
},
|
|
"build": {
|
|
"files": [
|
|
"!coverage/*",
|
|
"!installer/*",
|
|
"!tests/*"
|
|
],
|
|
"extraFiles": "config/Symphony.config",
|
|
"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": {
|
|
"browserify": "^14.1.0",
|
|
"cross-env": "^3.2.4",
|
|
"electron": "1.6.11",
|
|
"electron-builder": "^13.9.0",
|
|
"electron-builder-squirrel-windows": "^12.3.0",
|
|
"electron-packager": "^8.5.2",
|
|
"electron-rebuild": "^1.5.7",
|
|
"eslint": "^3.16.1",
|
|
"eslint-config-airbnb": "^14.1.0",
|
|
"eslint-plugin-import": "^2.2.0",
|
|
"eslint-plugin-jsx-a11y": "^4.0.0",
|
|
"eslint-plugin-react": "^6.10.0",
|
|
"jest": "^19.0.2",
|
|
"chai-roughly": "^1.0.0",
|
|
"chai-as-promised": "^7.0.0",
|
|
"chai": "^4.0.2",
|
|
"spectron": "^3.7.2"
|
|
},
|
|
"dependencies": {
|
|
"@paulcbetts/system-idle-time": "^1.0.4",
|
|
"async": "^2.1.5",
|
|
"auto-launch": "^5.0.1",
|
|
"electron-context-menu": "^0.8.0",
|
|
"electron-squirrel-startup": "^1.0.0",
|
|
"keymirror": "0.1.1",
|
|
"winreg": "^1.2.3",
|
|
"electron-dl": "^1.9.0",
|
|
"filesize": "^3.5.10"
|
|
},
|
|
"optionalDependencies": {
|
|
"screen-snippet": "git+https://github.com/symphonyoss/ScreenSnippet.git#v1.0.1"
|
|
}
|
|
}
|