Files
YouTube.js/package.json
2022-07-20 16:28:51 -03:00

83 lines
2.6 KiB
JSON

{
"name": "youtubei.js",
"version": "2.0.0",
"description": "A full-featured wrapper around YouTube's private API. Allows you to retrieve info about any video, subscribe, unsubscribe, like, dislike, comment, search, download videos/music and much more!",
"main": "./dist/index.js",
"browser": "./bundle/browser.js",
"types": "./dist",
"author": "LuanRT <luan.lrt4@gmail.com> (https://github.com/LuanRT)",
"contributors": [
"Wykerd (https://github.com/wykerd/)",
"MasterOfBob777 (https://github.com/MasterOfBob777)"
],
"directories": {
"test": "./test",
"typings": "./dist",
"examples": "./examples",
"src": "./dist/src"
},
"scripts": {
"test": "npm run build:node && npx jest --verbose",
"lint": "npx eslint ./src",
"lint:fix": "npx eslint --fix ./src",
"build": "npm run build:node && npm run bundle:browser && npm run bundle:browser:prod",
"build:node": "npm run build:parser-map && npx tsc",
"build:parser-map": "node ./scripts/build-parser-json.js",
"bundle:browser": "npx esbuild ./dist/browser.js --banner:js=\"/* eslint-disable */\" --bundle --target=chrome58 --keep-names --format=esm --sourcemap --define:global=globalThis --outfile=./bundle/browser.js --platform=browser",
"bundle:browser:prod": "npm run bundle:browser -- --outfile=./bundle/browser.min.js --minify",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/LuanRT/YouTube.js.git"
},
"funding": "https://github.com/sponsors/LuanRT",
"license": "MIT",
"dependencies": {
"buffer": "^6.0.3",
"flat": "^5.0.2",
"protocol-buffers-encodings": "^1.1.1",
"undici": "^5.7.0",
"user-agents": "^1.0.1078",
"xml-js": "^1.6.11",
"xmlbuilder2": "^3.0.2"
},
"devDependencies": {
"@types/flat": "^5.0.2",
"@types/node": "^17.0.45",
"@types/user-agents": "^1.0.2",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"esbuild": "^0.14.49",
"eslint": "^8.19.0",
"eslint-plugin-tsdoc": "^0.2.16",
"glob": "^8.0.3",
"jest": "^28.1.3",
"typescript": "^4.7.4"
},
"bugs": {
"url": "https://github.com/LuanRT/YouTube.js/issues"
},
"homepage": "https://github.com/LuanRT/YouTube.js#readme",
"keywords": [
"yt",
"dl",
"ytdl",
"youtube",
"youtubedl",
"youtube-dl",
"youtube-downloader",
"innertube",
"innertubeapi",
"unofficial",
"downloader",
"livechat",
"ytmusic",
"dislike",
"search",
"comment",
"music",
"like",
"api"
]
}