-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.01 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 2.01 KB
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
{
"name": "vite-plugin-svgr",
"version": "5.2.0",
"description": "Vite plugin to transform SVGs into React components",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.cts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./client": {
"types": "./client.d.ts"
}
},
"scripts": {
"dev": "tsdown --watch",
"build": "tsdown",
"prepare": "npm run build",
"test": "node --import tsx --test test/**/*.test.ts",
"test:e2e": "node --import tsx --test test/process.test.ts",
"test:coverage": "c8 node --import tsx --test test/**/*.test.ts",
"test:compat": "node scripts/test-vite-compat.js"
},
"repository": "pd4d10/vite-plugin-svgr",
"files": [
"dist",
"client.d.ts",
"codemods"
],
"keywords": [
"vite",
"vite-plugin"
],
"author": "Rongjian Zhang",
"license": "MIT",
"devDependencies": {
"@types/node": "^25.5.0",
"c8": "^11.0.0",
"tsdown": "^0.21.7",
"tsx": "^4.21.0",
"typescript": "^6.0.2",
"vite": "^8.0.3",
"vite3": "npm:vite@3.2.11",
"vite4": "npm:vite@4.5.14",
"vite5": "npm:vite@5.4.21",
"vite6": "npm:vite@6.4.1",
"vite7": "npm:vite@7.3.1",
"vite8": "npm:vite@8.0.3"
},
"peerDependencies": {
"vite": ">=3.0.0"
},
"dependencies": {
"@rollup/pluginutils": "^5.3.0",
"@svgr/core": "^8.1.0",
"@svgr/plugin-jsx": "^8.1.0"
},
"packageManager": "pnpm@10.15.0+sha256.84c19e788d7d7ee248e4a6b7152f8ebba0f4fe7380a5f443ca17d76c030052d2",
"c8": {
"all": true,
"include": [
"src/**/*.ts"
],
"exclude": [
"dist/**",
"codemods/**",
"test/**"
],
"reporter": [
"text",
"lcov"
],
"check-coverage": true,
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}