-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 4.22 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 4.22 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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "serverless-api",
"version": "1.0.0",
"engines": {
"node": ">=18.0.0"
},
"description": "",
"dependencies": {
"@aws-sdk/client-iot-data-plane": "^3.716.0",
"@aws-sdk/client-s3": "^3.717.0",
"@aws-sdk/client-ses": "^3.716.0",
"@aws-sdk/client-sns": "^3.716.0",
"@aws-sdk/client-sqs": "^3.716.0",
"@aws-sdk/client-sts": "^3.716.0",
"@aws-sdk/s3-request-presigner": "^3.717.0",
"adm-zip": "^0.5.16",
"aws-xray-sdk": "^3.10.2",
"bcryptjs": "2.4.3",
"civ6-save-parser": "^1.2.3",
"dynamoose": "^4.0.1",
"express": "^4.21.2",
"express-async-errors": "^3.1.1",
"generate-password": "1.7.1",
"inversify": "6.2.1",
"inversify-binding-decorators": "4.0.0",
"is-url": "1.2.4",
"jsonwebtoken": "^9.0.2",
"lodash": "4.17.21",
"moment": "^2.30.1",
"node-fetch": "^2.7.0",
"passport": "^0.7.0",
"passport-steam": "1.0.18",
"pydt-civ5-save-parser": "1.0.9",
"pydt-shared-models": "^1.8.8",
"reflect-metadata": "0.2.2",
"rollbar": "^2.26.4",
"source-map-support": "0.5.21",
"tsoa": "^6.6.0",
"uuid": "^11.0.3",
"web-push": "^3.6.7",
"xml-js": "1.6.11"
},
"devDependencies": {
"@types/adm-zip": "^0.5.7",
"@types/chai": "^4.3.11",
"@types/express": "^4.17.21",
"@types/hapi": "^18.0.14",
"@types/lodash": "^4.17.13",
"@types/node": "^22.10.2",
"@types/node-fetch": "^2.6.12",
"@types/passport": "^1.0.17",
"@types/web-push": "^3.6.4",
"@types/webpack-env": "^1.18.5",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"chai": "^4.3.10",
"co": "^4.6.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"export-api-url": "file:local_modules/export-api-url",
"git-revision-webpack-plugin": "^5.0.0",
"mocha": "^10.2.0",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"serverless": "^3.40.0",
"serverless-domain-manager": "^8.0.0",
"serverless-offline": "^13.9.0",
"serverless-prune-plugin": "^2.1.0",
"serverless-webpack": "^5.15.0",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typemoq": "^2.1.0",
"typescript": "^5.7.2",
"webpack": "^5.97.1",
"webpack-node-externals": "^3.0.0"
},
"scripts": {
"test": "mocha -r ts-node/register {api,functions,lib}/**/*.spec.ts",
"start-dynamo-docker": "docker-compose -f testdata/docker-compose.yml up -d",
"integration-test": "bash -c \"IS_OFFLINE=true RESOURCE_PREFIX=civx-integration- mocha -r ts-node/register {api,functions,lib}/**/*.int-spec.ts --timeout 20000\"",
"clean": "rimraf api/_gen .webpack",
"swagger-gen": "tsoa spec",
"routes-gen": "bash -c 'mkdir -p api/_gen/routes' && tsoa routes",
"lint": "eslint {api,functions,lib}/**/*.ts",
"lint-fix": "eslint {api,functions,lib}/**/*.ts --fix",
"build": "npm run clean && npm run routes-gen && npm run lint && npm run swagger-gen",
"start": "npm run build && bash -c \"npx serverless offline --host 0.0.0.0\"",
"start-prod": "npm run build && bash -c \"npx serverless offline --stage prod --host 0.0.0.0\"",
"debug": "npm run build && bash -c \"./debug-sls.sh offline --host 0.0.0.0\"",
"debug-prod": "npm run build && bash -c \"./debug-sls.sh offline --stage prod --host 0.0.0.0\"",
"clean-lambda": "bash -c \"AWS_REGION=us-east-1 node -e \\\"require('./_scripts/cleanLambda').clean();\\\"",
"deploy-develop": "npm run build && tsoa spec --host api-dev.playyourdamnturn.com && bash -c \"npx serverless deploy\"",
"deploy-master": "npm run build && tsoa spec --host api.playyourdamnturn.com && bash -c \"WEB_URL=https://www.playyourdamnturn.com npx serverless deploy --stage prod\"",
"backup-prod": "python _scripts/dynamodump/dynamodump.py -m backup -s prod* -r us-east-1",
"copy-backup-to-dev": "python _scripts/dynamodump/dynamodump.py -m restore -s prod* -d dev* -r us-east-1 --dataOnly && bash _scripts/reset-dev-emails.sh",
"copy-prod-to-dev": "npm run backup-prod && npm run copy-backup-to-dev",
"encrypt-config": "openssl des3 -pbkdf2 -salt -in config.yml -out config.yml.encrypted",
"decrypt-config": "openssl des3 -d -pbkdf2 -salt -in config.yml.encrypted -out config.yml"
}
}