chore(build): split binaries by OS
This commit is contained in:
parent
cb4266d80f
commit
559f05845b
62
package.json
62
package.json
|
@ -48,7 +48,7 @@
|
|||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "yarn lint:precommit && yarn flow:precommit",
|
||||
"pre-push": "yarn flow:generate-coverage-badge && git add ./public/flow-badge.svg ./public/flow-coverage-badge.svg && git commit -m \"type(flow): update flowtype badge\" --no-verify"
|
||||
"pre-push": "yarn flow:generate-coverage-badge && git add ./public/flow-badge.svg ./public/flow-coverage-badge.svg && git commit -m \"type(flow): update flowtype badge\" --no-verify --allow-empty"
|
||||
}
|
||||
},
|
||||
"build": {
|
||||
|
@ -69,21 +69,6 @@
|
|||
"public/",
|
||||
"build/"
|
||||
],
|
||||
"extraFiles": [
|
||||
{
|
||||
"from": "bin/",
|
||||
"to": "resources/bin",
|
||||
"filter": [
|
||||
"**/*"
|
||||
]
|
||||
}
|
||||
],
|
||||
"linux": {
|
||||
"icon": "./build/icons/png",
|
||||
"target": [
|
||||
"deb"
|
||||
]
|
||||
},
|
||||
"deb": {
|
||||
"depends": [
|
||||
"gconf2",
|
||||
|
@ -94,17 +79,58 @@
|
|||
"libnss3"
|
||||
]
|
||||
},
|
||||
"linux": {
|
||||
"icon": "./build/icons/png",
|
||||
"target": [
|
||||
"deb"
|
||||
],
|
||||
"extraFiles": [
|
||||
{
|
||||
"from": "bin/linux",
|
||||
"to": "resources/bin/linux",
|
||||
"filter": [
|
||||
"**/*"
|
||||
]
|
||||
},
|
||||
{
|
||||
"from": "bin/zcash-fetch-params",
|
||||
"to": "resources/bin/zcash-fetch-params"
|
||||
}
|
||||
]
|
||||
},
|
||||
"mac": {
|
||||
"category": "public.app-category.productivity",
|
||||
"type": "distribution",
|
||||
"target": [
|
||||
"dmg"
|
||||
],
|
||||
"icon": "./build/icons/mac/icon.icns"
|
||||
"icon": "./build/icons/mac/icon.icns",
|
||||
"extraFiles": [
|
||||
{
|
||||
"from": "bin/mac",
|
||||
"to": "resources/bin/mac",
|
||||
"filter": [
|
||||
"**/*"
|
||||
]
|
||||
},
|
||||
{
|
||||
"from": "bin/zcash-fetch-params",
|
||||
"to": "resources/bin/zcash-fetch-params"
|
||||
}
|
||||
]
|
||||
},
|
||||
"win": {
|
||||
"target": "nsis",
|
||||
"icon": "./build/icons/win/icon.ico"
|
||||
"icon": "./build/icons/win/icon.ico",
|
||||
"extraFiles": [
|
||||
{
|
||||
"from": "bin/win",
|
||||
"to": "resources/bin/win",
|
||||
"filter": [
|
||||
"**/*"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"protocols": {
|
||||
"name": "zcash",
|
||||
|
|
Loading…
Reference in New Issue