-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 5.18 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 5.18 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "chronas-api",
"version": "1.3.9",
"description": "This API provides authentication and CRUD operations for data used by the Chronas application",
"main": "index.js",
"type": "module",
"private": false,
"engines": {
"node": ">=22.0.0",
"npm": ">=10.0.0"
},
"engineStrict": false,
"lambda": {
"runtime": "nodejs22.x",
"note": "Perfect match: Developed and deployed with Node.js 22.x"
},
"scripts": {
"start": "cross-env DEBUG=chronas-api:* node index.js",
"start:debug": "cross-env DEBUG=chronas-api:* node --inspect index.js",
"start:test": "node scripts/start-test-server.js",
"start:prodSim": "cross-env NODE_ENV=production node index.js",
"build": "echo 'Build completed - using native Node.js 22.x runtime'",
"build:lambda": "echo 'Lambda build handled by CDK bundling'",
"setup:docdb-cert": "node scripts/download-docdb-cert.js",
"lint": "eslint *.js server config --fix",
"test": "cross-env NODE_ENV=test mocha --require server/tests/helpers.js --reporter spec --colors server/tests --recursive --exit",
"test:integration": "cross-env NODE_ENV=test mocha --require server/tests/helpers.js --reporter spec --colors server/tests/integration --recursive --exit",
"test:coverage": "cross-env NODE_ENV=test c8 mocha --require server/tests/helpers.js server/tests --recursive --exit",
"test:check-coverage": "npm run test:coverage && c8 check-coverage",
"report-coverage": "c8 report --reporter=lcov && coveralls < ./coverage/lcov.info",
"test:postman": "node scripts/run-postman-tests.js local enhanced --auto-start",
"test:postman:basic": "node scripts/run-postman-tests.js local basic --auto-start",
"test:postman:dev": "node scripts/run-postman-tests.js dev enhanced",
"test:postman:prod": "node scripts/run-postman-tests.js prod enhanced",
"test:postman:manual": "newman run PostmanTests/chronas-enhanced.postman_collection.json -e PostmanTests/chronas-local.postman_environment.json --reporters cli,json,htmlextra --reporter-json-export postman-results-manual.json --reporter-htmlextra-export postman-results-manual.html",
"test:setup": "node scripts/setup-test-environment.js",
"test:ci": "node scripts/ci-postman-tests.js local enhanced",
"test:ci:basic": "node scripts/ci-postman-tests.js local basic",
"test:ci:lambda": "node scripts/ci-lambda-postman-tests.js enhanced",
"test:ci:lambda:basic": "node scripts/ci-lambda-postman-tests.js basic",
"test:all": "node scripts/run-all-tests.js",
"deploy:lambda": "node scripts/deploy-lambda.js",
"deploy:lambda:dev": "node scripts/deploy-lambda.js dev",
"deploy:lambda:prod": "node scripts/deploy-lambda.js prod",
"deploy:lambda:dry-run": "node scripts/deploy-lambda.js dev --dry-run",
"validate:deployment": "node scripts/validate-deployment.js",
"validate:lambda": "node scripts/validate-lambda-deployment.js",
"deploy:dev": "cd ../chronas-cdk && npm run build && npx cdk deploy ChronasApiLambdaStackV2 --profile chronas-dev",
"deploy:prod": "cd ../chronas-cdk && npm run build && npx cdk deploy ChronasApiLambdaStackV2 --profile chronas-prod",
"production:deploy": "echo 'See SIMPLE_PRODUCTION_DEPLOYMENT.md for production deployment steps'",
"production:document": "node scripts/document-current-setup.js"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/daumann/chronas-api.git"
},
"dependencies": {
"@aws-sdk/client-lambda": "^3.995.0",
"@aws-sdk/client-s3": "^3.995.0",
"@aws-sdk/client-secrets-manager": "^3.995.0",
"@passport-js/passport-twitter": "^1.0.10",
"@vendia/serverless-express": "4.12.6",
"applicationinsights": "^3.14.0",
"aws-xray-sdk": "^3.5.0",
"axios": "^1.14.0",
"bcryptjs": "^3.0.2",
"compression": "^1.7.4",
"connect-mongo": "^6.0.0",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"debug": "^4.4.0",
"dotenv": "^17.0.0",
"express": "^5.0.0",
"express-jwt": "8.5.1",
"express-session": "^1.18.2",
"express-validation": "4.1.1",
"express-winston": "^4.0.4",
"helmet": "^8.0.0",
"http-status": "^2.0.0",
"joi": "^18.0.1",
"jsonwebtoken": "^9.0.0",
"memory-cache": "0.2.0",
"method-override": "^3.0.0",
"mongodb": "^7.0.0",
"mongoose": "^9.0.0",
"moniker": "0.1.2",
"morgan": "^1.10.0",
"nodemailer": "^8.0.0",
"nodemailer-mailgun-transport": "2.1.5",
"passport": "^0.7.0",
"passport-facebook": "^3.0.0",
"passport-github": "^1.1.0",
"passport-google-oauth": "2.0.0",
"passport-google-oauth20": "^2.0.0",
"postman-collection-transformer": "^4.1.12",
"swagger-ui-express": "5.0.1",
"winston": "^3.8.0",
"yamljs": "0.3.0"
},
"devDependencies": {
"c8": "^11.0.0",
"chai": "^6.0.0",
"cross-env": "^10.0.0",
"eslint": "^9.0.0",
"eslint-plugin-n": "^17.0.0",
"eslint-plugin-promise": "^7.0.0",
"globals": "^16.0.0",
"mocha": "^11.0.0",
"mongo-unit": "3.4.0",
"mongodb-memory-server": "^11.0.0",
"newman": "6.2.2",
"newman-reporter-htmlextra": "1.23.1",
"supertest": "^7.0.0",
"supertest-as-promised": "4.0.2"
},
"bugs": {
"url": "https://github.com/daumann/chronas-api/issues"
}
}