|
|
|
@ -15,15 +15,9 @@
|
|
|
|
|
"main": "main.js",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"postinstall": "electron-builder install-app-deps && rimraf node_modules/dtrace-provider",
|
|
|
|
|
"start": "electron .",
|
|
|
|
|
"start-multi": "cross-env NODE_APP_INSTANCE=1 electron .",
|
|
|
|
|
"start-multi2": "cross-env NODE_APP_INSTANCE=2 electron .",
|
|
|
|
|
"start-prod": "cross-env NODE_ENV=production NODE_APP_INSTANCE=devprod electron .",
|
|
|
|
|
"start-prod-multi": "cross-env NODE_ENV=production NODE_APP_INSTANCE=devprod1 electron .",
|
|
|
|
|
"start-prod-multi-2": "cross-env NODE_ENV=production NODE_APP_INSTANCE=devprod2 electron .",
|
|
|
|
|
"start-swarm-test": "cross-env NODE_ENV=swarm-testing NODE_APP_INSTANCE=1 electron .",
|
|
|
|
|
"start-swarm-test-2": "cross-env NODE_ENV=swarm-testing NODE_APP_INSTANCE=2 electron .",
|
|
|
|
|
"start-swarm-test-3": "cross-env NODE_ENV=swarm-testing NODE_APP_INSTANCE=3 electron .",
|
|
|
|
|
"start": "cross-env NODE_APP_INSTANCE=$MULTI electron .",
|
|
|
|
|
"start-prod": "cross-env NODE_ENV=production NODE_APP_INSTANCE=devprod$MULTI electron .",
|
|
|
|
|
"start-swarm-test": "cross-env NODE_ENV=production NODE_APP_INSTANCE=$MULTI electron .",
|
|
|
|
|
"grunt": "grunt",
|
|
|
|
|
"icon-gen": "electron-icon-maker --input=images/icon_1024.png --output=./build",
|
|
|
|
|
"generate": "yarn icon-gen && yarn grunt",
|
|
|
|
@ -38,7 +32,6 @@
|
|
|
|
|
"test-loki-view": "NODE_ENV=test-loki yarn run start",
|
|
|
|
|
"test-electron": "yarn grunt test",
|
|
|
|
|
"test-integration": "ELECTRON_DISABLE_SANDBOX=1 mocha --exit --timeout 10000 integration_test/integration_test.js",
|
|
|
|
|
"test-integration-parts": "ELECTRON_DISABLE_SANDBOX=1 mocha --exit --timeout 10000 integration_test/integration_test.js --grep 'registration' && ELECTRON_DISABLE_SANDBOX=1 mocha --exit --timeout 10000 integration_test/integration_test.js --grep 'openGroup' && ELECTRON_DISABLE_SANDBOX=1 mocha --exit --timeout 10000 integration_test/integration_test.js --grep 'addFriends' && ELECTRON_DISABLE_SANDBOX=1 mocha --exit --timeout 10000 integration_test/integration_test.js --grep 'linkDevice' && ELECTRON_DISABLE_SANDBOX=1 mocha --exit --timeout 10000 integration_test/integration_test.js --grep 'closedGroup'",
|
|
|
|
|
"test-node": "mocha --recursive --exit test/app test/modules ts/test libloki/test/node",
|
|
|
|
|
"eslint": "eslint --cache .",
|
|
|
|
|
"eslint-fix": "eslint --fix .",
|
|
|
|
|