123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- {
- "name": "Pinokio",
- "version": "3.2.0",
- "homepage": "https://pinokio.computer",
- "description": "pinokio",
- "main": "main.js",
- "email": "cocktailpeanuts@proton.me",
- "author": "https://twitter.com/cocktailpeanut",
- "scripts": {
- "start": "electron .",
- "pack": "./node_modules/.bin/electron-builder --dir",
- "eject": "hdiutil info | grep '/dev/disk' | awk '{print $1}' | xargs -I {} hdiutil detach {}",
- "dist": "npm run monkeypatch && export SNAPCRAFT_BUILD_ENVIRONMENT=host && export SNAP_DESTRUCTIVE_MODE='true' && ./node_modules/.bin/electron-builder -mwl && npm run zip",
- "zip": "node script/zip",
- "monkeypatch": "cp temp/yarn.js node_modules/app-builder-lib/out/util/yarn.js && cp temp/rebuild.js node_modules/@electron/rebuild/lib/src/rebuild.js",
- "postinstall": "npm run monkeypatch && ./node_modules/.bin/electron-builder install-app-deps"
- },
- "build": {
- "appId": "computer.pinokio",
- "asarUnpack": [
- "node_modules/go-get-folder-size/**/*",
- "node_modules/7zip-bin/**/*",
- "node_modules/sweetalert2/**/*",
- "node_modules/@cocktailpeanut/**/*"
- ],
- "nsis": { "include": "build/installer.nsh" },
- "extraResources": [
- "./script/**"
- ],
- "protocols": [
- {
- "name": "pinokio",
- "schemes": [
- "pinokio"
- ]
- }
- ],
- "dmg": {
- "background": "./assets/background.gif",
- "contents": [
- {
- "x": 250,
- "y": 150
- },
- {
- "x": 550,
- "y": 150,
- "type": "link",
- "path": "/Applications"
- }
- ]
- },
- "mac": {
- "category": "utility",
- "target": [
- {
- "target": "default",
- "arch": [
- "x64",
- "arm64"
- ]
- }
- ]
- },
- "linux": {
- "maintainer": "Cocktail Peanut <cocktailpeanuts@proton.me>",
- "target": [
- {
- "target": "deb",
- "arch": [
- "x64",
- "arm64"
- ]
- },
- {
- "target": "rpm",
- "arch": [
- "x64",
- "arm64"
- ]
- },
- {
- "target": "AppImage",
- "arch": [
- "x64",
- "arm64"
- ]
- }
- ]
- },
- "win": {
- "target": [
- {
- "target": "nsis",
- "arch": [
- "x64"
- ]
- }
- ]
- }
- },
- "license": "MIT",
- "dependencies": {
- "electron-store": "^8.1.0",
- "electron-window-state": "^5.0.3",
- "pinokiod": "^3.2.0"
- },
- "devDependencies": {
- "@electron/rebuild": "3.2.10",
- "electron": "^23.1.2",
- "electron-builder": "^24.0.0"
- }
- }
|