[d565449] | 1 | {
|
---|
| 2 | "name": "vite",
|
---|
| 3 | "version": "5.3.5",
|
---|
| 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 | "keywords": [
|
---|
| 12 | "frontend",
|
---|
| 13 | "framework",
|
---|
| 14 | "hmr",
|
---|
| 15 | "dev-server",
|
---|
| 16 | "build-tool",
|
---|
| 17 | "vite"
|
---|
| 18 | ],
|
---|
| 19 | "main": "./dist/node/index.js",
|
---|
| 20 | "types": "./dist/node/index.d.ts",
|
---|
| 21 | "exports": {
|
---|
| 22 | ".": {
|
---|
| 23 | "import": {
|
---|
| 24 | "types": "./dist/node/index.d.ts",
|
---|
| 25 | "default": "./dist/node/index.js"
|
---|
| 26 | },
|
---|
| 27 | "require": {
|
---|
| 28 | "types": "./index.d.cts",
|
---|
| 29 | "default": "./index.cjs"
|
---|
| 30 | }
|
---|
| 31 | },
|
---|
| 32 | "./client": {
|
---|
| 33 | "types": "./client.d.ts"
|
---|
| 34 | },
|
---|
| 35 | "./runtime": {
|
---|
| 36 | "types": "./dist/node/runtime.d.ts",
|
---|
| 37 | "import": "./dist/node/runtime.js"
|
---|
| 38 | },
|
---|
| 39 | "./dist/client/*": "./dist/client/*",
|
---|
| 40 | "./types/*": {
|
---|
| 41 | "types": "./types/*"
|
---|
| 42 | },
|
---|
| 43 | "./package.json": "./package.json"
|
---|
| 44 | },
|
---|
| 45 | "typesVersions": {
|
---|
| 46 | "*": {
|
---|
| 47 | "runtime": [
|
---|
| 48 | "dist/node/runtime.d.ts"
|
---|
| 49 | ]
|
---|
| 50 | }
|
---|
| 51 | },
|
---|
| 52 | "files": [
|
---|
| 53 | "bin",
|
---|
| 54 | "dist",
|
---|
| 55 | "client.d.ts",
|
---|
| 56 | "index.cjs",
|
---|
| 57 | "index.d.cts",
|
---|
| 58 | "types"
|
---|
| 59 | ],
|
---|
| 60 | "engines": {
|
---|
| 61 | "node": "^18.0.0 || >=20.0.0"
|
---|
| 62 | },
|
---|
| 63 | "repository": {
|
---|
| 64 | "type": "git",
|
---|
| 65 | "url": "git+https://github.com/vitejs/vite.git",
|
---|
| 66 | "directory": "packages/vite"
|
---|
| 67 | },
|
---|
| 68 | "bugs": {
|
---|
| 69 | "url": "https://github.com/vitejs/vite/issues"
|
---|
| 70 | },
|
---|
| 71 | "homepage": "https://vitejs.dev",
|
---|
| 72 | "funding": "https://github.com/vitejs/vite?sponsor=1",
|
---|
| 73 | "//": "READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!",
|
---|
| 74 | "dependencies": {
|
---|
| 75 | "esbuild": "^0.21.3",
|
---|
| 76 | "postcss": "^8.4.39",
|
---|
| 77 | "rollup": "^4.13.0"
|
---|
| 78 | },
|
---|
| 79 | "optionalDependencies": {
|
---|
| 80 | "fsevents": "~2.3.3"
|
---|
| 81 | },
|
---|
| 82 | "devDependencies": {
|
---|
| 83 | "@ampproject/remapping": "^2.3.0",
|
---|
| 84 | "@babel/parser": "^7.24.8",
|
---|
| 85 | "@jridgewell/trace-mapping": "^0.3.25",
|
---|
| 86 | "@polka/compression": "^1.0.0-next.25",
|
---|
| 87 | "@rollup/plugin-alias": "^5.1.0",
|
---|
| 88 | "@rollup/plugin-commonjs": "^26.0.1",
|
---|
| 89 | "@rollup/plugin-dynamic-import-vars": "^2.1.2",
|
---|
| 90 | "@rollup/plugin-json": "^6.1.0",
|
---|
| 91 | "@rollup/plugin-node-resolve": "15.2.3",
|
---|
| 92 | "@rollup/pluginutils": "^5.1.0",
|
---|
| 93 | "@types/escape-html": "^1.0.4",
|
---|
| 94 | "@types/pnpapi": "^0.0.5",
|
---|
| 95 | "artichokie": "^0.2.1",
|
---|
| 96 | "cac": "^6.7.14",
|
---|
| 97 | "chokidar": "^3.6.0",
|
---|
| 98 | "connect": "^3.7.0",
|
---|
| 99 | "convert-source-map": "^2.0.0",
|
---|
| 100 | "cors": "^2.8.5",
|
---|
| 101 | "cross-spawn": "^7.0.3",
|
---|
| 102 | "debug": "^4.3.5",
|
---|
| 103 | "dep-types": "link:./src/types",
|
---|
| 104 | "dotenv": "^16.4.5",
|
---|
| 105 | "dotenv-expand": "^11.0.6",
|
---|
| 106 | "es-module-lexer": "^1.5.4",
|
---|
| 107 | "escape-html": "^1.0.3",
|
---|
| 108 | "estree-walker": "^3.0.3",
|
---|
| 109 | "etag": "^1.8.1",
|
---|
| 110 | "fast-glob": "^3.3.2",
|
---|
| 111 | "http-proxy": "^1.18.1",
|
---|
| 112 | "launch-editor-middleware": "^2.8.0",
|
---|
| 113 | "lightningcss": "^1.25.1",
|
---|
| 114 | "magic-string": "^0.30.10",
|
---|
| 115 | "micromatch": "^4.0.7",
|
---|
| 116 | "mlly": "^1.7.1",
|
---|
| 117 | "mrmime": "^2.0.0",
|
---|
| 118 | "open": "^8.4.2",
|
---|
| 119 | "parse5": "^7.1.2",
|
---|
| 120 | "pathe": "^1.1.2",
|
---|
| 121 | "periscopic": "^4.0.2",
|
---|
| 122 | "picocolors": "^1.0.1",
|
---|
| 123 | "picomatch": "^2.3.1",
|
---|
| 124 | "postcss-import": "^16.1.0",
|
---|
| 125 | "postcss-load-config": "^4.0.2",
|
---|
| 126 | "postcss-modules": "^6.0.0",
|
---|
| 127 | "resolve.exports": "^2.0.2",
|
---|
| 128 | "rollup-plugin-dts": "^6.1.1",
|
---|
| 129 | "rollup-plugin-esbuild": "^6.1.1",
|
---|
| 130 | "rollup-plugin-license": "^3.5.2",
|
---|
| 131 | "sass": "^1.77.8",
|
---|
| 132 | "sirv": "^2.0.4",
|
---|
| 133 | "source-map-support": "^0.5.21",
|
---|
| 134 | "strip-ansi": "^7.1.0",
|
---|
| 135 | "strip-literal": "^2.1.0",
|
---|
| 136 | "tsconfck": "^3.1.1",
|
---|
| 137 | "tslib": "^2.6.3",
|
---|
| 138 | "types": "link:./types",
|
---|
| 139 | "ufo": "^1.5.4",
|
---|
| 140 | "ws": "^8.18.0"
|
---|
| 141 | },
|
---|
| 142 | "peerDependencies": {
|
---|
| 143 | "@types/node": "^18.0.0 || >=20.0.0",
|
---|
| 144 | "less": "*",
|
---|
| 145 | "lightningcss": "^1.21.0",
|
---|
| 146 | "sass": "*",
|
---|
| 147 | "stylus": "*",
|
---|
| 148 | "sugarss": "*",
|
---|
| 149 | "terser": "^5.4.0"
|
---|
| 150 | },
|
---|
| 151 | "peerDependenciesMeta": {
|
---|
| 152 | "@types/node": {
|
---|
| 153 | "optional": true
|
---|
| 154 | },
|
---|
| 155 | "sass": {
|
---|
| 156 | "optional": true
|
---|
| 157 | },
|
---|
| 158 | "stylus": {
|
---|
| 159 | "optional": true
|
---|
| 160 | },
|
---|
| 161 | "less": {
|
---|
| 162 | "optional": true
|
---|
| 163 | },
|
---|
| 164 | "sugarss": {
|
---|
| 165 | "optional": true
|
---|
| 166 | },
|
---|
| 167 | "lightningcss": {
|
---|
| 168 | "optional": true
|
---|
| 169 | },
|
---|
| 170 | "terser": {
|
---|
| 171 | "optional": true
|
---|
| 172 | }
|
---|
| 173 | },
|
---|
| 174 | "scripts": {
|
---|
| 175 | "dev": "tsx scripts/dev.ts",
|
---|
| 176 | "build": "rimraf dist && run-s build-bundle build-types",
|
---|
| 177 | "build-bundle": "rollup --config rollup.config.ts --configPlugin esbuild",
|
---|
| 178 | "build-types": "run-s build-types-temp build-types-roll build-types-check",
|
---|
| 179 | "build-types-temp": "tsc --emitDeclarationOnly --outDir temp -p src/node",
|
---|
| 180 | "build-types-roll": "rollup --config rollup.dts.config.ts --configPlugin esbuild && rimraf temp",
|
---|
| 181 | "build-types-check": "tsc --project tsconfig.check.json",
|
---|
| 182 | "typecheck": "tsc --noEmit",
|
---|
| 183 | "lint": "eslint --cache --ext .ts src/**",
|
---|
| 184 | "format": "prettier --write --cache --parser typescript \"src/**/*.ts\""
|
---|
| 185 | }
|
---|
| 186 | } |
---|