-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.85 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
{
"name": "sydney-transit-graph",
"version": "1.0.0",
"license": "AGPL-3.0",
"homepage": "https://sydneytransitgraph.com",
"author": "Jake Coppinger <[email protected]>",
"dependencies": {
"aws-sdk": "^2.703.0",
"aws-serverless-express": "^3.4.0",
"express": "^4.17.1",
"fast-csv": "^2.5.0",
"fuzzball": "^1.3.1",
"moment": "^2.27.0",
"protocol-buffers": "^4.1.0",
"request": "^2.88.0",
"ts-interface-checker": "^0.1.7"
},
"scripts": {
"build": "./node_modules/typescript/bin/tsc",
"test": "ts-mocha test/**/*.ts frontend/test/**/*.ts",
"start-aws-uploader": "node -r source-map-support/register dist/aws-uploader.js",
"start-server": "node -r source-map-support/register dist/server.js",
"start-timestamp-service": "node -r source-map-support/register dist/timestamp-service.js",
"deploy:dev": "NODE_OPTIONS=\"--max-old-space-size=4096\" yarn build && NODE_OPTIONS=\"--max-old-space-size=4096\" npx serverless deploy",
"deploy:prod": "NODE_OPTIONS=\"--max-old-space-size=4096\" yarn build && NODE_OPTIONS=\"--max-old-space-size=4096\" npx serverless deploy --stage production",
"serverless-start-server": "npx serverless offline start --httpPort=5000 --host 0.0.0.0 # may not work due to plugin disabled in serverless config",
"logs": "npx serverless logs --function backend",
"logs:tail": "npx serverless logs --function backend -t"
},
"devDependencies": {
"@types/aws-serverless-express": "^3.3.5",
"@types/express": "^4.17.7",
"@types/mocha": "^5.2.7",
"@types/node": "^12.0.2",
"@types/request": "^2.48.5",
"mocha": "^6.1.4",
"serverless-api-gateway-throttling": "^2.0.2",
"serverless-plugin-include-dependencies": "^5.0.0",
"source-map-support": "^0.5.12",
"ts-interface-builder": "^0.1.8",
"ts-mocha": "^6.0.0",
"typescript": "^3.4.5"
}
}