Add build and start commands

This commit is contained in:
Maciej Pędzich
2022-09-12 12:45:32 +02:00
parent cc9fde9843
commit d979c26a8b
2 changed files with 29 additions and 51 deletions

View File

@@ -2,9 +2,9 @@
"name": "mackorone-playlist-pr-bot",
"version": "1.0.0",
"description": "GitHub bot that automatically verifies PRs with new playlist entries",
"main": "dist/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"build": "tsc",
"start": "probot run ./dist/index.js"
},
"repository": {
"type": "git",
@@ -17,7 +17,10 @@
},
"homepage": "https://github.com/maciejpedzich/mackorone-playlist-pr-bot#readme",
"dependencies": {
"@probot/adapter-aws-lambda-serverless": "^3.0.1",
"probot": "^12.2.8"
"probot": "^12.2.8",
"typescript": "^4.8.3"
},
"engines": {
"node": ">=16.x"
}
}