-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.84 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.84 KB
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
{
"name": "rentalx",
"version": "1.0.0",
"description": "Rental API",
"main": "index.js",
"repository": "https://github.com/mathmelo/rentx",
"author": "Matheus Melo <dev.matheus.melo@gmail.com>",
"license": "MIT",
"private": true,
"scripts": {
"dev": "tsnd -r tsconfig-paths/register --transpile-only --ignore-watch node_modules --respawn src/shared/infra/http/server.ts",
"dev:debbug": "tsnd -r tsconfig-paths/register --inspect --transpile-only --ignore-watch node_modules --respawn src/server.ts",
"typeorm": "tsnd -r tsconfig-paths/register ./node_modules/typeorm/cli",
"migration:create": "tsnd ./node_modules/typeorm/cli migration:create",
"migration:run": "tsnd ./node_modules/typeorm/cli migration:run -d ./src/shared/infra/typeorm/data-source.ts",
"migration:revert": "tsnd ./node_modules/typeorm/cli migration:revert -d ./src/shared/infra/typeorm/data-source.ts",
"test": "mocha -r ts-node/register/transpile-only -r tsconfig-paths/register --parallel --config ./.mocharc.json",
"test:coverage": "nyc yarn test",
"seeds:admin": "tsnd ./src/shared/infra/typeorm/seeds/admin.ts"
},
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@types/bcrypt": "^5.0.0",
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/express": "^4.17.14",
"@types/jsonwebtoken": "^9.0.1",
"@types/mocha": "^10.0.1",
"@types/multer": "^1.4.7",
"@types/node": "^18.11.12",
"@types/sinon": "^10.0.13",
"@types/swagger-ui-express": "^4.1.3",
"@types/uuid": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.46.0",
"@typescript-eslint/parser": "^5.46.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"commitizen": "^4.2.6",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.32.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "2.25.2",
"eslint-plugin-import-helpers": "^1.3.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.2",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^2.8.1",
"sinon": "^15.0.3",
"supertest": "^6.3.3",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^4.2.0",
"typescript": "^4.9.4"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"bcrypt": "^5.1.1",
"csv-parse": "^5.3.3",
"dayjs": "^1.11.10",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-async-errors": "^3.1.1",
"jsonwebtoken": "^9.0.0",
"multer": "^1.4.5-lts.1",
"pg": "^8.8.0",
"reflect-metadata": "^0.1.13",
"swagger-ui-express": "^4.6.0",
"tsyringe": "^4.7.0",
"typeorm": "^0.3.17",
"uuid": "^9.0.0",
"youch": "^3.2.3"
}
}