UNPKG

@julusian/skia-canvas

Version:

A GPU-accelerated Canvas Graphics API for Node

76 lines (75 loc) 1.82 kB
{ "name": "@julusian/skia-canvas", "version": "1.0.5", "description": "A GPU-accelerated Canvas Graphics API for Node", "author": "Christian Swinehart <drafting@samizdat.co>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/Julusian/skia-canvas.git" }, "bugs": { "url": "https://github.com/Julusian/skia-canvas/issues" }, "homepage": "https://github.com/Julusian/skia-canvas#readme", "main": "lib", "browser": { "lib": "./lib/browser.js", "path": "path-browserify" }, "scripts": { "install": "node-pre-gyp install", "build": "cargo-cp-artifact -nc lib/v6/index.node -- cargo build --message-format=json-render-diagnostics", "package": "node-pre-gyp package", "test": "jest", "prepublish": "rm lib/v6 -R || true" }, "dependencies": { "@mapbox/node-pre-gyp": "^1.0.9", "cargo-cp-artifact": "^0.1", "glob": "^8.0.3", "path-browserify": "^1.0.1", "simple-get": "^4.0.1", "string-split-by": "^1.0.0" }, "devDependencies": { "@types/jest": "^28.1.6", "@types/node": "^18.6.1", "express": "^4.18.1", "jest": "^28.1.3", "lodash": "^4.17.21", "nodemon": "^2.0.19", "tmp": "^0.2.1" }, "files": [ "lib" ], "binary": { "module_name": "index", "module_path": "./lib/v{napi_build_version}", "package_name": "{platform}-{arch}-{node_napi_label}-{libc}.tar.gz", "host": "https://github.com/Julusian/skia-canvas/releases/download/", "remote_path": "v{version}", "napi_versions": [ 6 ] }, "keywords": [ "canvas", "gpu", "skia", "offscreen", "headless", "graphic", "graphics", "image", "images", "compositing", "render", "vulkan", "metal", "pdf", "svg", "rust" ] }