-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 893 Bytes
/
package.json
File metadata and controls
30 lines (30 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"name": "daily-challenge",
"description": "Find a daily LeetCode challenge problem to post to the server.",
"version": "0.0.1",
"main": "dist/index.js",
"author": "Eli",
"engines": {
"node": ">=16"
},
"scripts": {
"start": "functions-framework --target=sendTodaysProblems",
"start-dev": "NODE_ENV=dev ts-node src/index.ts",
"test": "npm run build && npm start",
"build": "npm run clean && tsc --build",
"clean": "tsc --build --clean",
"gcp-build": "npm run build",
"deploy": "gcloud functions deploy nodejs-http-function --gen2 --runtime=nodejs16 --region=us-east1 --entry-point=sendTodaysProblems --trigger-http"
},
"dependencies": {
"@google-cloud/functions-framework": "^3.1.3",
"axios": "^0.21.4",
"discord.js": "^14.7.1",
"dotenv": "^10.0.0",
"leetcode-query": "^0.2.7"
},
"devDependencies": {
"ts-node": "^10.9.1",
"typescript": "^5.0.3"
}
}