1 | {
|
2 | "name": "vite",
|
3 | "version": "4.0.4",
|
4 | "type": "module",
|
5 | "license": "MIT",
|
6 | "author": "Evan You",
|
7 | "description": "Native-ESM powered web dev build tool",
|
8 | "bin": {
|
9 | "vite": "bin/vite.js"
|
10 | },
|
11 | "main": "./dist/node/index.js",
|
12 | "module": "./dist/node/index.js",
|
13 | "types": "./dist/node/index.d.ts",
|
14 | "exports": {
|
15 | ".": {
|
16 | "types": "./dist/node/index.d.ts",
|
17 | "import": "./dist/node/index.js",
|
18 | "require": "./index.cjs"
|
19 | },
|
20 | "./client": {
|
21 | "types": "./client.d.ts"
|
22 | },
|
23 | "./dist/client/*": "./dist/client/*",
|
24 | "./package.json": "./package.json"
|
25 | },
|
26 | "files": [
|
27 | "bin",
|
28 | "dist",
|
29 | "client.d.ts",
|
30 | "index.cjs",
|
31 | "types"
|
32 | ],
|
33 | "engines": {
|
34 | "node": "^14.18.0 || >=16.0.0"
|
35 | },
|
36 | "repository": {
|
37 | "type": "git",
|
38 | "url": "git+https://github.com/vitejs/vite.git",
|
39 | "directory": "packages/vite"
|
40 | },
|
41 | "bugs": {
|
42 | "url": "https://github.com/vitejs/vite/issues"
|
43 | },
|
44 | "homepage": "https://github.com/vitejs/vite/tree/main/#readme",
|
45 | "scripts": {
|
46 | "dev": "rimraf dist && pnpm run build-bundle -w",
|
47 | "build": "rimraf dist && run-s build-bundle build-types",
|
48 | "build-bundle": "rollup --config rollup.config.ts --configPlugin typescript",
|
49 | "build-types": "run-s build-types-temp build-types-pre-patch build-types-roll build-types-post-patch build-types-check",
|
50 | "build-types-temp": "tsc --emitDeclarationOnly --outDir temp/node -p src/node",
|
51 | "build-types-pre-patch": "tsx scripts/prePatchTypes.ts",
|
52 | "build-types-roll": "api-extractor run && rimraf temp",
|
53 | "build-types-post-patch": "tsx scripts/postPatchTypes.ts",
|
54 | "build-types-check": "tsx scripts/checkBuiltTypes.ts && tsc --project tsconfig.check.json",
|
55 | "typecheck": "tsc --noEmit",
|
56 | "lint": "eslint --cache --ext .ts src/**",
|
57 | "format": "prettier --write --cache --parser typescript \"src/**/*.ts\"",
|
58 | "prepublishOnly": "npm run build"
|
59 | },
|
60 | "//": "READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!",
|
61 | "dependencies": {
|
62 | "esbuild": "^0.16.3",
|
63 | "postcss": "^8.4.20",
|
64 | "resolve": "^1.22.1",
|
65 | "rollup": "^3.7.0"
|
66 | },
|
67 | "optionalDependencies": {
|
68 | "fsevents": "~2.3.2"
|
69 | },
|
70 | "devDependencies": {
|
71 | "@ampproject/remapping": "^2.2.0",
|
72 | "@babel/parser": "^7.20.5",
|
73 | "@babel/types": "^7.20.5",
|
74 | "@jridgewell/trace-mapping": "^0.3.17",
|
75 | "@rollup/plugin-alias": "^4.0.2",
|
76 | "@rollup/plugin-commonjs": "^24.0.0",
|
77 | "@rollup/plugin-dynamic-import-vars": "^2.0.1",
|
78 | "@rollup/plugin-json": "^6.0.0",
|
79 | "@rollup/plugin-node-resolve": "15.0.1",
|
80 | "@rollup/plugin-typescript": "^10.0.1",
|
81 | "@rollup/pluginutils": "^5.0.2",
|
82 | "acorn": "^8.8.1",
|
83 | "acorn-walk": "^8.2.0",
|
84 | "cac": "^6.7.14",
|
85 | "chokidar": "^3.5.3",
|
86 | "connect": "^3.7.0",
|
87 | "connect-history-api-fallback": "^2.0.0",
|
88 | "convert-source-map": "^2.0.0",
|
89 | "cors": "^2.8.5",
|
90 | "cross-spawn": "^7.0.3",
|
91 | "debug": "^4.3.4",
|
92 | "dep-types": "link:./src/types",
|
93 | "dotenv": "^16.0.3",
|
94 | "dotenv-expand": "^9.0.0",
|
95 | "es-module-lexer": "^1.1.0",
|
96 | "estree-walker": "^3.0.1",
|
97 | "etag": "^1.8.1",
|
98 | "fast-glob": "^3.2.12",
|
99 | "http-proxy": "^1.18.1",
|
100 | "launch-editor-middleware": "^2.6.0",
|
101 | "magic-string": "^0.27.0",
|
102 | "micromatch": "^4.0.5",
|
103 | "mlly": "^1.0.0",
|
104 | "mrmime": "^1.0.1",
|
105 | "okie": "^1.0.1",
|
106 | "open": "^8.4.0",
|
107 | "parse5": "^7.1.2",
|
108 | "periscopic": "^3.0.4",
|
109 | "picocolors": "^1.0.0",
|
110 | "picomatch": "^2.3.1",
|
111 | "postcss-import": "^15.1.0",
|
112 | "postcss-load-config": "^4.0.1",
|
113 | "postcss-modules": "^6.0.0",
|
114 | "resolve.exports": "^1.1.0",
|
115 | "rollup-plugin-license": "^3.0.1",
|
116 | "sirv": "^2.0.2",
|
117 | "source-map-js": "^1.0.2",
|
118 | "source-map-support": "^0.5.21",
|
119 | "strip-ansi": "^7.0.1",
|
120 | "strip-literal": "^0.4.2",
|
121 | "tsconfck": "^2.0.1",
|
122 | "tslib": "^2.4.1",
|
123 | "types": "link:./types",
|
124 | "ufo": "^1.0.1",
|
125 | "ws": "^8.11.0"
|
126 | },
|
127 | "peerDependencies": {
|
128 | "@types/node": ">= 14",
|
129 | "less": "*",
|
130 | "sass": "*",
|
131 | "stylus": "*",
|
132 | "sugarss": "*",
|
133 | "terser": "^5.4.0"
|
134 | },
|
135 | "peerDependenciesMeta": {
|
136 | "@types/node": {
|
137 | "optional": true
|
138 | },
|
139 | "sass": {
|
140 | "optional": true
|
141 | },
|
142 | "stylus": {
|
143 | "optional": true
|
144 | },
|
145 | "less": {
|
146 | "optional": true
|
147 | },
|
148 | "sugarss": {
|
149 | "optional": true
|
150 | },
|
151 | "terser": {
|
152 | "optional": true
|
153 | }
|
154 | }
|
155 | }
|