-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 6.26 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 6.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "popyt",
"version": "9.0.0",
"description": "A very easy to use promise-based Youtube Data v3 API.",
"homepage": "https://popyt.brandonsbench.net",
"main": "out/src/index.js",
"types": "typings/src/index.d.ts",
"scripts": {
"test": "yarn mocha -R mocha-multi --exit --require ts-node/register/transpile-only --require source-map-support/register --recursive \"./tests/*.spec.ts\" --timeout 30000 --reporter-options list=-,xunit=./coverage/tests-dev.junit.xml",
"test:oauth": "yarn mocha -R mocha-multi --exit --require ts-node/register/transpile-only --require source-map-support/register --recursive \"./tests/oauth/*.spec.ts\" --timeout 30000 --reporter-options list=-,xunit=./coverage/tests-oauth.junit.xml",
"test:oauth:captions": "yarn mocha -R mocha-multi --exit --require ts-node/register/transpile-only --require source-map-support/register --recursive \"./tests/oauth/captions.spec.ts\" --timeout 30000 --reporter-options list=-,xunit=./coverage/tests-oauth-captions.junit.xml",
"test:oauth:channels": "yarn mocha -R mocha-multi --exit --require ts-node/register/transpile-only --require source-map-support/register --recursive \"./tests/oauth/channels.spec.ts\" --timeout 30000 --reporter-options list=-,xunit=./coverage/tests-oauth-channels.junit.xml",
"test:oauth:comments": "yarn mocha -R mocha-multi --exit --require ts-node/register/transpile-only --require source-map-support/register --recursive \"./tests/oauth/comments.spec.ts\" --timeout 30000 --reporter-options list=-,xunit=./coverage/tests-oauth-comments.junit.xml",
"test:oauth:videos": "yarn mocha -R mocha-multi --exit --require ts-node/register/transpile-only --require source-map-support/register --recursive \"./tests/oauth/videos.spec.ts\" --timeout 30000 --reporter-options list=-,xunit=./coverage/tests-oauth-videos.junit.xml",
"test:oauth:playlists": "yarn mocha -R mocha-multi --exit --require ts-node/register/transpile-only --require source-map-support/register --recursive \"./tests/oauth/playlists.spec.ts\" --timeout 30000 --reporter-options list=-,xunit=./coverage/tests-oauth-playlists.junit.xml",
"test:http": "yarn mocha -R mocha-multi --exit --require ts-node/register/transpile-only --require source-map-support/register --recursive \"./tests/request.spec.ts\" --timeout 30000 --reporter-options list=-,xunit=./coverage/tests-http.junit.xml",
"test:comments": "yarn mocha -R mocha-multi --exit --require ts-node/register/transpile-only --require source-map-support/register --recursive \"./tests/comments.spec.ts\" --timeout 30000 --reporter-options list=-,xunit=./coverage/tests-comments.junit.xml",
"test:youtube": "yarn mocha -R mocha-multi --exit --require ts-node/register/transpile-only --require source-map-support/register --recursive \"./tests/youtube.spec.ts\" --timeout 30000 --reporter-options list=-,xunit=./coverage/tests-youtube.junit.xml",
"test:playlist-items": "yarn mocha -R mocha-multi --exit --require ts-node/register/transpile-only --require source-map-support/register --recursive \"./tests/playlist-items.spec.ts\" --timeout 30000 --reporter-options list=-,xunit=./coverage/tests-playlist-items.junit.xml",
"test:subscriptions": "yarn mocha -R mocha-multi --exit --require ts-node/register/transpile-only --require source-map-support/register --recursive \"./tests/subscription.spec.ts\" --timeout 30000 --reporter-options list=-,xunit=./coverage/tests-subscriptions.junit.xml",
"test:all": "yarn mocha -R mocha-multi --exit --require ts-node/register/transpile-only --require source-map-support/register --recursive \"./tests/**/*.spec.ts\" --timeout 30000 --reporter-options list=-,xunit=./coverage/tests-release.junit.xml",
"coverage": "tsc && cross-env NODE_ENV=test nyc --reporter=json yarn test",
"coverage:all": "tsc && cross-env NODE_ENV=test nyc --reporter=json yarn test:all",
"coverage:all:html": "tsc && cross-env NODE_ENV=test nyc --reporter=lcov yarn test:all",
"coverage:html": "tsc && cross-env NODE_ENV=test nyc --reporter=lcov yarn test",
"coverage:text": "tsc && cross-env NODE_ENV=test nyc --reporter=text yarn test",
"docs:build:config": "yarn workspace docusaurus build:config",
"docs:build": "yarn workspace docusaurus build",
"docs:publish": "yarn workspace docusaurus deploy",
"docs:serve": "yarn workspace docusaurus serve",
"docs:test": "yarn workspace docusaurus start",
"lint": "eslint .",
"build": "rimraf -- ./out/ ./typings/ && tsc --project tsconfig.build.json && ts-node ./scripts/release-prep.ts",
"publish": "yarn build && cd out && npm login && npm publish"
},
"nyc": {
"include": "src"
},
"workspaces": [
"docusaurus"
],
"author": {
"name": "Brandon Bothell",
"email": "bothellbrandon@gmail.com"
},
"license": "Unlicense",
"keywords": [
"youtube",
"youtube search",
"youtube api",
"youtube videos",
"youtube channels",
"promise",
"promise based",
"no dependencies",
"caching"
],
"devDependencies": {
"@docusaurus/tsconfig": "3.10.0",
"@eslint/compat": "2.0.5",
"@eslint/eslintrc": "3.3.5",
"@eslint/js": "10.0.1",
"@googleapis/youtube": "31.0.0",
"@istanbuljs/nyc-config-typescript": "1.0.2",
"@stylistic/eslint-plugin": "5.10.0",
"@types/chai": "5.2.3",
"@types/gulp": "4.0.18",
"@types/gulp-sourcemaps": "0.0.38",
"@types/merge2": "1.4.4",
"@types/mocha": "10.0.10",
"@types/node": "25.6.0",
"@types/react": "19.2.14",
"@typescript-eslint/eslint-plugin": "8.59.0",
"@typescript-eslint/parser": "8.59.0",
"chai": "6.2.2",
"cross-env": "10.1.0",
"dotenv": "17.4.2",
"eslint": "10.2.1",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jsdoc": "62.9.0",
"eslint-plugin-unused-imports": "4.4.1",
"globals": "17.5.0",
"jiti": "2.6.1",
"mocha": "11.7.5",
"mocha-junit-reporter": "2.2.1",
"mocha-multi": "1.1.7",
"nyc": "18.0.0",
"rimraf": "6.1.3",
"source-map-support": "0.5.21",
"ts-node": "10.9.2",
"typescript": "6.0.3",
"undici-types": "8.1.0"
},
"resolutions": {
"nyc/node-preload": "0.2.0",
"webpackbar": "7.0.0"
},
"engines": {
"node": ">=18.0 <24.15 || >=25.0 <25.7"
},
"repository": {
"url": "git+https://github.com/brandonbothell/popyt.git"
},
"packageManager": "yarn@4.14.1"
}