diff --git a/package-lock.json b/package-lock.json index 228695c..f0a05b2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,19 @@ { - "name": "discord-fetch", - "version": "1.0.0", + "name": "discord-fetch-messages", + "version": "1.1.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "1.0.0", + "name": "discord-fetch-messages", + "version": "1.1.1", "devDependencies": { "discord.js": "^12.4.0", - "prettier": "^2.1.2" + "prettier": "^2.1.2", + "typescript": "^4.1.2" }, "engines": { + "discord.js": ">=12.0.0", "node": ">=14.0.0" } }, @@ -181,6 +184,19 @@ "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==", "dev": true }, + "node_modules/typescript": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.2.tgz", + "integrity": "sha512-thGloWsGH3SOxv1SoY7QojKi0tc+8FnOmiarEGMbd/lar7QOEd3hvlx3Fp5y6FlDUGl9L+pd4n2e+oToGMmhRQ==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, "node_modules/ws": { "version": "7.3.1", "resolved": "https://registry.npmjs.org/ws/-/ws-7.3.1.tgz", @@ -319,6 +335,12 @@ "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==", "dev": true }, + "typescript": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.2.tgz", + "integrity": "sha512-thGloWsGH3SOxv1SoY7QojKi0tc+8FnOmiarEGMbd/lar7QOEd3hvlx3Fp5y6FlDUGl9L+pd4n2e+oToGMmhRQ==", + "dev": true + }, "ws": { "version": "7.3.1", "resolved": "https://registry.npmjs.org/ws/-/ws-7.3.1.tgz", diff --git a/package.json b/package.json index 7797237..c8b0ffe 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "description": "A npm package for fetching messages from a Discord Guild or a Discord Channel.", "devDependencies": { "discord.js": "^12.4.0", - "prettier": "^2.1.2" + "prettier": "^2.1.2", + "typescript": "^4.1.2" }, "engineStrict": true, "engines": { @@ -27,6 +28,7 @@ "trailingComma": "es5", "useTabs": true }, + "types": "./types/main.d.ts", "readme": "https://github.com/Ayfri/discord-fetch/blob/main/README.md", "repository": { "type": "git",