2023-02-14 19:26:11 +00:00
|
|
|
{
|
|
|
|
"name": "@m5r/og",
|
2023-04-02 13:46:14 +00:00
|
|
|
"version": "0.1.3",
|
2023-02-14 19:26:11 +00:00
|
|
|
"description": "Generate Open Graph Images dynamically from HTML/CSS without a browser",
|
|
|
|
"license": "MPL-2.0",
|
|
|
|
"type": "module",
|
|
|
|
"main": "dist/index.cjs",
|
|
|
|
"exports": {
|
|
|
|
"./package.json": "./package.json",
|
|
|
|
".": {
|
|
|
|
"import": "./dist/index.js",
|
2023-04-02 13:46:14 +00:00
|
|
|
"default": "./dist/index.cjs",
|
|
|
|
"require": "./dist/index.cjs"
|
2023-02-14 19:26:11 +00:00
|
|
|
},
|
|
|
|
"./vendor/*": "./vendor/*"
|
|
|
|
},
|
|
|
|
"types": "dist/index.d.ts",
|
|
|
|
"files": [
|
|
|
|
"dist/**/*",
|
|
|
|
"vendor/**/*"
|
|
|
|
],
|
|
|
|
"author": {
|
|
|
|
"name": "Mokhtar Mial",
|
|
|
|
"email": "mokht@rmi.al"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/m5r/og.git"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"prepare": "husky install",
|
|
|
|
"build": "tsup"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@resvg/resvg-js": "2.4.0",
|
|
|
|
"satori": "0.3.1"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/node": "18.13.0",
|
|
|
|
"@types/react": "18.0.28",
|
|
|
|
"husky": "8.0.3",
|
|
|
|
"lint-staged": "13.1.2",
|
|
|
|
"npm-run-all": "4.1.5",
|
|
|
|
"prettier": "2.8.4",
|
|
|
|
"tsup": "6.6.3",
|
|
|
|
"typescript": "4.9.5"
|
|
|
|
},
|
|
|
|
"sideEffects": false,
|
|
|
|
"tsup": {
|
|
|
|
"entry": [
|
|
|
|
"src/index.ts"
|
|
|
|
],
|
|
|
|
"format": [
|
|
|
|
"esm",
|
|
|
|
"cjs"
|
|
|
|
],
|
|
|
|
"splitting": false,
|
|
|
|
"sourcemap": true,
|
|
|
|
"target": "node18",
|
2023-02-16 08:21:20 +00:00
|
|
|
"dts": {
|
2023-02-16 08:38:26 +00:00
|
|
|
"entry": [
|
|
|
|
"src/emoji.ts",
|
|
|
|
"src/og.ts",
|
|
|
|
"src/index.ts"
|
|
|
|
]
|
2023-02-16 08:21:20 +00:00
|
|
|
},
|
2023-02-14 19:44:29 +00:00
|
|
|
"clean": true,
|
|
|
|
"minify": true
|
2023-02-14 19:26:11 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{ts,tsx}": "prettier --write --cache"
|
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"semi": true,
|
|
|
|
"useTabs": true,
|
|
|
|
"tabWidth": 4,
|
|
|
|
"printWidth": 120,
|
|
|
|
"trailingComma": "all",
|
|
|
|
"bracketSameLine": false,
|
|
|
|
"quoteProps": "as-needed",
|
|
|
|
"singleQuote": false
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=18.12"
|
|
|
|
}
|
|
|
|
}
|