Skip to content

Commit

Permalink
refactor: re-organize into monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 6, 2020
1 parent 9422edf commit 629302b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 174 deletions.
150 changes: 6 additions & 144 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,150 +1,12 @@
{
"name": "vite",
"version": "1.0.0-rc.13",
"license": "MIT",
"author": "Evan You",
"description": "Native-ESM powered web dev build tool. It's fast.",
"bin": {
"vite": "bin/vite.js"
},
"main": "dist/node/index.js",
"types": "dist/node/index.d.ts",
"files": [
"bin",
"src",
"dist/**/*.js",
"dist/**/*.js.map",
"dist/**/*.d.ts"
"name": "vite-monorepo",
"private": true,
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=10.16.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vitejs/vite.git"
},
"bugs": {
"url": "https://github.com/vitejs/vite/issues"
},
"homepage": "https://github.com/vitejs/vite/tree/master/#readme",
"scripts": {
"dev": "run-p dev-client dev-node",
"dev-client": "tsc -w --incremental --p src/client",
"dev-node": "tsc -w --incremental --p src/node",
"build": "rimraf dist && tsc -p src/client && tsc -p src/node && node scripts/patchTypes",
"lint": "prettier --write --parser typescript \"src/**/*.ts\"",
"test": "jest --clearCache && jest --runInBand --forceExit",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"release": "node scripts/release.js"
},
"gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "node scripts/verifyCommit.js"
},
"lint-staged": {
"*.js": [
"prettier --write"
],
"*.ts": [
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@babel/parser": "^7.12.7",
"@koa/cors": "^3.1.0",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@rollup/pluginutils": "^4.1.0",
"@types/http-proxy": "^1.17.4",
"@types/koa": "^2.11.4",
"@types/lru-cache": "^5.1.0",
"@vue/compiler-dom": "^3.0.3",
"@vue/compiler-sfc": "^3.0.3",
"brotli-size": "^4.0.0",
"cac": "^6.6.1",
"chalk": "^4.1.0",
"chokidar": "^3.4.2",
"clean-css": "^4.2.3",
"debug": "^4.3.1",
"dotenv": "^8.2.0",
"dotenv-expand": "^5.1.0",
"es-module-lexer": "^0.3.25",
"esbuild": "^0.8.12",
"etag": "^1.8.1",
"execa": "^4.0.3",
"fs-extra": "^9.0.1",
"hash-sum": "^2.0.0",
"isbuiltin": "^1.0.0",
"klona": "^2.0.4",
"koa": "^2.13.0",
"koa-conditional-get": "^3.0.0",
"koa-etag": "^4.0.0",
"koa-proxies": "^0.11.0",
"koa-send": "^5.0.1",
"koa-static": "^5.0.0",
"lru-cache": "^6.0.0",
"magic-string": "^0.25.7",
"merge-source-map": "^1.1.0",
"mime-types": "^2.1.27",
"minimist": "^1.2.5",
"open": "^7.2.1",
"ora": "^5.1.0",
"postcss-discard-comments": "^4.0.2",
"postcss-import": "^12.0.1",
"postcss-load-config": "^3.0.0",
"resolve": "^1.17.0",
"rollup": "^2.32.1",
"rollup-plugin-dynamic-import-variables": "^1.1.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-vue": "^6.0.0",
"rollup-plugin-web-worker-loader": "^1.3.1",
"selfsigned": "^1.10.8",
"slash": "^3.0.0",
"source-map": "^0.7.3",
"vue": "^3.0.3",
"ws": "^7.3.1"
},
"devDependencies": {
"@babel/runtime": "7.12.5",
"@babel/types": "^7.12.7",
"@types/es-module-lexer": "^0.3.0",
"@types/fs-extra": "^9.0.1",
"@types/hash-sum": "^1.0.0",
"@types/jest": "^26.0.13",
"@types/mime-types": "^2.1.0",
"@types/node": "^14.14.9",
"@types/postcss-import": "^12.0.0",
"@types/postcss-load-config": "^2.0.1",
"@types/serve-handler": "^6.1.0",
"@types/ws": "^7.2.6",
"bootstrap": "^4.5.0",
"conventional-changelog-cli": "^2.0.31",
"cross-env": "^7.0.2",
"enquirer": "^2.3.6",
"jest": "^26.4.2",
"js-yaml": "^3.14.0",
"less": "^3.11.2",
"lint-staged": "^10.1.6",
"lodash-es": "^4.17.15",
"moment": "^2.26.0",
"normalize.css": "^8.0.1",
"@types/node": "^14.14.10",
"npm-run-all": "^4.1.5",
"postcss-nesting": "^7.0.1",
"preact": "^10.4.1",
"prettier": "^2.2.0",
"prop-types": "^15.7.2",
"pug": "^3.0.0",
"puppeteer": "^5.5.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"rimraf": "^3.0.2",
"sass": "^1.26.5",
"semver": "^7.3.2",
"source-map-support": "^0.5.19",
"typescript": "^4.1.2",
"vue-router": "^4.0.0-rc.1",
"vuex": "^4.0.0-beta.4",
"yorkie": "^2.0.0"
"typescript": "^4.1.2"
}
}
4 changes: 4 additions & 0 deletions packages/plugin-vue/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "@vitejs/plugin-vue",
"version": "1.0.0"
}
21 changes: 0 additions & 21 deletions playground/package.json

This file was deleted.

9 changes: 0 additions & 9 deletions playground/tsconfig.json

This file was deleted.

0 comments on commit 629302b

Please sign in to comment.