1 | {
|
2 | "name": "vite",
|
3 | "version": "2.4.1",
|
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",
|
17 | "types",
|
18 | "!/src/**/__tests__/"
|
19 | ],
|
20 | "engines": {
|
21 | "node": ">=12.0.0"
|
22 | },
|
23 | "repository": {
|
24 | "type": "git",
|
25 | "url": "git+https://github.com/vitejs/vite.git",
|
26 | "directory": "packages/vite"
|
27 | },
|
28 | "bugs": {
|
29 | "url": "https://github.com/vitejs/vite/issues"
|
30 | },
|
31 | "homepage": "https://github.com/vitejs/vite/tree/main/#readme",
|
32 | "scripts": {
|
33 | "predev": "rimraf dist",
|
34 | "dev": "run-p dev-client dev-node",
|
35 | "dev-client": "tsc -w --incremental --p src/client",
|
36 | "dev-node": "tsc -w --incremental --p src/node",
|
37 | "prebuild": "rimraf dist && yarn lint",
|
38 | "build": "run-s build-bundle build-types",
|
39 | "build-bundle": "rollup -c",
|
40 | "build-types": "run-s build-temp-types patch-types roll-types",
|
41 | "build-temp-types": "tsc --emitDeclarationOnly --outDir temp/node -p src/node",
|
42 | "ci-build": "rimraf dist && yarn run-s build-bundle build-types",
|
43 | "patch-types": "node scripts/patchTypes",
|
44 | "roll-types": "api-extractor run && rimraf temp",
|
45 | "lint": "eslint --ext .ts src/**",
|
46 | "format": "prettier --write --parser typescript \"src/**/*.ts\"",
|
47 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path .",
|
48 | "release": "node ../../scripts/release.js"
|
49 | },
|
50 | "//": "READ .github/contributing.md to understand what to put under deps vs. devDeps!",
|
51 | "dependencies": {
|
52 | "esbuild": "^0.12.8",
|
53 | "postcss": "^8.3.5",
|
54 | "resolve": "^1.20.0",
|
55 | "rollup": "^2.38.5"
|
56 | },
|
57 | "optionalDependencies": {
|
58 | "fsevents": "~2.3.2"
|
59 | },
|
60 | "devDependencies": {
|
61 | "@ampproject/remapping": "^1.0.1",
|
62 | "@rollup/plugin-alias": "^3.1.2",
|
63 | "@rollup/plugin-commonjs": "^19.0.0",
|
64 | "@rollup/plugin-dynamic-import-vars": "^1.1.1",
|
65 | "@rollup/plugin-json": "^4.1.0",
|
66 | "@rollup/plugin-node-resolve": "13.0.0",
|
67 | "@rollup/plugin-typescript": "^8.2.1",
|
68 | "@rollup/pluginutils": "^4.1.0",
|
69 | "@types/clean-css": "^4.2.4",
|
70 | "@types/convert-source-map": "^1.5.1",
|
71 | "@types/debug": "^4.1.6",
|
72 | "@types/es-module-lexer": "^0.3.0",
|
73 | "@types/estree": "^0.0.49",
|
74 | "@types/etag": "^1.8.0",
|
75 | "@types/less": "^3.0.2",
|
76 | "@types/mime": "^2.0.3",
|
77 | "@types/node": "^15.12.2",
|
78 | "@types/resolve": "^1.20.0",
|
79 | "@types/sass": "^1.16.0",
|
80 | "@types/stylus": "^0.48.36",
|
81 | "@types/ws": "^7.4.6",
|
82 | "@vue/compiler-dom": "^3.1.4",
|
83 | "acorn": "^8.4.1",
|
84 | "acorn-class-fields": "^1.0.0",
|
85 | "acorn-numeric-separator": "^0.3.6",
|
86 | "acorn-static-class-features": "^1.0.0",
|
87 | "brotli-size": "^4.0.0",
|
88 | "builtin-modules": "^3.2.0",
|
89 | "cac": "^6.7.3",
|
90 | "chalk": "^4.1.1",
|
91 | "chokidar": "^3.5.2",
|
92 | "clean-css": "^5.1.3",
|
93 | "compression": "^1.7.4",
|
94 | "connect": "^3.7.0",
|
95 | "connect-history-api-fallback": "^1.6.0",
|
96 | "convert-source-map": "^1.8.0",
|
97 | "cors": "^2.8.5",
|
98 | "debug": "^4.3.2",
|
99 | "dotenv": "^10.0.0",
|
100 | "dotenv-expand": "^5.1.0",
|
101 | "es-module-lexer": "^0.6.0",
|
102 | "estree-walker": "^2.0.2",
|
103 | "etag": "^1.8.1",
|
104 | "execa": "^5.1.1",
|
105 | "fast-glob": "^3.2.6",
|
106 | "http-proxy": "^1.18.1",
|
107 | "launch-editor-middleware": "^2.2.1",
|
108 | "magic-string": "^0.25.7",
|
109 | "mime": "^2.5.2",
|
110 | "minimatch": "^3.0.4",
|
111 | "okie": "^1.0.1",
|
112 | "open": "^8.2.1",
|
113 | "periscopic": "^2.0.3",
|
114 | "postcss-import": "^14.0.2",
|
115 | "postcss-load-config": "^3.0.0",
|
116 | "postcss-modules": "^4.1.3",
|
117 | "resolve.exports": "^1.0.2",
|
118 | "rollup-plugin-license": "^2.5.0",
|
119 | "selfsigned": "^1.10.11",
|
120 | "sirv": "^1.0.12",
|
121 | "source-map": "^0.6.1",
|
122 | "source-map-support": "^0.5.19",
|
123 | "strip-ansi": "^6.0.0",
|
124 | "terser": "^5.7.1",
|
125 | "tslib": "^2.3.0",
|
126 | "types": "link:./types",
|
127 | "ws": "^7.5.2"
|
128 | }
|
129 | }
|