Migrated from Parcel to Vite
This commit is contained in:
25
package.json
25
package.json
@@ -6,12 +6,12 @@
|
||||
"dev": "nodemon dist/main.js",
|
||||
"start": "node dist/main.js",
|
||||
"watch": "tsc --build -w",
|
||||
"build": "parcel build ./frontend/index.html --dist-dir ./dist/frontend",
|
||||
"build": "vite build",
|
||||
"build-server": "tsc --build",
|
||||
"build-all": "tsc --build && npm run build && npm run fetch",
|
||||
"clean": "tsc --build --clean",
|
||||
"clean-all": "rm -r dist",
|
||||
"fe": "parcel ./frontend/index.html --open",
|
||||
"fe": "vite",
|
||||
"fetch-dev": "./fetch-yt-dlp.sh && mv yt-dlp ./server/core",
|
||||
"fetch": "./fetch-yt-dlp.sh && mv yt-dlp ./dist/core"
|
||||
},
|
||||
@@ -38,29 +38,18 @@
|
||||
"uuid": "^8.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@parcel/transformer-yaml": "^2.5.0",
|
||||
"@modyfi/vite-plugin-yaml": "^1.0.2",
|
||||
"@types/koa": "^2.13.4",
|
||||
"@types/koa-router": "^7.4.4",
|
||||
"@types/mime-types": "^2.1.1",
|
||||
"@types/node": "^17.0.31",
|
||||
"@types/react-router-dom": "^5.3.3",
|
||||
"@types/uuid": "^8.3.4",
|
||||
"@vitejs/plugin-react": "^1.3.2",
|
||||
"buffer": "^6.0.3",
|
||||
"parcel": "^2.5.0",
|
||||
"path-browserify": "^1.0.1",
|
||||
"process": "^0.11.10",
|
||||
"typescript": "^4.6.4"
|
||||
},
|
||||
"pnpm": {
|
||||
"peerDependencyRules": {
|
||||
"ignoreMissing": [
|
||||
"@babel/core",
|
||||
"@parcel/core",
|
||||
"@parcel/core@^2.5.0",
|
||||
"@babel/core@^7.0.0-0",
|
||||
"@babel/core@^7.0.0",
|
||||
"@babel/plugin-syntax-jsx"
|
||||
]
|
||||
}
|
||||
"typescript": "^4.6.4",
|
||||
"vite": "^2.9.10"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user