forked from vercel/satori
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.62 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
{
"name": "satori",
"version": "0.0.44",
"description": "Enlightened library to convert HTML and CSS to SVG.",
"module": "./dist/index.js",
"main": "./dist/index.js",
"types": "./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": "./dist/index.wasm.js",
"require": "./dist/index.wasm.cjs"
}
},
"scripts": {
"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",
"build": "NODE_ENV=production pnpm run build:default && pnpm run build:wasm",
"build:default": "tsup",
"build:wasm": "WASM=1 tsup",
"test": "NODE_ENV=test vitest run --outputTruncateLength=9999999",
"dev:test": "NODE_ENV=test vitest --update --outputTruncateLength=9999999",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --quiet",
"lint:fix": "pnpm lint --fix",
"prettier-check": "prettier --check .",
"prettier-fix": "prettier --write ."
},
"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": {
"@resvg/resvg-js": "^2.1.0",
"@types/node": "^16",
"@types/opentype.js": "^1.3.3",
"@types/react": "^17.0.38",
"@types/yoga-layout": "^1.9.4",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"@vitest/ui": "^0.7.6",
"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",
"jest-image-snapshot": "^5.2.0",
"prettier": "^2.7.1",
"react": "^17.0.2",
"tsup": "^5.11.13",
"twrnc": "^3.4.0",
"typescript": "^4.5.5",
"vitest": "0.23.4"
},
"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",
"postcss-value-parser": "^4.2.0",
"yoga-layout-prebuilt": "^1.10.0"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16"
}
}