astro-ghostcms/.pnpm-store/v3/files/e6/bdd41486a99650517a80e1c6c93...

123 lines
3.5 KiB
Plaintext

{
"name": "satori",
"version": "0.10.13",
"description": "Enlightened library to convert HTML and CSS to SVG.",
"module": "./dist/index.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"wasm": [
"./dist/index.d.ts"
]
}
},
"type": "module",
"license": "MPL-2.0",
"files": [
"dist/**",
"wasm.js"
],
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./wasm": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.wasm.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.wasm.cjs"
}
}
},
"scripts": {
"prepare": "husky install",
"dev": "concurrently \"pnpm dev:default\" \"pnpm dev:wasm\"",
"dev:default": "NODE_ENV=development tsup src/index.ts --watch --ignore-watch playground",
"dev:wasm": "WASM=1 NODE_ENV=development tsup src/index.ts --watch --ignore-watch playground",
"dev:playground": "turbo dev --filter=satori-playground...",
"build": "NODE_ENV=production pnpm run build:default && pnpm run build:wasm",
"build:default": "tsup",
"build:wasm": "WASM=1 tsup",
"attw": "attw --pack",
"test": "NODE_ENV=test vitest run",
"test:ui": "NODE_ENV=test vitest --ui --coverage.enabled",
"test-type": "tsc -p tsconfig.json --noEmit && tsc -p playground/tsconfig.json --noEmit",
"dev:test": "NODE_ENV=test vitest --update",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --quiet --cache",
"lint:fix": "pnpm lint --fix",
"prettier-check": "prettier --check .",
"prettier-fix": "prettier --write --list-different . --cache",
"ci-check": "concurrently \"pnpm prettier-check\" \"pnpm test-type\" \"pnpm lint\""
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix --cache",
"prettier --write --cache"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/vercel/satori.git"
},
"keywords": [
"HTML",
"JSX",
"SVG",
"converter",
"renderer"
],
"author": "Shu Ding <g@shud.in>",
"bugs": {
"url": "https://github.com/vercel/satori/issues"
},
"homepage": "https://github.com/vercel/satori#readme",
"devDependencies": {
"@arethetypeswrong/cli": "^0.4.2",
"@resvg/resvg-js": "^2.1.0",
"@types/node": "^16",
"@types/opentype.js": "^1.3.3",
"@types/react": "^17.0.38",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"@vitest/coverage-v8": "^0.32.0",
"@vitest/ui": "^0.32.0",
"concurrently": "^7.3.0",
"esbuild-plugin-replace": "^1.2.0",
"eslint": "^8.25.0",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "8.0.3",
"jest-image-snapshot": "^6.1.0",
"lint-staged": "13.1.0",
"prettier": "^2.7.1",
"react": "^17.0.2",
"tsup": "^7.1.0",
"turbo": "^1.6.3",
"twrnc": "^3.4.0",
"typescript": "^5",
"vitest": "^0.32.0"
},
"dependencies": {
"@shuding/opentype.js": "1.4.0-beta.0",
"css-background-parser": "^0.1.0",
"css-box-shadow": "1.0.0-3",
"css-to-react-native": "^3.0.0",
"emoji-regex": "^10.2.1",
"escape-html": "^1.0.3",
"linebreak": "^1.1.0",
"parse-css-color": "^0.2.1",
"postcss-value-parser": "^4.2.0",
"yoga-wasm-web": "^0.3.3"
},
"packageManager": "pnpm@8.7.0",
"engines": {
"node": ">=16"
}
}