1 | {
|
2 | "name": "vite",
|
3 | "version": "2.9.10",
|
4 | "license": "MIT",
|
5 | "author": "Evan You",
|
6 | "description": "Native-ESM powered web dev build tool",
|
7 | "bin": {
|
8 | "vite": "bin/vite.js"
|
9 | },
|
10 | "main": "dist/node/index.js",
|
11 | "types": "dist/node/index.d.ts",
|
12 | "files": [
|
13 | "bin",
|
14 | "dist",
|
15 | "client.d.ts",
|
16 | "src/client",
|
17 | "types"
|
18 | ],
|
19 | "engines": {
|
20 | "node": ">=12.2.0"
|
21 | },
|
22 | "repository": {
|
23 | "type": "git",
|
24 | "url": "git+https://github.com/vitejs/vite.git",
|
25 | "directory": "packages/vite"
|
26 | },
|
27 | "bugs": {
|
28 | "url": "https://github.com/vitejs/vite/issues"
|
29 | },
|
30 | "homepage": "https://github.com/vitejs/vite/tree/main/#readme",
|
31 | "scripts": {
|
32 | "dev": "rimraf dist && rollup -c -w",
|
33 | "build": "rimraf dist && npm run lint && run-s build-bundle build-types",
|
34 | "build-bundle": "rollup -c",
|
35 | "build-types": "run-s build-temp-types patch-types roll-types",
|
36 | "build-temp-types": "tsc --emitDeclarationOnly --outDir temp/node -p src/node",
|
37 | "ci-build": "rimraf dist && run-s build-bundle build-types",
|
38 | "patch-types": "ts-node scripts/patchTypes.ts",
|
39 | "roll-types": "api-extractor run && rimraf temp",
|
40 | "lint": "eslint --ext .ts src/**",
|
41 | "format": "prettier --write --parser typescript \"src/**/*.ts\"",
|
42 | "prepublishOnly": "npm run build"
|
43 | },
|
44 | "//": "READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!",
|
45 | "dependencies": {
|
46 | "esbuild": "^0.14.27",
|
47 | "postcss": "^8.4.13",
|
48 | "resolve": "^1.22.0",
|
49 | "rollup": "^2.59.0"
|
50 | },
|
51 | "optionalDependencies": {
|
52 | "fsevents": "~2.3.2"
|
53 | },
|
54 | "devDependencies": {
|
55 | "@ampproject/remapping": "^2.2.0",
|
56 | "@babel/parser": "^7.17.10",
|
57 | "@babel/types": "^7.17.10",
|
58 | "@jridgewell/trace-mapping": "^0.3.9",
|
59 | "@rollup/plugin-alias": "^3.1.9",
|
60 | "@rollup/plugin-commonjs": "^21.1.0",
|
61 | "@rollup/plugin-dynamic-import-vars": "^1.4.3",
|
62 | "@rollup/plugin-json": "^4.1.0",
|
63 | "@rollup/plugin-node-resolve": "13.2.1",
|
64 | "@rollup/plugin-typescript": "^8.3.2",
|
65 | "@rollup/pluginutils": "^4.2.1",
|
66 | "@types/convert-source-map": "^1.5.2",
|
67 | "@types/cross-spawn": "^6.0.2",
|
68 | "@types/debug": "^4.1.7",
|
69 | "@types/estree": "^0.0.51",
|
70 | "@types/etag": "^1.8.1",
|
71 | "@types/less": "^3.0.3",
|
72 | "@types/micromatch": "^4.0.2",
|
73 | "@types/mime": "^2.0.3",
|
74 | "@types/node": "^17.0.25",
|
75 | "@types/resolve": "^1.20.2",
|
76 | "@types/sass": "~1.43.1",
|
77 | "@types/stylus": "^0.48.37",
|
78 | "@types/ws": "^8.5.3",
|
79 | "@vue/compiler-dom": "^3.2.33",
|
80 | "acorn": "^8.7.1",
|
81 | "cac": "6.7.9",
|
82 | "chokidar": "^3.5.3",
|
83 | "connect": "^3.7.0",
|
84 | "connect-history-api-fallback": "^1.6.0",
|
85 | "convert-source-map": "^1.8.0",
|
86 | "cors": "^2.8.5",
|
87 | "cross-spawn": "^7.0.3",
|
88 | "debug": "^4.3.4",
|
89 | "dotenv": "^14.3.2",
|
90 | "dotenv-expand": "^5.1.0",
|
91 | "es-module-lexer": "^0.10.5",
|
92 | "estree-walker": "^2.0.2",
|
93 | "etag": "^1.8.1",
|
94 | "fast-glob": "^3.2.11",
|
95 | "http-proxy": "^1.18.1",
|
96 | "json5": "^2.2.1",
|
97 | "launch-editor-middleware": "^2.3.0",
|
98 | "magic-string": "^0.26.1",
|
99 | "micromatch": "^4.0.5",
|
100 | "mrmime": "^1.0.0",
|
101 | "node-forge": "^1.3.1",
|
102 | "okie": "^1.0.1",
|
103 | "open": "^8.4.0",
|
104 | "periscopic": "^2.0.3",
|
105 | "picocolors": "^1.0.0",
|
106 | "postcss-import": "^14.1.0",
|
107 | "postcss-load-config": "^3.1.4",
|
108 | "postcss-modules": "^4.3.1",
|
109 | "resolve.exports": "^1.1.0",
|
110 | "rollup-plugin-license": "^2.7.0",
|
111 | "sirv": "^2.0.2",
|
112 | "source-map-js": "^1.0.2",
|
113 | "source-map-support": "^0.5.21",
|
114 | "strip-ansi": "^6.0.1",
|
115 | "strip-literal": "^0.2.0",
|
116 | "terser": "^5.13.1",
|
117 | "tsconfck": "^1.2.2",
|
118 | "tslib": "^2.4.0",
|
119 | "types": "link:./types",
|
120 | "ws": "^8.6.0"
|
121 | },
|
122 | "peerDependencies": {
|
123 | "less": "*",
|
124 | "sass": "*",
|
125 | "stylus": "*"
|
126 | },
|
127 | "peerDependenciesMeta": {
|
128 | "sass": {
|
129 | "optional": true
|
130 | },
|
131 | "stylus": {
|
132 | "optional": true
|
133 | },
|
134 | "less": {
|
135 | "optional": true
|
136 | }
|
137 | }
|
138 | }
|