This repository was archived by the owner on Jun 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.52 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 1.52 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
{
"name": "vite-plugin-swc-only",
"description": "Use swc instead of esbuild in vite",
"version": "0.1.18",
"license": "MIT",
"author": "Natrim (https://github.com/natrim)",
"type": "module",
"main": "./lib/index.js",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"require": "./lib/index.cjs",
"import": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"./*": "./*"
},
"repository": "github:natrim/vite-plugin-swc-only",
"packageManager": "pnpm@7.3.0",
"keywords": [
"vite",
"vite-plugin",
"react",
"swc",
"fast refresh",
"react-refresh",
"vite react",
"vite swc",
"swc minify",
"minify"
],
"scripts": {
"prepack": "pnpm build",
"build": "pnpm tsc && pnpm build:cjs",
"build:cjs": "node scripts/prebuild.js && pnpm tsc cjs/index.ts --module commonjs && node scripts/postbuild.js",
"test": "echo \"Error: no test specified\" && exit 1",
"prettier": "pnpm prettier-ci --write",
"prettier-ci": "prettier --check '**/*.{js,ts,json,md}'",
"preinstall": "npx only-allow pnpm"
},
"prettier": {
"trailingComma": "all"
},
"dependencies": {
"@rollup/pluginutils": "^5.0.2",
"@swc/core": "^1.3.38"
},
"peerDependencies": {
"@swc/core": "^1.3.38",
"vite": "^2.9 || ^3.0 || ^4.0"
},
"devDependencies": {
"@swc/core": "^1.3.38",
"@types/estree": "^0.0.51",
"@types/node": "^17.0.31",
"prettier": "^2.6.2",
"typescript": "^4.6.4",
"vite": "^4.1.4"
}
}