Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.71 KB
/
Copy pathpackage.json
File metadata and controls
52 lines (52 loc) · 1.71 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
{
"name": "trading-service",
"license": "UNLICENSED",
"version": "1.0.0",
"repository": "https://github.com/Chandara-Sin/trading-api.git",
"author": "sx_dara",
"dependencies": {
"@prisma/client": "^5.9.1",
"@yarnpkg/pnpify": "^4.0.1",
"bcryptjs": "^2.4.3",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.4.4",
"dotenv-cli": "^7.3.0",
"express": "^4.18.2",
"express-winston": "^4.2.0",
"prisma": "^5.9.1",
"typescript": "^5.3.3",
"winston": "^3.11.0"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.6",
"@types/cookie-parser": "^1.4.6",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.17",
"@types/supertest": "^6.0.2",
"jest": "^29.7.0",
"supertest": "^6.3.4",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0"
},
"scripts": {
"dev": "ts-node-dev --exit-child ./src/index.ts",
"build:local": "pnpify tsc -p ./ ; cp -r prisma ./build",
"migrate": "yarn pnpify prisma migrate dev",
"generate": "yarn pnpify prisma generate",
"test": "jest --detectOpenHandles --forceExit --config jest.config.ts",
"test:clean": "jest --clearCache",
"database-test:up": "docker-compose -f docker-compose.test.yml up -d && dotenv -e .env.test -- yarn migrate",
"database-test:down": "docker-compose -f docker-compose.test.yml down",
"test:integration": "yarn test:clean && sleep 5 && dotenv -e .env.test -- jest -i --detectOpenHandles --forceExit --config jest.config.integration.ts"
},
"packageManager": "[email protected]",
"engineStrict": true,
"engines": {
"node": "^18.0.0",
"npm": "use yarn instead of npm."
}
}