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

69
package-lock.json generated
View File

@ -9,8 +9,11 @@
"version": "1.0.0",
"license": "MIT",
"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"
}
},
"node_modules/@hapi/bourne": {
@ -596,17 +599,6 @@
"resolved": "https://registry.npmjs.org/@octokit/webhooks-types/-/webhooks-types-5.8.0.tgz",
"integrity": "sha512-8adktjIb76A7viIdayQSFuBEwOzwhDC+9yxZpKNHjfzrlostHCw0/N7JWpWMObfElwvJMk2fY2l1noENCk9wmw=="
},
"node_modules/@probot/adapter-aws-lambda-serverless": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/@probot/adapter-aws-lambda-serverless/-/adapter-aws-lambda-serverless-3.0.1.tgz",
"integrity": "sha512-NTWKJcDUiziZxUxnddSFsp/BaKz93PWqHHQWACHDt2qvsczuqwId9RSsCvY7AJ1s3czGsk0tbaSaYHl1Kb0uYA==",
"dependencies": {
"@probot/get-private-key": "^1.1.0",
"@types/aws-lambda": "^8.10.85",
"lowercase-keys": "^2.0.0",
"probot": "^12.1.1"
}
},
"node_modules/@probot/get-private-key": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@probot/get-private-key/-/get-private-key-1.1.1.tgz",
@ -738,11 +730,6 @@
"node": ">=6"
}
},
"node_modules/@types/aws-lambda": {
"version": "8.10.103",
"resolved": "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.103.tgz",
"integrity": "sha512-mYWsrM5YPmnyJru7kMDX8RYSc486sDqVOP1kUdotthD3YjJ57iTBN3N7MMtL1qdVoPW2YmCnNnWscyidmPe6Gw=="
},
"node_modules/@types/body-parser": {
"version": "1.19.2",
"resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz",
@ -1862,14 +1849,6 @@
"resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz",
"integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg=="
},
"node_modules/lowercase-keys": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
"integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==",
"engines": {
"node": ">=8"
}
},
"node_modules/lru_map": {
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/lru_map/-/lru_map-0.3.3.tgz",
@ -2649,6 +2628,18 @@
"node": ">= 0.6"
}
},
"node_modules/typescript": {
"version": "4.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz",
"integrity": "sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=4.2.0"
}
},
"node_modules/uglify-js": {
"version": "3.17.0",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.0.tgz",
@ -3297,17 +3288,6 @@
"resolved": "https://registry.npmjs.org/@octokit/webhooks-types/-/webhooks-types-5.8.0.tgz",
"integrity": "sha512-8adktjIb76A7viIdayQSFuBEwOzwhDC+9yxZpKNHjfzrlostHCw0/N7JWpWMObfElwvJMk2fY2l1noENCk9wmw=="
},
"@probot/adapter-aws-lambda-serverless": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/@probot/adapter-aws-lambda-serverless/-/adapter-aws-lambda-serverless-3.0.1.tgz",
"integrity": "sha512-NTWKJcDUiziZxUxnddSFsp/BaKz93PWqHHQWACHDt2qvsczuqwId9RSsCvY7AJ1s3czGsk0tbaSaYHl1Kb0uYA==",
"requires": {
"@probot/get-private-key": "^1.1.0",
"@types/aws-lambda": "^8.10.85",
"lowercase-keys": "^2.0.0",
"probot": "^12.1.1"
}
},
"@probot/get-private-key": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@probot/get-private-key/-/get-private-key-1.1.1.tgz",
@ -3414,11 +3394,6 @@
"tslib": "^1.9.3"
}
},
"@types/aws-lambda": {
"version": "8.10.103",
"resolved": "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.103.tgz",
"integrity": "sha512-mYWsrM5YPmnyJru7kMDX8RYSc486sDqVOP1kUdotthD3YjJ57iTBN3N7MMtL1qdVoPW2YmCnNnWscyidmPe6Gw=="
},
"@types/body-parser": {
"version": "1.19.2",
"resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz",
@ -4324,11 +4299,6 @@
"resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz",
"integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg=="
},
"lowercase-keys": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
"integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA=="
},
"lru_map": {
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/lru_map/-/lru_map-0.3.3.tgz",
@ -4932,6 +4902,11 @@
"mime-types": "~2.1.24"
}
},
"typescript": {
"version": "4.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.3.tgz",
"integrity": "sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig=="
},
"uglify-js": {
"version": "3.17.0",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.0.tgz",

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"
}
}