-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
127 lines (127 loc) · 3.3 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
123
124
125
126
127
{
"name": "x-satori",
"type": "module",
"version": "0.2.0",
"packageManager": "[email protected]",
"description": "use Vue or Astro file to generate SVG image using Satori",
"author": "Q.Ben Zheng <[email protected]> (https://github.com/Zhengqbbb/)",
"license": "MIT",
"homepage": "https://github.com/Zhengqbbb/x-satori#readme",
"repository": {
"type": "git",
"url": "https://github.com/Zhengqbbb/x-satori"
},
"bugs": "https://github.com/Zhengqbbb/x-satori/issues",
"keywords": [
"satori",
"vue-satori",
"v-satori",
"astro-satori",
"satori-astro",
"resvg",
"cli"
],
"exports": {
"./*": "./*",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs"
},
"./vue": {
"types": "./dist/vue.d.ts",
"import": "./dist/vue.mjs"
},
"./astro": {
"types": "./dist/astro.d.ts",
"import": "./dist/astro.mjs"
},
"./package.json": "./package.json"
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*"
]
}
},
"bin": {
"x-satori": "bin/x-satori.mjs"
},
"files": [
"bin",
"dist"
],
"engines": {
"node": ">=14"
},
"scripts": {
"x": "x-satori",
"dev": "tsup --watch",
"build": "tsup",
"lint": "eslint .",
"prepare": "simple-git-hooks && cpx node_modules/yoga-wasm-web/dist/yoga.wasm src",
"prepack": "run-s lint build",
"release": "run-s release:bump release:publish",
"release:bump": "bumpp -y --all -c 'build: :bookmark: publish v%s' -x 'node ./.x-cmd/up-v.js'",
"release:publish": "pnpm publish",
"release:next": "bumpp --no-commit --no-push --no-tag && pnpm publish --tag next --no-git-checks",
"demo:vue:dev": "pnpm -C playground/vue dev:og",
"demo:vue:build": "pnpm -C playground/vue build:og",
"demo:astro:dev": "pnpm -C playground/astro dev:og",
"demo:astro:build": "pnpm -C playground/astro build:og",
"gen:vue:svg": "pnpm -C examples/vue-run-esm-script gen:svg",
"gen:vue:png": "pnpm -C examples/vue-run-esm-script gen:png",
"gen:astro:svg": "pnpm -C examples/astro-run-esm-script gen:svg",
"gen:astro:png": "pnpm -C examples/astro-run-esm-script gen:png",
"cz": "czg"
},
"dependencies": {
"esbuild": "^0.23.0",
"minimist": "^1.2.8",
"satori": "^0.10.14",
"satori-html": "^0.3.2",
"yoga-wasm-web": "^0.3.3"
},
"devDependencies": {
"@antfu/eslint-config": "^2.23.2",
"@types/minimist": "^1.2.5",
"@types/node": "^20.14.12",
"astro": "^4.12.2",
"bumpp": "^9.4.1",
"cpx2": "^7.0.1",
"czg": "^1.9.4",
"eslint": "^9.7.0",
"eslint-plugin-astro": "^1.2.3",
"lint-staged": "^15.2.7",
"npm-run-all2": "^6.2.2",
"pathe": "^1.1.2",
"pnpm": "^9.6.0",
"resvg-cli": "^2.6.2",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.2.2",
"tsx": "^4.16.2",
"typescript": "^5.5.4",
"vite": "^5.3.4",
"vue": "^3.4.33",
"x-satori": "workspace:*"
},
"pnpm": {
"overrides": {
"x-satori": "workspace:*"
},
"peerDependencyRules": {
"allowedVersions": {
"eslint": "9"
}
}
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged && pnpm lint"
},
"lint-staged": {
"*.ts": "eslint --fix"
}
}