94 lines
3.0 KiB
JSON
94 lines
3.0 KiB
JSON
{
|
|
"name": "tabs",
|
|
"version": "1.2.11",
|
|
"description": "Persistent and separate browser tabs in one window.",
|
|
"author": {
|
|
"name": "Alice Gaudon",
|
|
"email": "alice@gaudon.pro"
|
|
},
|
|
"homepage": "https://eternae.ink/ashpie/tabs",
|
|
"license": "GPL-3.0-only",
|
|
"main": "build/main.js",
|
|
"scripts": {
|
|
"clean": "(! test -d build || rm -r build) && (! test -d resources || rm -r resources)",
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
"compile": "yarn compile-common && webpack --mode production",
|
|
"compile-dev": "yarn compile-common && webpack --mode development",
|
|
"compile-common": "yarn clean && tsc -p tsconfig.backend.json && tsc -p tsconfig.frontend.json && rm -r resources/js/src && mv resources/js/frontend/ts/* resources/js/ && rm -r resources/js/frontend",
|
|
"start": "yarn compile && electron .",
|
|
"dev": "yarn compile-dev && concurrently -k -n \"Electron,Webpack,TSC-Frontend\" -p \"[{name}]\" -c \"green,yellow\" \"electron . --dev\" \"webpack --mode development --watch\" \"tsc -p tsconfig.frontend.json --watch\"",
|
|
"build": "yarn compile && electron-builder -wl",
|
|
"release": "yarn lint && yarn compile && GH_TOKEN=$(cat GH_TOKEN) electron-builder -wlp always"
|
|
},
|
|
"dependencies": {
|
|
"appdata-path": "^1.0.0",
|
|
"ejs": "^3.0.1",
|
|
"electron-updater": "^4.2.4",
|
|
"esm": "^3.2.25",
|
|
"single-instance": "^0.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.9.6",
|
|
"@babel/preset-env": "^7.9.6",
|
|
"@fortawesome/fontawesome-free": "^5.13.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.3.0",
|
|
"@typescript-eslint/parser": "^4.3.0",
|
|
"babel-loader": "^8.1.0",
|
|
"concurrently": "^6.0.0",
|
|
"copy-webpack-plugin": "^8.0.0",
|
|
"css-loader": "^5.0.0",
|
|
"electron": "^12.0.0",
|
|
"electron-builder": "^22.4.0",
|
|
"eslint": "^7.10.0",
|
|
"file-loader": "^6.0.0",
|
|
"imagemin": "^7.0.1",
|
|
"imagemin-gifsicle": "^7.0.0",
|
|
"imagemin-mozjpeg": "^9.0.0",
|
|
"imagemin-pngquant": "^9.0.0",
|
|
"imagemin-svgo": "^9.0.0",
|
|
"img-loader": "^3.0.1",
|
|
"mini-css-extract-plugin": "^1.2.0",
|
|
"sass": "^1.32.12",
|
|
"sass-loader": "^11.0.0",
|
|
"ts-loader": "^8.0.0",
|
|
"typescript": "^4.0.2",
|
|
"webpack": "^5.2.0",
|
|
"webpack-cli": "^4.1.0"
|
|
},
|
|
"build": {
|
|
"appId": "tabs-app",
|
|
"files": [
|
|
"resources/**/*",
|
|
"build/**/*"
|
|
],
|
|
"publish": [
|
|
{
|
|
"provider": "generic",
|
|
"url": "https://update.eternae.ink/ashpie/tabs"
|
|
}
|
|
],
|
|
"linux": {
|
|
"target": "AppImage",
|
|
"icon": "resources/images/logo.png",
|
|
"category": "Utility",
|
|
"executableName": "tabs",
|
|
"desktop": {
|
|
"StartupWMClass": "Tabs",
|
|
"MimeType": "x-scheme-handler/tabs"
|
|
}
|
|
},
|
|
"win": {
|
|
"target": "nsis",
|
|
"icon": "resources/images/logo.png",
|
|
"publisherName": "Alice Gaudon",
|
|
"verifyUpdateCodeSignature": "false"
|
|
},
|
|
"mac": {
|
|
"target": "default",
|
|
"icon": "resources/images/logo.png",
|
|
"category": "public.app-category.utilities"
|
|
},
|
|
"electronVersion": "12.0.4"
|
|
}
|
|
}
|