tubapi-node/package.json
Cesar Mendivil b0e088b9de feat: integrate Vite for frontend development and build process
- Added Vite scripts for development, build, and preview in package.json
- Created README.md with instructions for frontend setup
- Added client/index.html as the main entry point for the frontend
- Implemented client/src/main.js for handling file uploads and UI interactions
- Added client/src/styles.css for styling the frontend components
- Configured Vite in vite.config.js for building the frontend assets
2026-03-21 20:27:18 -07:00

43 lines
1.3 KiB
JSON

{
"name": "enlace-directo-api",
"version": "1.0.0",
"description": "API de extracción de streaming y transcripciones para Enlace Directo News",
"main": "index.js",
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js",
"frontend:dev": "vite",
"frontend:build": "vite build",
"frontend:preview": "vite preview",
"clean-cookies": "sed -i 's/^[^#]*#/#/' cookies.txt",
"warm": "node -e 'require(\"./cookiewarmer.js\").warmAndExportCookies(\"PzWTM7YvGag\")'",
"install-browsers": "npx playwright install chromium",
"check-runtime": "/home/xesar/.nvm/versions/node/v20.19.4/bin/node --version",
"refresh": "node cookiewarmer.js",
"postinstall": "npx playwright install chromium",
"open-bot": "/usr/bin/google-chrome --user-data-dir=/home/xesar/bot-profile --no-first-run"
},
"keywords": [
"youtube-dl",
"streaming",
"m3u8",
"transcription"
],
"author": "Erik / Xesar",
"license": "MIT",
"dependencies": {
"express": "^4.18.2",
"multer": "^1.4.5-lts.1",
"playwright": "^1.58.2",
"playwright-extra": "^4.3.6",
"puppeteer-extra-plugin-stealth": "^2.11.2"
},
"devDependencies": {
"autoprefixer": "^10.4.27",
"nodemon": "^3.0.1",
"postcss": "^8.5.8",
"tailwindcss": "^4.2.2",
"vite": "^5.2.0"
}
}