95 lines
3.1 KiB
JSON
95 lines
3.1 KiB
JSON
{
|
|
"name": "tabs",
|
|
"version": "1.3.2",
|
|
"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": "^5.0.1",
|
|
"esm": "^3.2.25",
|
|
"single-instance": "^0.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.9.6",
|
|
"@babel/preset-env": "^7.9.6",
|
|
"@fortawesome/fontawesome-free": "^6.1.0",
|
|
"@types/node": "^16.11.41",
|
|
"@typescript-eslint/eslint-plugin": "^5.15.0",
|
|
"@typescript-eslint/parser": "^5.15.0",
|
|
"babel-loader": "^8.1.0",
|
|
"concurrently": "^7.0.0",
|
|
"copy-webpack-plugin": "^11.0.0",
|
|
"css-loader": "^6.3.0",
|
|
"electron": "^19.0.4",
|
|
"electron-builder": "^23.0.3",
|
|
"eslint": "^8.11.0",
|
|
"image-minimizer-webpack-plugin": "^3.2.3",
|
|
"imagemin": "^8.0.1",
|
|
"imagemin-gifsicle": "^7.0.0",
|
|
"imagemin-mozjpeg": "^10.0.0",
|
|
"imagemin-pngquant": "^9.0.2",
|
|
"imagemin-svgo": "^10.0.1",
|
|
"mini-css-extract-plugin": "^2.1.0",
|
|
"sass": "^1.32.12",
|
|
"sass-loader": "^13.0.0",
|
|
"svgo": "^2.3.1",
|
|
"ts-loader": "^9.1.2",
|
|
"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://u.git.kma.sh/ashpie/tabs"
|
|
}
|
|
],
|
|
"linux": {
|
|
"target": "AppImage",
|
|
"icon": "frontend/images/logo.png",
|
|
"category": "Utility",
|
|
"executableName": "tabs",
|
|
"desktop": {
|
|
"StartupWMClass": "Tabs",
|
|
"MimeType": "x-scheme-handler/tabs"
|
|
}
|
|
},
|
|
"win": {
|
|
"target": "nsis",
|
|
"icon": "frontend/images/logo.png",
|
|
"publisherName": "Alice Gaudon",
|
|
"verifyUpdateCodeSignature": "false"
|
|
},
|
|
"mac": {
|
|
"target": "default",
|
|
"icon": "frontend/images/logo.png",
|
|
"category": "public.app-category.utilities"
|
|
},
|
|
"electronVersion": "19.0.4"
|
|
}
|
|
}
|