UNPKG

electron-liquid-glass

Version:

macOS glass / vibrancy wrapper for Electron BrowserWindow

88 lines (87 loc) 2.24 kB
{ "name": "electron-liquid-glass", "version": "1.0.1", "description": "macOS glass / vibrancy wrapper for Electron BrowserWindow", "repository": { "type": "git", "url": "https://github.com/Meridius-Labs/electron-liquid-glass.git" }, "bugs": { "url": "https://github.com/Meridius-Labs/electron-liquid-glass/issues" }, "homepage": "https://github.com/Meridius-Labs/electron-liquid-glass#readme", "author": "Meridius Labs", "license": "MIT", "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } } }, "files": [ "dist", "js", "src", "build/Release/*.node", "prebuilds/**/*", "README.md", "LICENSE" ], "scripts": { "build": "tsdown", "build:native": "prebuildify --napi --strip", "build:all": "bun run build:native && bun run build", "clean": "rimraf build prebuilds dist", "prepack": "bun run build:all", "dev": "bun run build:all && run-p watch-examples start", "watch-examples": "tsc -w --project tsconfig.examples.json", "start": "bun x electronmon ./dist-examples/electron.js", "version:patch": "npm version patch", "version:minor": "npm version minor", "version:major": "npm version major", "version:prerelease": "npm version prerelease", "release": "bun run build:all && npm publish", "release:dry": "bun run build:all && npm publish --dry-run" }, "keywords": [ "electron", "macos", "vibrancy", "glass", "nsvisualeffectview" ], "gypfile": true, "os": [ "darwin" ], "engines": { "node": ">=18" }, "dependencies": { "bindings": "^1.5.0", "node-addon-api": "^8.4.0" }, "optionalDependencies": { "node-gyp-build": "^4" }, "devDependencies": { "@3c1u/bun-run-all": "^0.1.2", "@types/node": "^20", "electron": "^36", "node-gyp": "^11.2.0", "prebuildify": "^5", "rimraf": "^5", "tsdown": "^0.12.8", "typescript": "^5" } }