card-drop/package.json

63 lines
1.9 KiB
JSON
Raw Permalink Normal View History

{
"name": "card-drop",
2024-10-12 20:53:05 +01:00
"version": "0.8.2",
"main": "./dist/bot.js",
"typings": "./dist",
"scripts": {
"clean": "rm -rf node_modules/ dist/",
"build": "tsc",
"start": "node ./dist/bot.js",
"test": "jest",
Add ESLint and fix issues (#133) # Description Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. - Add ESLint to the project - Fix issues which ESLint found #49 ## Type of change Please delete options that are not relevant. - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update # How Has This Been Tested? Please describe the tests that you ran to verify the changes. Provide instructions so we can reproduce. Please also list any relevant details to your test configuration. # Checklist - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that provde my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules Reviewed-on: https://gitea.vylpes.xyz/External/card-drop/pulls/133 Reviewed-by: VylpesTester <tester@vylpes.com> Co-authored-by: Ethan Lane <ethan@vylpes.com> Co-committed-by: Ethan Lane <ethan@vylpes.com>
2024-01-05 19:26:44 +00:00
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"db:up": "typeorm migration:run -d dist/database/dataSources/appDataSource.js",
"db:down": "typeorm migration:revert -d dist/database/dataSources/appDataSource.js",
"db:create": "typeorm migration:create ./src/database/migrations/app/new",
"release": "np --no-publish"
},
"repository": "https://git.vylpes.xyz/External/card-drop.git",
"author": "Ethan Lane <ethan@vylpes.com>",
"license": "MIT",
"bugs": {
"url": "https//git.vylpes.xyz/External/card-drop/issues",
"email": "helpdesk@vylpes.com"
},
"homepage": "https://gitea.vylpes.xyz/External/card-drop",
"funding": "https://ko-fi.com/vylpes",
"dependencies": {
Update dependency @discordjs/rest to v2 (#21) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@discordjs/rest](https://discord.js.org) ([source](https://github.com/discordjs/discord.js)) | dependencies | major | [`^1.1.0` -> `^2.0.0`](https://renovatebot.com/diffs/npm/@discordjs%2frest/1.7.1/2.0.1) | --- ### Release Notes <details> <summary>discordjs/discord.js (@&#8203;discordjs/rest)</summary> ### [`v2.0.1`](https://github.com/discordjs/discord.js/compare/d04987f09be7b4b8a075620afe186f1ccce63ede...84ead6e5540b519d2fcdeb4628be0a7346983d3c) [Compare Source](https://github.com/discordjs/discord.js/compare/d04987f09be7b4b8a075620afe186f1ccce63ede...84ead6e5540b519d2fcdeb4628be0a7346983d3c) ### [`v2.0.0`](https://github.com/discordjs/discord.js/compare/481bbc924fc28b5ac71c12f69afc7d69f77c04ff...d04987f09be7b4b8a075620afe186f1ccce63ede) [Compare Source](https://github.com/discordjs/discord.js/compare/481bbc924fc28b5ac71c12f69afc7d69f77c04ff...d04987f09be7b4b8a075620afe186f1ccce63ede) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzcuMC4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCJ9--> Reviewed-on: https://gitea.vylpes.xyz/External/card-drop/pulls/21 Reviewed-by: Vylpes <ethan@vylpes.com> Co-authored-by: Renovate Bot <renovate@vylpes.com> Co-committed-by: Renovate Bot <renovate@vylpes.com>
2023-10-09 11:55:47 +01:00
"@discordjs/rest": "^2.0.0",
2024-02-16 17:21:50 +00:00
"@types/clone-deep": "^4.0.4",
2024-10-28 12:03:12 +00:00
"@types/express": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/uuid": "^10.0.0",
Add google drive sync script (#68) # Description Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. - Add Google Drive Sync script - Add web hook to allow external scripts to trigger a card database reload > **NOTE:** This requires extra work once merged, need to implement the cron job for the script on the server #35 ## Type of change Please delete options that are not relevant. - [x] New feature (non-breaking change which adds functionality) # How Has This Been Tested? Please describe the tests that you ran to verify the changes. Provide instructions so we can reproduce. Please also list any relevant details to your test configuration. - This can't really be tested until its in the stage server, as it requires a server cron job setup - Have tested the web hook locally with `curl` and that part works # Checklist - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that provde my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules Reviewed-on: https://gitea.vylpes.xyz/External/card-drop/pulls/68 Reviewed-by: VylpesTester <tester@vylpes.com> Co-authored-by: Ethan Lane <ethan@vylpes.com> Co-committed-by: Ethan Lane <ethan@vylpes.com>
2023-11-03 19:35:49 +00:00
"body-parser": "^1.20.2",
"canvas": "^2.11.2",
2024-02-16 17:21:50 +00:00
"clone-deep": "^4.0.1",
"cron": "^3.1.7",
2024-10-28 12:03:12 +00:00
"discord.js": "^14.16.3",
"dotenv": "^16.0.0",
Add google drive sync script (#68) # Description Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. - Add Google Drive Sync script - Add web hook to allow external scripts to trigger a card database reload > **NOTE:** This requires extra work once merged, need to implement the cron job for the script on the server #35 ## Type of change Please delete options that are not relevant. - [x] New feature (non-breaking change which adds functionality) # How Has This Been Tested? Please describe the tests that you ran to verify the changes. Provide instructions so we can reproduce. Please also list any relevant details to your test configuration. - This can't really be tested until its in the stage server, as it requires a server cron job setup - Have tested the web hook locally with `curl` and that part works # Checklist - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that provde my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules Reviewed-on: https://gitea.vylpes.xyz/External/card-drop/pulls/68 Reviewed-by: VylpesTester <tester@vylpes.com> Co-authored-by: Ethan Lane <ethan@vylpes.com> Co-committed-by: Ethan Lane <ethan@vylpes.com>
2023-11-03 19:35:49 +00:00
"express": "^4.18.2",
"fuse.js": "^7.0.0",
"glob": "^11.0.0",
"jest": "^29.0.0",
"jest-mock-extended": "^3.0.0",
2024-10-28 12:03:12 +00:00
"jimp": "^1.6.0",
"mysql": "^2.18.1",
"ts-jest": "^29.0.0",
"typeorm": "0.3.20",
2024-10-28 12:03:12 +00:00
"winston": "^3.15.0",
"winston-daily-rotate-file": "^5.0.0",
"winston-discord-transport": "^1.3.0"
},
2024-10-28 12:03:12 +00:00
"resolutions": {},
"devDependencies": {
2024-10-28 12:03:12 +00:00
"@types/node": "^22.8.1",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"eslint": "^9.13.0",
"np": "^10.0.7",
2024-10-28 12:06:27 +00:00
"typescript": "^5.0.0",
"typescript-eslint": "^8.11.0"
}
}