-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.99 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
{
"name": "social-media-api",
"version": "1.0.0",
"main": "src/shared/infra/http/server.ts",
"author": {
"name": "Jerónimo Matavel",
"url": "https://github.com/jeronimo-mz"
},
"license": "MIT",
"scripts": {
"build": "tsc --project tsconfig.json && tscpaths -p tsconfig.json -s ./src -o ./dist",
"dev": "tsnd -r tsconfig-paths/register --inspect --transpile-only --ignore-watch node_modules src/shared/infra/http/server.ts",
"prod": "node dist/shared/infra/http/server.js",
"lint": "eslint src --ext .ts",
"lint:fix": "yarn lint -- --fix",
"prepare": "husky install",
"test": "jest --runInBand --detectOpenHandles --colors --verbose",
"test:ci": "jest --ci --runInBand --silent --colors --coverage"
},
"lint-staged": {
"src/**/**.ts": [
"eslint --cache --fix"
]
},
"dependencies": {
"bcryptjs": "^2.4.3",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"helmet": "^4.6.0",
"jsonwebtoken": "^8.5.1",
"mongoose": "^5.13.2",
"morgan": "^1.10.0",
"reflect-metadata": "^0.1.13",
"tsyringe": "^4.6.0",
"yup": "^0.32.9"
},
"devDependencies": {
"@types/bcryptjs": "^2.4.2",
"@types/express": "^4.17.13",
"@types/jest": "^26.0.24",
"@types/jsonwebtoken": "^8.5.4",
"@types/morgan": "^1.9.3",
"@types/node": "^16.0.1",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^7.0.1",
"jest": "^27.0.6",
"lint-staged": "^11.0.0",
"prettier": "^2.3.2",
"ts-jest": "^27.0.3",
"ts-node-dev": "^1.1.8",
"tsconfig-paths": "^3.10.1",
"tscpaths": "^0.0.9",
"typescript": "^4.3.5"
}
}