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

View file

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