UNPKG

youtube-iframe-ctrl

Version:

Simple YouTube iFrame controller with no additional dependencies and no YouTube iFrame API script.

42 lines (41 loc) 1.24 kB
{ "name": "youtube-iframe-ctrl", "version": "1.0.3", "description": "Simple YouTube iFrame controller with no additional dependencies and no YouTube iFrame API script.", "author": "mich418 <github@michal.dev> (https://michal.dev)", "funding": "https://www.buymeacoffee.com/mihauco", "repository": { "type": "git", "url": "git+https://github.com/mich418/youtube-iframe-ctrl.git" }, "keywords": [ "youtube", "iframe", "controller", "api" ], "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "scripts": { "clean": "rimraf dist", "watch": "npm run clean && tsc -w", "build": "npm run clean && tsc && node fixExtension.js", "build-demo": "npm run build && cp dist/YouTubeIFrameCtrl.js demo/YouTubeIFrameCtrl.js", "serve-demo": "npm run build-demo && http-server demo", "deploy-demo": "npm run build-demo && gh-pages -d demo", "test": "jest" }, "devDependencies": { "@types/jest": "^29.5.12", "gh-pages": "^6.1.1", "http-server": "14.1.1", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jsdom": "^24.1.1", "rimraf": "6.0.1", "ts-jest": "^29.2.4", "typescript": "5.5.4" } }