UNPKG

x-satori

Version:

use Vue or Astro file to generate SVG image using Satori

112 lines 3.02 kB
{ "name": "x-satori", "type": "module", "version": "0.4.0", "description": "use Vue or Astro file to generate SVG image using Satori", "author": "Q.Ben Zheng <zhengqbbb@gmail.com> (https://github.com/Zhengqbbb/)", "license": "MIT", "homepage": "https://github.com/Zhengqbbb/x-satori#readme", "repository": { "type": "git", "url": "https://github.com/Zhengqbbb/x-satori" }, "bugs": "https://github.com/Zhengqbbb/x-satori/issues", "keywords": [ "satori", "vue-satori", "v-satori", "astro-satori", "satori-astro", "resvg", "cli" ], "exports": { "./*": "./*", ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs" }, "./vue": { "types": "./dist/vue.d.ts", "import": "./dist/vue.mjs" }, "./astro": { "types": "./dist/astro.d.ts", "import": "./dist/astro.mjs" }, "./package.json": "./package.json" }, "main": "./dist/index.mjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "typesVersions": { "*": { "*": [ "./dist/*" ] } }, "bin": { "x-satori": "bin/x-satori.mjs" }, "files": [ "bin", "dist" ], "engines": { "node": ">=14" }, "dependencies": { "esbuild": "^0.25.8", "minimist": "^1.2.8", "satori": "^0.16.2", "satori-html": "^0.3.2" }, "devDependencies": { "@antfu/eslint-config": "^5.0.0", "@resvg/resvg-js-cli": "^2.6.2-beta.1", "@types/minimist": "^1.2.5", "@types/node": "^24.1.0", "astro": "^5.12.5", "bumpp": "^10.2.1", "czg": "^1.12.0", "eslint": "^9.32.0", "eslint-plugin-astro": "^1.3.1", "lint-staged": "^16.1.2", "npm-run-all2": "^8.0.4", "pathe": "^2.0.3", "pnpm": "^10.13.1", "simple-git-hooks": "^2.13.0", "tsup": "^8.5.0", "tsx": "^4.20.3", "typescript": "^5.8.3", "vite": "^7.0.6", "vue": "^3.5.18", "x-satori": "0.4.0" }, "simple-git-hooks": { "pre-commit": "pnpm lint-staged && pnpm lint" }, "lint-staged": { "*.ts": "eslint --fix" }, "scripts": { "x": "x-satori", "dev": "tsup --watch", "build": "tsup", "lint": "eslint .", "release": "run-s release:bump release:publish", "release:bump": "bumpp -y --all -c 'build: :bookmark: publish v%s' -x 'node ./.x-cmd/up-v.js'", "release:publish": "pnpm publish", "release:next": "bumpp --no-commit --no-push --no-tag && pnpm publish --tag next --no-git-checks", "demo:vue:dev": "pnpm -C playground/vue dev:og", "demo:vue:build": "pnpm -C playground/vue build:og", "demo:astro:dev": "pnpm -C playground/astro dev:og", "demo:astro:build": "pnpm -C playground/astro build:og", "gen:vue:svg": "pnpm -C examples/vue-run-esm-script gen:svg", "gen:vue:png": "pnpm -C examples/vue-run-esm-script gen:png", "gen:astro:svg": "pnpm -C examples/astro-run-esm-script gen:svg", "gen:astro:png": "pnpm -C examples/astro-run-esm-script gen:png", "cz": "czg" } }