-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
80 lines (80 loc) · 2.49 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
72
73
74
75
76
77
78
79
80
{
"name": "ammobin-api",
"version": "2.0.2",
"description": "ammobin.ca api",
"main": "./dist/worker.js",
"scripts": {
"clean": "rm -rf dist lambda",
"start": "node ./dist/api/api.js",
"start:worker": "node --tls-min-v1.0 ./dist/worker/redis-worker.js",
"start:refresher": "node ./dist/refresher/redis-refresher.js",
"test:lint": "tslint ./src/**/*.ts",
"test": "npm run test:lint && npm run build",
"build": "tsc",
"build-lambda": "webpack && cp graphql.gql lambda/graphql",
"dev": "DEV=true ts-node-dev ./src/api/api.ts",
"dev-us": "REGION=US DEV=true ts-node-dev ./src/api/api.ts",
"dev:worker": "DEV=true ts-node-dev ./src/worker/redis-worker.ts",
"dev:refresher": "DEV=true ts-node-dev ./src/refresher/redis-refresher.ts",
"generate-types": "gql2ts graphql.gql > src/graphql-types.ts && sh export-graphql-types.sh",
"build:cloudflare": "webpack --config webpack.cloudflare.js"
},
"dist":[
"./dist/*",
"./lambda/*"
],
"types": "dist/index.d.ts",
"author": "ammobin",
"license": "MIT",
"dependencies": {
"@apollo/server": "^4.2.1",
"@as-integrations/aws-lambda": "^1.0.1",
"@as-integrations/hapi": "^1.0.0",
"@aws-sdk/client-dynamodb": "^3.216.0",
"@aws-sdk/client-sqs": "^3.216.0",
"@aws-sdk/lib-dynamodb": "^3.216.0",
"@hapi/hapi": "^20",
"ammobin-classifier": "^0.1",
"apollo-server-cache-redis": "^3",
"apollo-server-plugin-response-cache": "^3",
"axios": "1.1.3",
"boom": "^7.3.0",
"cheerio": "^1.0.0-rc.12",
"@sparticuz/chromium": "^92.0.0",
"delay": "^4.4.1",
"fluent-logger": "^3.4.1",
"graphql": "^16",
"hapi-lambda": "^1.0.0",
"jsonp": "^0.2.1",
"moment": "^2.29.4",
"node-cron": "^2.0.3",
"puppeteer-core": "^14",
"redis": "^3.1.2",
"rsmq-worker": "^0.5.2",
"throat": "^5.0.0",
"winston": "^3.8.2"
},
"devDependencies": {
"@cloudflare/workers-types": "^3.18.0",
"@tsconfig/node18": "^1.0.1",
"@types/boom": "^7.3.2",
"@types/graphql": "^14.5.0",
"@types/hapi": "^18.0.7",
"@types/jest": "^26.0.23",
"@types/moment": "^2.13.0",
"@types/puppeteer": "^5.4.7",
"copy-webpack-plugin": "^11",
"gql2ts": "^1.10.1",
"json-loader": "^0.5.7",
"nodemon": "^2.0.20",
"prettier": "^2.8.0",
"pretty-quick": "^2.0.2",
"ts-loader": "^9",
"ts-node-dev": "^2",
"tslint": "^6",
"typescript": "^4.9.3",
"webpack": "^5",
"webpack-cli": "^5",
"webpack-node-externals": "^3"
}
}