-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
118 lines (118 loc) · 4.26 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "rentx",
"version": "1.0.0",
"private": true,
"license": "MIT",
"author": {
"name": "Paulo Vieira",
"github": "https://github.com/paulorcvieira",
"repositoty": "https://github.com/paulorcvieira/api-rentx"
},
"scripts": {
"build": "babel src --extensions \".js,.ts\" --out-dir dist --copy-files",
"start": "node dist/shared/infra/http/server.js",
"debug": "nodemon -L --watch ./dist --inspect=0.0.0.0:9229 --nolazy ./dist/shared/infra/http/server.js",
"build:rimraf": "rimraf dist && tsc -p tsconfig-build.json",
"build:watch": "rimraf dist && tsc -p tsconfig-build.json -w",
"dev": "tsnd -r tsconfig-paths/register --inspect --transpile-only --ignore-watch node_modules --respawn src/shared/infra/http/server.ts",
"lint": "eslint src --ext .ts,.tsx --max-warnings=0",
"typeorm": "tsnd -r tsconfig-paths/register ./node_modules/typeorm/cli.js",
"up": "yarn build && docker-compose up -d",
"down": "docker-compose down",
"test:fast": "NODE_ENV=test jest --maxWorkers=50% --no-cache --detectOpenHandles --passWithNoTests",
"test": "NODE_ENV=test jest --detectOpenHandles --passWithNoTests --runInBand --no-cache",
"test:unit": "NODE_ENV=test npm test -- --watch -c jest-unit-config.ts",
"test:integration": "NODE_ENV=test npm test -- --watch -c jest-integration-config.ts",
"test:staged": "NODE_ENV=test npm test -- --findRelatedTests",
"test:ci": "NODE_ENV=test npm test -- --coverage",
"test:coveralls": "NODE_ENV=test yarn test:ci && coveralls < coverage/lcov.info",
"test:watch": "NODE_ENV=test yarn test --watch",
"test:verbose": "NODE_ENV=test jest --passWithNoTests --runInBand",
"seed:admin": "node dist/shared/infra/typeorm/seeds/admin.js",
"clear": "jest --clearCache",
"prepare": "husky install"
},
"engines": {
"node": "12.x"
},
"lint-staged": {
"src/**/*": [
"npm run lint --fix",
"npm test --findRelatedTests --bail"
]
},
"dependencies": {
"@sentry/node": "^6.2.5",
"@sentry/tracing": "^6.2.5",
"aws-sdk": "^2.884.0",
"bcrypt": "^5.0.1",
"class-transformer": "^0.4.0",
"cors": "^2.8.5",
"csv-parse": "^4.15.3",
"dayjs": "^1.10.4",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"handlebars": "^4.7.7",
"http-status-codes": "^2.1.4",
"jsonwebtoken": "^8.5.1",
"mime": "^2.5.2",
"multer": "^1.4.2",
"nodemailer": "^6.5.0",
"nodemon": "^2.0.7",
"pg": "^8.5.1",
"rate-limiter-flexible": "^2.2.1",
"redis": "^3.1.1",
"reflect-metadata": "^0.1.13",
"supertest": "^6.1.3",
"swagger-ui-express": "^4.1.6",
"tsyringe": "^4.5.0",
"typeorm": "^0.2.31",
"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/bcrypt": "^3.0.1",
"@types/cors": "^2.8.10",
"@types/express": "^4.17.11",
"@types/jest": "^26.0.20",
"@types/jsonwebtoken": "^8.5.1",
"@types/mime": "^2.0.3",
"@types/multer": "^1.4.5",
"@types/nodemailer": "^6.4.1",
"@types/redis": "^2.8.28",
"@types/supertest": "^2.0.11",
"@types/swagger-ui-express": "^4.1.2",
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-transform-typescript-metadata": "^0.3.2",
"eslint": "^7.18.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^7.2.0",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-import-helpers": "^1.1.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.1.2",
"git-commit-msg-linter": "^3.1.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-jest": "^26.5.4",
"ts-node-dev": "^1.1.6",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.2.3"
}
}