mirror of
https://github.com/kopia/kopia.git
synced 2026-01-29 08:43:09 -05:00
KOPIA_VERSION will now always be v-prefixed and we will strip the prefix before embedding it in KopiaUI manifest. Also upgraded Node and app NPM dependencies to latest versions.
149 lines
3.2 KiB
JSON
149 lines
3.2 KiB
JSON
{
|
|
"name": "kopia-ui",
|
|
"version": "0.5.0-test1",
|
|
"private": true,
|
|
"repository": "github:kopia/kopia",
|
|
"dependencies": {
|
|
"auto-launch": "^5.0.5",
|
|
"bootstrap": "^4.5.0",
|
|
"electron-first-run": "^3.0.0",
|
|
"electron-is-dev": "^1.2.0",
|
|
"electron-log": "^4.2.2",
|
|
"electron-updater": "^4.3.1",
|
|
"react": "^16.13.1",
|
|
"react-bootstrap": "^1.3.0",
|
|
"react-dom": "^16.13.1",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-scripts": "^3.4.1",
|
|
"uuid": "^7.0.3"
|
|
},
|
|
"author": {
|
|
"email": "kopia-pmc@googlegroups.com",
|
|
"name": "Kopia Authors"
|
|
},
|
|
"build": {
|
|
"productName": "KopiaUI",
|
|
"appId": "io.kopia.ui",
|
|
"publish": [
|
|
{
|
|
"provider": "github",
|
|
"vPrefixedTagName": true
|
|
}
|
|
],
|
|
"files": [
|
|
"build/**/*",
|
|
"node_modules/**/*"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "resources/${os}",
|
|
"to": ".",
|
|
"filter": [
|
|
"**/*"
|
|
]
|
|
}
|
|
],
|
|
"directories": {
|
|
"buildResources": "assets",
|
|
"output": "../dist/kopia-ui"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"perMachine": false
|
|
},
|
|
"snap": {
|
|
"publish": [
|
|
"github"
|
|
]
|
|
},
|
|
"win": {
|
|
"target": [
|
|
"nsis",
|
|
"zip"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "../dist/kopia_windows_amd64",
|
|
"to": "server",
|
|
"filter": [
|
|
"kopia.exe"
|
|
]
|
|
}
|
|
],
|
|
"sign": "./sign.js",
|
|
"signingHashAlgorithms": [
|
|
"sha256"
|
|
]
|
|
},
|
|
"mac": {
|
|
"hardenedRuntime": true,
|
|
"gatekeeperAssess": false,
|
|
"entitlements": "entitlements.mac.plist",
|
|
"entitlementsInherit": "entitlements.mac.plist",
|
|
"category": "public.app-category.utilities",
|
|
"extraResources": [
|
|
{
|
|
"from": "../dist/kopia_darwin_amd64",
|
|
"to": "server",
|
|
"filter": [
|
|
"kopia"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"AppImage",
|
|
"deb",
|
|
"rpm"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "../dist/kopia_linux_amd64",
|
|
"to": "server",
|
|
"filter": [
|
|
"kopia"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"afterSign": "notarize.js"
|
|
},
|
|
"devDependencies": {
|
|
"asar": "^2.1.0",
|
|
"concurrently": "^5.2.0",
|
|
"electron": "^7.3.2",
|
|
"electron-builder": "^22.7.0",
|
|
"electron-notarize": "^0.2.1"
|
|
},
|
|
"homepage": "./",
|
|
"main": "public/electron.js",
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build-html": "react-scripts build",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"start-electron": "electron .",
|
|
"build-electron": "electron-builder",
|
|
"build-electron-linux": "electron-builder -l",
|
|
"build-electron-dir": "electron-builder --dir",
|
|
"start-electron-prebuilt": "ELECTRON_IS_DEV=0 electron .",
|
|
"dev": "concurrently \"react-scripts start\" \"sleep 3s; electron .\""
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "react-app"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|