-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 2.82 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
82
83
84
85
86
87
88
89
{
"name": "MoradaApp.emailHandler",
"version": "1.0.0",
"description": "",
"main": "dist/functions/index.js",
"scripts": {
"lint": "eslint -c ./.eslintrc.js \"./functions/**/*.ts\"",
"dev": "dotenv -e .env -- sh -c \"./tools/functions.sh emailHandlerFnc 8411\"",
"build": "tsc -p . --noEmit && swc ./functions --config-file ./.swcrc.json -d ./dist",
"lint:fix": "eslint --fix -c ./.eslintrc.js",
"lint:fix:global": "eslint --fix \"./functions/**/*.ts\" -c ./.eslintrc.js",
"format": "prettier --write",
"set-hooks": "husky",
"pre-commit": "lint-staged --allow-empty",
"commit": "cz",
"test:unit": "dotenv -e .env.test -- jest --no-cache -c jest.unit.config.ts",
"test:e2e": "dotenv -e .env.prod -- jest --detectOpenHandles --no-cache -c jest.e2e.config.ts",
"test:all:cov": "dotenv -e .env.prod -- jest -c jest.config.ts --no-cache --detectOpenHandles --coverage"
},
"watch": {
"dev": {
"quiet": true,
"patterns": [
"dist"
],
"delay": 1500,
"extensions": "js"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"functions/**/*.(t|j)s": [
"pnpm format",
"pnpm lint:fix"
]
},
"dependencies": {
"@google-cloud/error-reporting": "^3.0.5",
"@google-cloud/functions-framework": "^3.4.0",
"@google-cloud/opentelemetry-cloud-trace-exporter": "^2.2.0",
"@opentelemetry/exporter-zipkin": "^1.24.1",
"@opentelemetry/instrumentation": "^0.51.1",
"@opentelemetry/instrumentation-http": "^0.51.1",
"@opentelemetry/resources": "^1.24.1",
"@opentelemetry/sdk-trace-base": "^1.24.1",
"@opentelemetry/sdk-trace-node": "^1.24.1",
"@opentelemetry/semantic-conventions": "^1.24.1",
"cloudevents": "^8.0.0",
"firebase-admin": "^12.1.1",
"handlebars": "^4.7.8",
"nodemailer": "^6.9.13",
"winston": "^3.13.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@commitlint/config-conventional": "^19.2.2",
"@swc/cli": "^0.3.12",
"@swc/core": "^1.5.7",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/nodemailer": "^6.4.15",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"commitizen": "^4.3.0",
"commitlint": "^19.3.0",
"concurrently": "^8.2.2",
"cz-conventional-changelog": "^3.3.0",
"dotenv-cli": "^7.4.2",
"eslint": "^8.57.0",
"express": "^4.19.2",
"firebase-tools": "^13.10.1",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.5",
"npm-watch": "^0.13.0",
"prettier": "^3.2.5",
"supertest": "^7.0.0",
"swc-loader": "^0.2.6",
"ts-jest": "^29.1.3",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.4.5"
}
}