-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
103 lines (103 loc) · 2.42 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
{
"name": "@spiriit/vite-plugin-svg-spritemap",
"type": "module",
"version": "3.0.0",
"packageManager": "[email protected]",
"description": "Generates symbol-based SVG spritemap from all .svg files in a directory",
"author": "Spiriit",
"license": "MIT",
"homepage": "https://github.com/SpiriitLabs/vite-plugin-svg-spritemap",
"repository": {
"type": "git",
"url": "https://github.com/SpiriitLabs/vite-plugin-svg-spritemap"
},
"bugs": "https://github.com/SpiriitLabs/vite-plugin-svg-spritemap/issues",
"keywords": [
"svg",
"sprites",
"spritemap",
"symbols",
"icons",
"sass",
"scss",
"css",
"less",
"stylus",
"variables",
"vite",
"vite-plugin"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./client": {
"types": "./dist/client.d.ts"
}
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": "^18.0.0 || >=20.0.0"
},
"scripts": {
"build": "tsup",
"build:watch": "tsup --watch",
"test": "vitest",
"coverage": "vitest run --coverage",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck": "tsc --noEmit --skipLibCheck",
"prepublishOnly": "pnpm build",
"attw": "pnpm -s dlx @arethetypeswrong/cli --profile node16 --ignore-rules cjs-resolves-to-esm --pack ."
},
"peerDependencies": {
"svgo": "^3.0.0",
"vite": "^5.0.0 || ^6.0.0",
"vue": "^3.0.0"
},
"peerDependenciesMeta": {
"svgo": {
"optional": true
},
"vue": {
"optional": true
}
},
"dependencies": {
"@xmldom/xmldom": "^0.9.6",
"fast-glob": "^3.3.2",
"hash-sum": "^2.0.0",
"mini-svg-data-uri": "^1.4.4"
},
"devDependencies": {
"@antfu/eslint-config": "3.11.2",
"@types/hash-sum": "^1.0.2",
"@types/node": "^22.10.1",
"@types/xmldom": "^0.1.34",
"@vitejs/plugin-vue": "^5.2.1",
"@vitest/coverage-v8": "^2.1.8",
"c8": "^10.1.2",
"eslint": "^9.16.0",
"playwright": "^1.49.0",
"rollup": "^4.28.1",
"svg-element-attributes": "^2.1.0",
"svgo": "^3.3.2",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vitest": "^2.1.8",
"vue": "^3.5.13"
}
}