-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
81 lines (81 loc) · 4.2 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
81
{
"name": "scoutradioz-primary",
"version": "2.1.1",
"description": "The primary HTTP Lambda function that serves most requests on Scoutradioz.",
"main": "lambda.js",
"config": {
"s3BucketName": "scoutradioz-cloudformation",
"region": "us-east-1",
"cloudFormationStackName": "ScoutradiozPrimaryStack",
"functionName": "PrimaryFunction",
"accountId": "243452333432",
"publicS3BucketName": "scoutradioz",
"publicFolderName": "public",
"functionFullName": "ScoutradiozPrimaryStack-PrimaryFunction-1N6C440CXO15P",
"folder": "primary"
},
"scripts": {
"start": "npx nodemon --ext ts ./src/www.ts",
"update": "yarn && yarn upgrade --pattern 'scoutradioz*'",
"build": "tsc && yarn run compile-static",
"win-build": "yarn run build",
"---readme---": "Use the win-X scripts if you're using Windows. Always upload to test or QA first, then extensively test before promoting to prod.",
"archive": "node ../scripts/uploadversion.js --archive --folder $npm_package_config_folder",
"win-archive": "node ../scripts/uploadversion.js --archive --folder %npm_package_config_folder%",
"win-upload-test": "node ../scripts/uploadversion.js --alias test --folder %npm_package_config_folder% --function-name %npm_package_config_functionFullName%",
"win-upload-qa": "node ../scripts/uploadversion.js --alias qa --folder %npm_package_config_folder% --function-name %npm_package_config_functionFullName%",
"win-promote-test-qa": "node ../scripts/promoteversion.js --promote-from test --promote-to qa --function-name %npm_package_config_functionFullName%",
"win-promote-qa-prod": "node ../scripts/promoteversion.js --promote-from qa --promote-to prod --function-name %npm_package_config_functionFullName%",
"win-rollback-prod": "node ../scripts/rollbackversion.js --function-name %npm_package_config_functionFullName%",
"sync-test": "bun ../scripts/s3sync.ts --tier test --folder public",
"sync-qa": "bun ../scripts/s3sync.ts --tier qa --folder public",
"sync-prod": "bun ../scripts/s3sync.ts --tier prod --folder public",
"sync-all": "bun run sync-test && yarn run sync-qa && yarn run sync-prod",
"upload-test": "node ../scripts/uploadversion.js --alias test --folder $npm_package_config_folder --function-name $npm_package_config_functionFullName",
"upload-qa": "node ../scripts/uploadversion.js --alias qa --folder $npm_package_config_folder --function-name $npm_package_config_functionFullName",
"promote-test-qa": "node ../scripts/promoteversion.js --promote-from test --promote-to qa --function-name $npm_package_config_functionFullName",
"promote-qa-prod": "node ../scripts/promoteversion.js --promote-from qa --promote-to prod --function-name $npm_package_config_functionFullName",
"rollback-prod": "node ../scripts/rollbackversion.js --function-name $npm_package_config_functionFullName",
"---readme3---": "Scripts related to compiling static files from Typescript -> JS and LESS -> CSS.",
"compile-less": "echo 'Compiling and minifying LESS' && node ../scripts/compileLess.js",
"compile-ts": "echo 'Compiling TypeScript' && cd public-src && yarn && cd ts-bundled && tsc && cd ../ts && (mv ../../public/js/bundle.d.ts . || move ../../public/js/bundle.d.ts .) && tsc",
"compile-static": "yarn run compile-less && yarn run compile-ts"
},
"license": "Apache-2.0",
"dependencies": {
"@firstteam102/connect-mongo": "~4.6.1-test1",
"aws-serverless-express": "^3.4.0",
"bcryptjs": "^2.4.3",
"colors": "^1.4.0",
"cookie-parser": "^1.4.6",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-async-handler": "^1.2.0",
"express-session": "^1.17.2",
"express-useragent": "^1.0.15",
"http-errors": "file:../scoutradioz-http-errors",
"log4js": "^6.4.0",
"luxon": "^3.2.1",
"marked": "^4.0.16",
"mathjs": "^11.5.1",
"mongodb": "^4.12.1",
"passport": "^0.6.0",
"pug": "^3.0.2",
"sanitize-html": "^2.7.0",
"scoutradioz-helpers": "file:../scoutradioz-helpers",
"scoutradioz-http-errors": "file:../scoutradioz-http-errors",
"scoutradioz-utilities": "file:../scoutradioz-utilities",
"serve-favicon": "^2.5.0",
"web-push": "^3.4.5"
},
"nodemonConfig": {
"ignore": [
"public/*",
"public-src/*"
],
"ext": "js,ts,pug,json"
},
"devDependencies": {
"scoutradioz-types": "file:../scoutradioz-types"
}
}