-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
32 lines (32 loc) · 1.16 KB
/
Copy pathpackage.json
File metadata and controls
32 lines (32 loc) · 1.16 KB
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
31
32
{
"name": "sunbot",
"version": "1.0.0",
"description": "Serverless Discord bot that may or may not shine brighter than the sun (more than likely the latter)",
"main": "src/index.js",
"type": "module",
"scripts": {
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"precommit": "echo -e '#!/usr/bin/sh\n\nnpm test' > .git/hooks/pre-commit && chmod 755 .git/hooks/pre-commit",
"zip": "rm -f sunbot.zip && zip -qr sunbot.zip .",
"push": "aws lambda update-function-code --function-name sunbot --zip-file fileb://sunbot.zip",
"register": "node src/run_register_commands.js",
"deploy": "npm install --only=prod && npm run zip && npm run push && npm run register"
},
"author": "David Scholberg <recombinant.vector@gmail.com>",
"license": "BSD-2-Clause",
"dependencies": {
"axios": "^0.27.2",
"convert-units": "^2.3.4",
"discord-interactions": "^3.2.0",
"dotenv": "^16.0.2",
"form-data": "^4.0.0"
},
"devDependencies": {
"eslint": "^8.23.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.0.4",
"eslist": "^1.0.0-beta.1",
"jest": "^29.0.3"
}
}