mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 19:12:24 +00:00
* Prefer `c ? x : y` over `c && x || y` * Avoid unnecessary asssignment expressions * Prefer switch statements over object lookup tables * Add an .editorconfig * Fix style issues * Fix mentioned issues * remove dynamic require * Introduce esbuild as a build system * Add cross platform stream api * Replace 'fs' with custom cache api * Add cross platform crypto api * Add misc. dependencies * Create multi-platform tests * Update package-lock, Add build files * Pull from upstream * Fix linting issues, and update build files * Fix comments issues * Regenerate types, add source maps Co-authored-by: bob <bob.varioa@gmail.com>
21 lines
412 B
JSON
21 lines
412 B
JSON
{
|
|
"compilerOptions": {
|
|
"declaration": true,
|
|
"emitDeclarationOnly": true,
|
|
"allowJs": true,
|
|
"outDir": "./typings",
|
|
"lib": ["ESNext", "DOM"],
|
|
"target": "ESNext",
|
|
"moduleResolution": "node",
|
|
"typeRoots": ["./types"],
|
|
"allowSyntheticDefaultImports": true
|
|
},
|
|
"include": [
|
|
"./lib/Innertube.js",
|
|
"./index.js"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"**/*.d.ts"
|
|
]
|
|
} |