-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
35 lines (35 loc) · 1.2 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
{
"name": "@snipcode/domain",
"version": "1.0.0",
"description": "This package contains all the business logic of the project",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"scripts": {
"build": "tsc --project tsconfig.prod.json",
"clean": "rm -rf .turbo dist",
"lint": "eslint --fix",
"db:test": "docker run -d --rm -e MYSQL_ROOT_PASSWORD=secret -e MYSQL_DATABASE=snipcode --name snipcode-test-db -p 3313:3306 mysql:8.0.34",
"db:test:stop": "docker container kill snipcodedb && docker container prune -f",
"db:test:migration": "npx prisma migrate dev --schema=../database/prisma/schema.test.prisma",
"test": "TEST_WITH_DB=true IS_LOCAL=false jest",
"test:unit": "jest",
"test:db:local": "TEST_WITH_DB=true IS_LOCAL=true jest"
},
"dependencies": {
"@snipcode/database": "workspace:*",
"@snipcode/utils": "workspace:*",
"axios": "^0.27.2",
"bcryptjs": "^2.4.3",
"unique-username-generator": "^1.1.1"
},
"devDependencies": {
"@ngneat/falso": "^6.0.3",
"@types/bcryptjs": "^2.4.2",
"@types/jest": "^28.1.4",
"jest": "^28.1.2",
"nock": "^13.2.9",
"ts-jest": "^28.0.5",
"typescript": "4.8.4"
}
}