This commit is contained in:
crusader 2018-09-28 14:28:29 +09:00
parent ac59d35c26
commit 316b2d033d
3 changed files with 33 additions and 41 deletions

Binary file not shown.

View File

@ -3,35 +3,41 @@
"productName": "overFlow Network Scanner",
"copyright": "Copyright © 2016 LOAFLE",
"directories": {
"buildResources": "electron/"
"output": "./build/package"
},
"files": [
"**/*",
"!*.ts",
"!*.code-workspace",
"!@overflow/",
"!build/",
"!config/",
"!e2e/",
"!src/",
"!.editorconfig",
"!.gitignore",
"!angular.json",
"!karma.conf.js",
"!LICENSE.md",
"!package.json",
"!package-lock.json",
"!README.md",
"!tsconfig.json",
"!tslint.json",
"!webpack.js",
"!yarn.lock"
{
"filter": [
"!*.ts",
"!*.code-workspace",
"!@overflow/",
"!build/",
"!config/",
"!e2e/",
"!src/",
"!.editorconfig",
"!.gitignore",
"!angular.json",
"!karma.conf.js",
"!LICENSE.md",
"!package.json",
"!package-lock.json",
"!README.md",
"!tsconfig.json",
"!tslint.json",
"!webpack.js",
"!yarn.lock"
],
"from": "./build/dist",
"to": "."
},
"packages.json"
],
"asar": true,
"compression": "normal",
"npmRebuild": false,
"npmSkipBuildFromSource": false,
"artifactName": "${productName}[${env.WAVES_CONFIGURATION}]-${version}-${os}.${ext}",
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
"linux": {
"target": [
{
@ -40,13 +46,6 @@
"x64",
"ia32"
]
},
{
"target": "rpm",
"arch": [
"x64",
"ia32"
]
}
],
"executableName": "overFlow-Network-Scanner",
@ -55,9 +54,8 @@
"category": "Utility",
"extraFiles": [
{
"from": "build/nrfjprog/unpacked/nrfjprog",
"to": ".",
"filter": "*.so*"
"from": "config/build/linux/bin/probe-${os}-${arch}",
"to": "./bin"
}
]
},
@ -74,13 +72,6 @@
"afterInstall": "config/build/linux/after-install.tpl",
"afterRemove": "config/build/linux/after-remove.tpl"
},
"rpm": {
"depends": [
"libpcap"
],
"afterInstall": "config/build/linux/after-install.tpl",
"afterRemove": "config/build/linux/after-remove.tpl"
},
"mac": {
"category": "public.app-category.utilities",
"artifactName": "${productName}-${version}-${arch}.${ext}",

View File

@ -6,13 +6,14 @@
"email": "rnd@loafle.com",
"url": "https://www.loafle.com"
},
"homepage": "https://www.loafle.com",
"scripts": {
"postinstall": "yarn electron:builder:install-app-deps",
"ng": "ng",
"start": "yarn start:electron:hmr",
"start:hmr": "ng serve --configuration hmr",
"start:electron:hmr": "npm-run-all -p start:hmr wait-on:build:main:dev",
"build": "ng build",
"build": "cross-env NODE_ENV=production npm-run-all -s build:renderer:prod build:main:prod",
"build:renderer:dev": "cross-env NODE_ENV=development ng build --aot",
"build:renderer:prod": "cross-env NODE_ENV=production ng build --prod",
"build:main:dev": "cross-env NODE_ENV=development webpack --config config/webpack.config.main.js --progress --profile",
@ -22,7 +23,7 @@
"e2e": "ng e2e",
"wait-on:build:main:dev": "wait-on http-get://localhost:4200/ && yarn build:main:dev",
"electron:builder:install-app-deps": "electron-builder install-app-deps",
"electron:builder:linux": "yarn build && electron-builder build --linux"
"electron:builder:linux": "cross-env NODE_ENV=production npm-run-all build && electron-builder build --linux"
},
"private": true,
"dependencies": {