-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 2.58 KB
/
package.json
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "pick-at-random",
"version": "0.0.1",
"description": "Pick Twitter users at random",
"license": "MIT",
"engines": {
"node": "22.x",
"yarn": "1.x.x"
},
"scripts": {
"format": "prettier --write .",
"format:check": "prettier --check ./src ./api",
"lint": "eslint ./src ./api",
"sanity-check": "yarn format:check && yarn lint",
"test": "NODE_ENV=test jest",
"test:watch": "NODE_ENV=test jest --watch --verbose true",
"test:codecov": "NODE_ENV=test jest --coverage=true",
"cleanup": "rm -rf build",
"prebuild:prod": "yarn cleanup",
"build:prod": "tsc --sourceMap false --declaration false -p ./",
"dev:twitter-webhook": "vercel dev",
"register-webhook": "NODE_ENV=development ts-node src/scripts/register-webhook",
"delete-webhook": "NODE_ENV=development ts-node src/scripts/delete-webhook",
"create-subscription": "NODE_ENV=development ts-node src/scripts/create-subscription",
"get-user-token": "NODE_ENV=development ts-node src/scripts/get-user-token",
"persist-mock-tweet": "NODE_ENV=development ts-node src/scripts/persist-mock-tweet",
"par-responder:deploy": "rm -rf .build && NODE_ENV=production yarn serverless deploy",
"par-responder:dashboard": "yarn serverless dashboard",
"par-responder:development": "NODE_ENV=development yarn serverless schedule",
"par-responder:offline": "NODE_ENV=development serverless offline",
"par-responder:logs": "yarn serverless logs -f computeAndRespond -t"
},
"devDependencies": {
"@types/jest": "^26.0.22",
"@types/minimist": "^1.2.1",
"@types/node": "^16.11.9",
"@types/redis-mock": "^0.17.0",
"@types/request": "^2.48.5",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"eslint": "^7.12.1",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"jest": "^26.6.3",
"minimist": "^1.2.5",
"node-mocks-http": "^1.10.1",
"nodemon": "^2.0.7",
"prettier": "^2.2.1",
"redis-mock": "^0.56.3",
"serverless-offline": "^8.3.1",
"serverless-plugin-typescript": "^1.1.9",
"ts-jest": "^26.5.3",
"ts-node": "^9.1.1",
"typescript": "4.2.3",
"vercel": "^22.0.1"
},
"dependencies": {
"chrono-node": "^2.2.6",
"dotenv": "^8.2.0",
"handy-redis": "^2.2.1",
"http-status-codes": "^2.1.4",
"moment": "^2.29.1",
"node-twitter-api": "^1.8.0",
"redis": "^3.1.2",
"request": "^2.88.2",
"serverless": "^2.38.0",
"twitter-api-v2": "^1.6.5"
}
}