RSS Git Download  Clone
Raw Blame History
{
    "name": "p3x-onenote",
    "version": "2024.4.176",
    "description": "📚 P3X OneNote Linux",
    "main": "src/electron/app.js",
    "corifeus": {
        "description-snap": "P3X OneNote Linux",
        "description-npm": "📚 P3X OneNote Linux",
        "snap": true,
        "prefix": "p3x-",
        "publish": true,
        "type": "p3x",
        "code": "Linux",
        "nodejs": "v22.1.0",
        "reponame": "onenote",
        "build": true,
        "opencollective": false,
        "install-appimage-launcher": "sudo add-apt-repository ppa:appimagelauncher-team/stable && sudo apt install -y appimagelauncher"
    },
    "bin": {
        "p3x-onenote": "bin/p3x-onenote.js"
    },
    "scripts": {
        "run": "electron --no-sandbox .",
        "test": "grunt",
        "dist": "electron-builder",
        "build": "electron-builder --x64  build/dist",
        "build-test": "electron-builder build/dist -p always",
        "postinstall-save": "opencollective postinstall",
        "start": "node ./node_modules/.bin/electron ./src/electron/app.js",
        "publish-electron-test-flatpak-info": "flatpak install flathub org.freedesktop.Platform//20.08 && flatpak install flathub org.freedesktop.Sdk//20.08 && flatpak install flathub org.electronjs.Electron2.BaseApp//20.08",
        "publish-electron-test-flatpak-info-aarch64": "flatpak install flathub org.freedesktop.Platform/aarch64/20.08 && flatpak install flathub org.freedesktop.Sdk/aarch64/20.08 && flatpak install flathub org.electronjs.Electron2.BaseApp/aarch64/20.08",
        "publish-electron-test-flatpak-info-arm": "flatpak install flathub org.freedesktop.Platform/arm/18.08 && flatpak install flathub org.freedesktop.Sdk/arm/18.08 && flatpak install flathub org.electronjs.Electron2.BaseApp/arm/18.08",
        "publish-electron": "rm -rf dist && electron-builder -p onTagOrDraft --linux --armv7l --arm64 --linux AppImage deb rpm --x64",
        "publish-electron-flatpak": "rm -rf dist && electron-builder -p always --linux flatpak --x64 --arm64",
        "publish-electron-test-flatpak": "rm -rf dist && electron-builder -p always --linux flatpak --x64  --arm64 --armv7l",
        "publish-electron-deb": "rm -rf dist && electron-builder -p onTagOrDraft --linux --armv7l --arm64 --linux deb --x64",
        "publish-electron-test": "rm -rf dist && electron-builder -p onTagOrDraft --linux --linux AppImage deb --x64",
        "publish-electron-snap": "rm -rf dist && electron-builder --linux snap -p never --armv7l --x64",
        "publish-electron-arm64": "rm -rf dist && electron-builder --linux snap -p never --arm64",
        "publish-windows": "rimraf dist && electron-builder -p always --windows",
        "publish-electron-yml": "node ./node_modules/corifeus-builder/src/utils/appimage/post-build.js",
        "publish-macos": "electron-builder --mac --publish never"
    },
    "repository": {
        "type": "git",
        "url": "git+https://github.com/patrikx3/onenote.git"
    },
    "keywords": [
        "onenote",
        "linux"
    ],
    "author": "Patrik Laszlo <alabard@gmail.com>",
    "license": "MIT",
    "bugs": {
        "url": "https://github.com/patrikx3/onenote/issues"
    },
    "homepage": "https://corifeus.com/onenote",
    "dependencies": {
        "@electron/remote": "2.1.2",
        "@fontsource/roboto": "5.0.13",
        "@fortawesome/fontawesome-free": "6.5.2",
        "angular": "1.8.3",
        "angular-animate": "1.8.3",
        "angular-aria": "1.8.3",
        "angular-material": "1.2.5",
        "angular-messages": "1.8.3",
        "corifeus-utils": "2024.4.123",
        "electron-store": "8.2.0",
        "electron-updater": "6.1.8",
        "semver": "7.6.0",
        "electron": "^30.0.2"
    },
    "devDependencies": {
        "corifeus-builder": "2024.4.140",
        "electron-builder": "24.13.3",
        "node-fetch": "^3.3.2"
    },
    "engines": {
        "node": ">=12.13.0"
    },
    "build": {
        "afterAllArtifactBuild": "./node_modules/corifeus-builder/src/utils/appimage/after-all-artifact-build.js",
        "publish": [
            {
                "provider": "github",
                "owner": "patrikx3",
                "repo": "onenote"
            }
        ],
        "appId": "com.patrikx3.onenote",
        "copyright": "MIT",
        "productName": "P3X-OneNote",
        "linux": {
            "category": "Office",
            "icon": "./src/electron/images/",
            "target": "deb"
        },
        "win": {
            "icon": "src/electron/images/",
            "target": "nsis"
        },
        "nsis": {
            "artifactName": "${productName}-Setup-${version}.${ext}"
        },
        "mac": {
            "target": [
                {
                    "target": "default",
                    "arch": [
                        "x64",
                        "arm64"
                    ]
                }
            ]
        },
        "snap": {
            "environment": {
                "DISABLE_WAYLAND": 1
            }
        }
    }
}