-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 3.33 KB
/
package.json
File metadata and controls
110 lines (110 loc) · 3.33 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
{
"name": "node-temporal-postgres-boilerplate",
"version": "0.0.2",
"description": "A production-ready Node.js REST API boilerplate with Temporal workflows, PostgreSQL, and modern best practices",
"type": "module",
"main": "./dist/server.js",
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"dev": "tsx watch ./src/server.ts",
"start": "node ./dist/server.js",
"start:dev": "nodemon --exec tsx ./src/server.ts",
"test": "NODE_ENV=test PORT=8000 nyc mocha --exit --timeout 50000 --require ts-node/register --require ./tests/setup.ts --extensions ts ./tests/**/*.test.ts ./tests/global.ts",
"debug": "node --nolazy --inspect-brk=9229 ./dist/server.js",
"debug:dev": "tsx --inspect-brk ./src/server.ts",
"clear-db": "npx sequelize-cli db:drop && npx sequelize-cli db:create",
"migrate": "DEBUG=s.* npx sequelize-cli db:migrate",
"lint": "eslint --max-warnings 0",
"lint:fix": "eslint --fix",
"pretty": "prettier --write",
"start:worker:user": "node ./dist/temporal/workers/user.worker.js",
"start:worker:user:dev": "tsx ./src/temporal/workers/user.worker.ts",
"start:worker:all": "npm run start:worker:user",
"start:worker:all:dev": "npm run start:worker:user:dev",
"typecheck": "tsc --noEmit"
},
"keywords": [
"nodejs",
"boilerplate",
"rest",
"api",
"Temporal"
],
"author": "Darshit Vora",
"license": "MIT",
"private": true,
"engines": {
"node": ">=24.12.0",
"npm": ">=10.0.0"
},
"dependencies": {
"@temporalio/activity": "^1.11.6",
"@temporalio/client": "^1.11.6",
"@temporalio/worker": "^1.11.6",
"@temporalio/workflow": "^1.11.6",
"compression": "^1.8.1",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"dayjs": "^1.11.13",
"dotenv": "^17.2.3",
"express": "^5.2.1",
"express-request-id": "^3.0.0",
"helmet": "^8.1.0",
"node-webhooks": "^1.4.2",
"pg": "^8.16.3",
"pg-hstore": "^2.3.4",
"response-time": "^2.3.4",
"sequelize": "^6.37.7",
"sequelize-cli": "^6.6.3",
"socket.io": "^4.8.3",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"winston": "^3.19.0",
"winston-daily-rotate-file": "^5.0.0"
},
"devDependencies": {
"@antfu/eslint-config": "^6.7.3",
"@faker-js/faker": "^10.1.0",
"@types/chai": "^5.2.3",
"@types/compression": "^1.8.1",
"@types/cookie-parser": "^1.4.10",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/mocha": "^10.0.10",
"@types/node": "^25.0.3",
"@types/response-time": "^2.3.9",
"@types/sinon": "^21.0.0",
"@types/supertest": "^6.0.3",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.8",
"chai": "^6.2.2",
"chai-http": "^5.1.1",
"commitizen": "^4.1.2",
"cz-conventional-changelog": "^3.2.0",
"eslint": "^9.18.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"mocha": "^11.0.1",
"nodemon": "^3.1.9",
"nyc": "^17.1.0",
"prettier": "^3.4.2",
"sinon": "^21.0.1",
"supertest": "^7.0.0",
"ts-node": "^10.9.2",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
},
"lint-staged": {
"src/**/!(*.test).{js,ts}": [
"npm run pretty",
"npm run lint:fix",
"npm run lint"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}