-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.53 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
{
"name": "marketplace-hybr1d",
"description": "Marketplace assignment of Hybr1d",
"license": "UNLICENSED",
"dependencies": {
"@prisma/client": "4.0.0",
"crypto-js": "^4.1.1",
"express": "^4.18.1",
"joi": "^17.6.0",
"jsonwebtoken": "^8.5.1",
"uuid": "^8.3.2",
"zxcvbn": "^4.4.2"
},
"devDependencies": {
"@types/crypto-js": "^4.1.1",
"@types/express": "^4.17.13",
"@types/faker": "5.5.9",
"@types/jest": "^28.1.6",
"@types/jsonwebtoken": "^8.5.8",
"@types/node": "17.0.21",
"@types/supertest": "^2.0.12",
"@types/uuid": "^8.3.4",
"@types/zxcvbn": "^4.4.1",
"@vercel/node": "1.13.0",
"faker": "5.5.3",
"jest": "^28.1.3",
"prisma": "4.0.0",
"supertest": "^6.2.4",
"ts-jest": "^28.0.6",
"ts-node-dev": "^2.0.0",
"typescript": "4.5.5"
},
"prisma": {
"seed": "ts-node ./prisma/seed.ts"
},
"scripts": {
"genCertsDev": "rm -rf src/certs && mkdir src/certs && openssl genrsa -out src/certs/access_private.pem 1024 && openssl rsa -in src/certs/access_private.pem -pubout -out src/certs/access_public.pem",
"dev": "prisma generate && ts-node-dev src/index.ts",
"genCerts": "rm -rf build/src/certs && mkdir build/src/certs && openssl genrsa -out build/src/certs/access_private.pem 1024 && openssl rsa -in build/src/certs/access_private.pem -pubout -out build/src/certs/access_public.pem",
"build": "prisma generate --data-proxy && tsc && npm run genCerts",
"start": "npm run build && node build/src/index.js",
"test": "jest --watch"
}
}