Added npm run upgrade to keep packages up to date

This commit is contained in:
Alexander Borsuk 2022-10-06 12:41:02 +02:00
parent 5214c90566
commit 315dae0e3d

View file

@ -7,7 +7,8 @@
"scripts": {
"build": "esbuild src/index.ts --bundle --outfile=workers-site/index.js",
"test": "eslint src/**/*.ts && tsc --noEmit",
"format": "prettier --write 'src/**/*.{ts,tsx,json}' public/*.json"
"format": "prettier --write 'src/**/*.{ts,tsx,json}' public/*.json",
"upgrade": "npx npm-check-updates -u && npm install"
},
"author": "Alexander Borsuk <me@alex.bio>",
"license": "MIT",