Chore: update deps

This commit is contained in:
Pieter Vander Vennet 2024-10-07 21:50:29 +02:00
parent 570dacb89e
commit a9779163b8
3 changed files with 897 additions and 1491 deletions

2375
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
{ {
"name": "mastodon-bot", "name": "mastodon-bot",
"version": "0.0.3", "version": "0.0.4",
"author": "Pietervdvn", "author": "Pietervdvn",
"license": "GPL", "license": "GPL",
"description": "Experimenting with mastodon-bot", "description": "Experimenting with mastodon-bot",
@ -17,8 +17,7 @@
"build": "tsc", "build": "tsc",
"lint": "tslint --project ./tsconfig.json -t stylish", "lint": "tslint --project ./tsconfig.json -t stylish",
"start": "ts-node src/index.ts", "start": "ts-node src/index.ts",
"daily": "git pull && npm ci && ts-node src/index.ts 2>&1 | tee -a log_`date --iso-8601`.txt", "daily": "git pull && npm ci && ts-node src/index.ts 2>&1 | tee -a log_`date --iso-8601`.txt"
"test": "doctest-ts-improved src/ && mocha --require ts-node/register \"./**/*.doctest.ts\" && (find . -type f -name \"*.doctest.ts\" | xargs rm)"
}, },
"dependencies": { "dependencies": {
"@types/node-fetch": "^2.6.2", "@types/node-fetch": "^2.6.2",
@ -34,11 +33,11 @@
"node-fetch": "^3.3.0", "node-fetch": "^3.3.0",
"panoramax-js": "^0.3.7", "panoramax-js": "^0.3.7",
"showdown": "^2.1.0", "showdown": "^2.1.0",
"ts-node": "^10.7.0" "ts-node": "^10.9.2"
}, },
"devDependencies": { "devDependencies": {
"@types/mocha": "^9.1.1", "@types/mocha": "^9.1.1",
"@types/node": "^14.18.5", "@types/node": "^14.18.63",
"tslint": "^6.1.3", "tslint": "^6.1.3",
"typescript": "^4.7.4" "typescript": "^4.7.4"
} }

View file

@ -6,14 +6,14 @@
"esModuleInterop": true, "esModuleInterop": true,
"module": "commonjs", "module": "commonjs",
"moduleResolution": "node", "moduleResolution": "node",
"target": "es2015", "target": "es2022",
"noImplicitAny": false, "noImplicitAny": false,
"sourceMap": false, "sourceMap": false,
"outDir": "./lib", "outDir": "./lib",
"types": [ "types": [
"node" "node"
], ],
"lib": ["dom"] "lib": ["dom","es2022"]
}, },
"include": [ "include": [
"./src/**/*" "./src/**/*"