-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
178 lines (178 loc) · 4.45 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"name": "unplugin-svg-transformer",
"type": "module",
"version": "1.0.32",
"packageManager": "[email protected]",
"description": "Import easily your SVG with Vite.",
"author": "kiwilan <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/kiwilan/unplugin-svg-transformer#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/kiwilan/unplugin-svg-transformer.git"
},
"bugs": {
"url": "https://github.com/kiwilan/unplugin-svg-transformer/issues"
},
"keywords": [
"unplugin",
"vite",
"webpack",
"rollup",
"svg",
"react",
"javascript",
"typescript",
"vue",
"icons",
"nuxt"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./vite": {
"types": "./dist/vite.d.ts",
"import": "./dist/vite.js",
"require": "./dist/vite.cjs"
},
"./webpack": {
"types": "./dist/webpack.d.ts",
"import": "./dist/webpack.js",
"require": "./dist/webpack.cjs"
},
"./rollup": {
"types": "./dist/rollup.d.ts",
"import": "./dist/rollup.js",
"require": "./dist/rollup.cjs"
},
"./esbuild": {
"types": "./dist/esbuild.d.ts",
"import": "./dist/esbuild.js",
"require": "./dist/esbuild.cjs"
},
"./nuxt": {
"types": "./dist/nuxt.d.ts",
"import": "./dist/nuxt.js",
"require": "./dist/nuxt.cjs"
},
"./types": {
"types": "./dist/types.d.ts",
"import": "./dist/types.js",
"require": "./dist/types.cjs"
},
"./vue": {
"types": "./dist/vue.d.ts",
"import": "./dist/vue.js",
"require": "./dist/vue.cjs"
},
"./react": {
"types": "./dist/react.d.ts",
"import": "./dist/react.js",
"require": "./dist/react.cjs"
},
"./icons": "./dist/icons.ts",
"./client": {
"types": "./client.d.ts"
},
"./*": "./*"
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./*"
]
}
},
"files": [
"dist"
],
"scripts": {
"build:vite": "vite build",
"build:unplugin": "tsup",
"build": "npm run clean && npm run build:unplugin",
"dev": "tsup --watch src",
"build:fix": "esno scripts/postbuild.ts",
"lint": "eslint --ignore-pattern README.md .",
"lint:fix": "npm run lint -- --fix",
"play": "npm -C playground run dev",
"play:js": "npm -C examples/js run dev",
"play:nuxt": "npm -C examples/nuxt3 run dev",
"play:react": "npm -C examples/react run dev",
"play:svelte": "npm -C examples/svelte run dev",
"play:ts": "npm -C examples/ts run dev",
"play:vue": "npm -C examples/vue3 run dev",
"prepublishOnly": "npm run build",
"start": "esno src/index.ts",
"test": "vitest",
"test:coverage": "vitest --coverage",
"clean": "rimraf dist",
"local": "rm -f ~/unplugin-svg-transformer-*.tgz || true && mv ./unplugin-svg-transformer-*.tgz ~/unplugin-svg-transformer.tgz",
"package": "npm run clean && npm run build && npm pack && npm run local",
"release": "npm run clean && npm run build && npm pack --dry-run && npm publish --access public",
"prepare": "husky install"
},
"peerDependencies": {
"@nuxt/kit": "^3",
"@nuxt/schema": "^3",
"esbuild": "*",
"rollup": "^3",
"vite": ">=3",
"webpack": "^4 || ^5"
},
"peerDependenciesMeta": {
"@nuxt/kit": {
"optional": true
},
"@nuxt/schema": {
"optional": true
},
"esbuild": {
"optional": true
},
"rollup": {
"optional": true
},
"vite": {
"optional": true
},
"webpack": {
"optional": true
}
},
"dependencies": {
"unplugin": "^1.6.0"
},
"devDependencies": {
"@antfu/eslint-config": "2.6.2",
"@nuxt/kit": "^3.9.1",
"@nuxt/schema": "^3.9.1",
"@types/node": "^20.11.0",
"@types/react": "^18.2.47",
"@vitejs/plugin-vue": "^5.0.3",
"@vitest/coverage-v8": "^1.2.0",
"bumpp": "^9.2.1",
"chalk": "^5.3.0",
"eslint": "^8.56.0",
"esno": "^4.0.0",
"fast-glob": "^3.3.2",
"husky": "^8.0.3",
"nodemon": "^3.0.2",
"react": "^18.2.0",
"rimraf": "^5.0.5",
"rollup": "^4.9.5",
"svelte": "^4.2.8",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vite": "^5.0.11",
"vitest": "^1.2.0",
"vue": "^3.4.13",
"webpack": "^5.89.0"
}
}