forked from vercel/satori
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 3.49 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "satori",
"version": "0.0.0-development",
"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 <[email protected]>",
"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": "[email protected]",
"engines": {
"node": ">=16"
}
}