package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "name": "owncast-dependencies",
  3. "version": "1.0.0",
  4. "description": "Javascript dependencies for Owncast web app",
  5. "main": "index.js",
  6. "dependencies": {
  7. "@joeattardi/emoji-button": "^4.6.0",
  8. "@videojs/http-streaming": "2.11.1",
  9. "@videojs/themes": "^1.0.1",
  10. "htm": "^3.1.0",
  11. "mark.js": "^8.11.1",
  12. "micromodal": "^0.4.6",
  13. "preact": "10.5.10",
  14. "tailwindcss": "^1.9.6",
  15. "video.js": "7.15.4"
  16. },
  17. "devDependencies": {
  18. "cssnano": "^5.0.8",
  19. "postcss": "^8.3.9",
  20. "postcss-cli": "^9.0.1"
  21. },
  22. "snowpack": {
  23. "install": [
  24. "video.js/core.js",
  25. "@videojs/themes/fantasy/*",
  26. "@videojs/http-streaming/dist/videojs-http-streaming.min.js",
  27. "video.js/dist/video-js.min.css",
  28. "@joeattardi/emoji-button",
  29. "htm",
  30. "preact",
  31. "mark.js/dist/mark.es6.min.js",
  32. "tailwindcss/dist/tailwind.min.css",
  33. "micromodal/dist/micromodal.min.js"
  34. ],
  35. "alias": {
  36. "video.js": "video.js/core.js"
  37. }
  38. },
  39. "scripts": {
  40. "test": "echo \"Error: no test specified\" && exit 1",
  41. "build": "npm install && npx snowpack@2.18.4 install && cp node_modules/video.js/dist/video-js.min.css web_modules/videojs && rm -rf ../../webroot/js/web_modules && cp -R web_modules ../../webroot/js"
  42. },
  43. "author": "Owncast",
  44. "license": "ISC"
  45. }