-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
86 lines (86 loc) · 1.56 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "@m5r/og",
"version": "0.1.3",
"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",
"default": "./dist/index.cjs",
"require": "./dist/index.cjs"
},
"./vendor/*": "./vendor/*"
},
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"vendor/**/*"
],
"author": {
"name": "Mokhtar Mial",
"email": "[email protected]"
},
"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",
"dts": {
"entry": [
"src/emoji.ts",
"src/og.ts",
"src/index.ts"
]
},
"clean": true,
"minify": true
},
"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"
}
}