ota-tv-web/package.json
2025-04-01 16:29:56 -07:00

22 lines
738 B
JSON

{
"dependencies": {
"@roamhq/wrtc": "^0.8.0",
"node-pre-gyp": "^0.17.0",
"ws": "^8.18.0"
},
"scripts": {
"build:scss": "npx sass src/static/css:dist/static/css",
"copy:html": "cp src/static/index.html dist/static",
"build:js:fe": "npx tsc src/static/js/*.ts --outDir dist/static/js",
"build:js:be": "npx tsc --skipLibCheck src/*.ts --outDir dist",
"build": "npm run build:js:fe && npm run build:js:be && npm run build:scss && npm run copy:html",
"start": "npm run build && node dist/server.js",
"dev": "npm run build && npx ts-node src/server.ts"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/ws": "^8.5.13",
"ts-node": "^10.9.2",
"typescript": "^5.8.2"
}
}