diff --git a/README.md b/README.md index e8901dc..9be04cf 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Piped API -This is the API wrapper for Piped in Node.js (Typescript). +This is the API wrapper for [Piped](https://github.com/TeamPiped/Piped) in Node.js (Typescript). ## Installation diff --git a/package-lock.json b/package-lock.json index 199e68c..965e13c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "piped-api", - "version": "1.0.0", + "version": "1.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "piped-api", - "version": "1.0.0", + "version": "1.0.2", "license": "MIT", "dependencies": { "got": "^13.0.0" diff --git a/package.json b/package.json index 8883d44..c2a3bbd 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { "name": "piped-api", - "version": "1.0.0", + "version": "1.0.2", "description": "", "main": "dist/index.js", + "type": "module", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "tsc", diff --git a/tsconfig.json b/tsconfig.json index f36cc59..151dc4e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,7 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, + "target": "ES2020" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ @@ -25,7 +25,7 @@ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ /* Modules */ - "module": "commonjs" /* Specify what module code is generated. */, + "module": "ES2020" /* Specify what module code is generated. */, // "rootDir": "./", /* Specify the root folder within your source files. */ // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */