-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 2.29 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
{
"name": "@resvg/resvg-js-cli",
"type": "module",
"version": "2.6.2",
"packageManager": "pnpm@9.8.0",
"description": "A high-performance SVG renderer CLI, powered by resvg-js and Rust based resvg and napi-rs",
"license": "MPL-2.0",
"homepage": "https://github.com/Zhengqbbb/resvg-js-cli#readme",
"repository": "git@github.com:Zhengqbbb/resvg-js-cli.git",
"bugs": "https://github.com/Zhengqbbb/resvg-js-cli/issues",
"keywords": [
"CLI",
"resvg",
"svg",
"node-resvg",
"resvg-js",
"resvg-node",
"rust",
"svg2png",
"svg2img",
"svg to png"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"bin": {
"resvg-js-cli": "bin/resvg-js-cli.mjs",
"resvg-js": "bin/resvg-js-cli.mjs"
},
"files": [
"bin",
"dist"
],
"scripts": {
"x": "resvg-js-cli",
"dev": "tsup --watch",
"build": "tsup",
"cz": "czg",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "vitest",
"prepare": "simple-git-hooks",
"prepack": "run-s lint build",
"release": "run-s release:bump release:publish",
"release:bump": "bumpp --all -c 'build: :bookmark: publish v%s'",
"release:publish": "pnpm publish",
"release:next": "bumpp --no-commit --no-push --no-tag && pnpm publish --tag next --no-git-checks"
},
"dependencies": {
"@resvg/resvg-js": "^2.6.2"
},
"devDependencies": {
"@antfu/eslint-config": "^2.27.1",
"@resvg/resvg-js-cli": "workspace:*",
"@types/minimist": "^1.2.5",
"@types/node": "^20.16.1",
"bumpp": "^9.5.2",
"cz-git": "^1.9.4",
"czg": "^1.9.4",
"eslint": "^9.9.1",
"lint-staged": "^15.2.9",
"minimist": "^1.2.8",
"npm-run-all2": "^6.2.2",
"pnpm": "^9.8.0",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.2.4",
"tsx": "^4.17.0",
"typescript": "^5.5.4",
"vitest": "^2.0.5"
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"eslint": "9"
}
}
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged && pnpm lint"
},
"lint-staged": {
"*.ts": "eslint --fix"
}
}