-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.48 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "nlw-6-nodeJS",
"version": "1.0.0",
"main": "index.js",
"author": "WelissonLuca <[email protected]>",
"license": "MIT",
"private": true,
"husky": {
"hooks": {
"pre-commit": "echo \"———› START Husky ‹———\" && lint-staged && echo \"———› Husky ✅ ‹——— \""
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"git add"
]
},
"scripts": {
"build": "babel src --extensions \".js,.ts\" --out-dir dist --copy-files",
"start": "node dist/shared/infra/http/server.js",
"typeorm": "ts-node-dev ./node_modules/typeorm/cli.js",
"dev": "ts-node-dev -r tsconfig-paths/register --inspect --transpile-only --ignore-watch node_modules --respawn src/shared/infra/http/server.ts",
"test": "env NODE_ENV=test&&jest --runInBand --forceExit --coverage --silent --detectOpenHandles"
},
"dependencies": {
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"jsonwebtoken": "^8.5.1",
"pg": "^8.6.0",
"reflect-metadata": "^0.1.13",
"supertest": "^6.1.3",
"ts-jest": "^27.0.3",
"ts-node": "^10.0.0",
"tsyringe": "^4.5.0",
"typeorm": "^0.2.34",
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/cli": "^7.13.14",
"@babel/core": "^7.13.15",
"@babel/node": "^7.13.13",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-decorators": "^7.13.15",
"@babel/preset-env": "^7.13.15",
"@babel/preset-typescript": "^7.13.0",
"@types/bcryptjs": "^2.4.2",
"@types/express": "^4.17.12",
"@types/jest": "^26.0.23",
"@types/jsonwebtoken": "^8.5.2",
"@types/supertest": "^2.0.11",
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.26.1",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-transform-typescript-metadata": "^0.3.2",
"cross-env": "^7.0.3",
"eslint": "^7.22.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-import-helpers": "^1.1.0",
"eslint-plugin-prettier": "^3.3.1",
"git-commit-msg-linter": "^3.2.6",
"husky": "^6.0.0",
"jest": "^27.0.5",
"lint-staged": "^11.0.0",
"prettier": "^2.2.1",
"ts-node-dev": "^1.1.6",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.3.4"
}
}