-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
99 lines (99 loc) · 3.09 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
{
"name": "back-invoice",
"version": "1.0.0",
"description": "",
"main": "server.ts",
"scripts": {
"build": "cross-env NODE_ENV=production npx tsc -p tsconfig.prod.json",
"dev": "cross-env NODE_ENV=development tsc-watch -p ./tsconfig.json --onSuccess \"node ./build/bin/www.js\"",
"start": "cross-env NODE_ENV=production node build/bin/www.js",
"test:e2e": "cross-env NODE_ENV=test npx jest --verbose ./__test__/e2e/",
"test:unit": "cross-env NODE_ENV=test npx jest --verbose ./__test__/unit/",
"test": "npm run test:unit && npm run test:e2e",
"lint": "eslint ./src/**/*.ts",
"lint:fix": "eslint **/*.ts --fix",
"prettier": "prettier --check .",
"prettier:fix": "prettier --write .",
"prisma:init": "prisma init",
"prisma:migrate": "prisma migrate dev --preview-feature --schema=./prisma/schema.prisma",
"prisma:generate": "prisma generate --schema=./prisma/schema.prisma",
"prisma:generate-watch": "prisma generate --watch --schema=./prisma/schema.prisma",
"prisma:seed": "ts-node prisma/seed.ts",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nsdonato/back-invoice.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/nsdonato/back-invoice/issues"
},
"homepage": "https://github.com/nsdonato/back-invoice#readme",
"devDependencies": {
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"@types/compression": "1.7.2",
"@types/cors": "2.8.12",
"@types/express": "4.17.13",
"@types/jest": "29.2.5",
"@types/supertest": "2.0.12",
"@typescript-eslint/eslint-plugin": "5.33.1",
"@typescript-eslint/parser": "5.33.1",
"eslint": "8.22.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-standard-with-typescript": "30.0.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-n": "15.6.1",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-promise": "6.1.1",
"husky": "8.0.1",
"jest": "28.1.3",
"jest-mock-extended": "3.0.1",
"lint-staged": "13.0.3",
"prettier": "2.7.1",
"prisma": "4.2.1",
"supertest": "6.3.3",
"ts-jest": "28.0.8",
"ts-node": "10.9.1",
"tsc-watch": "6.0.0",
"typescript": "4.7.4"
},
"dependencies": {
"@prisma/client": "4.2.1",
"@types/swagger-jsdoc": "^6.0.1",
"@types/swagger-ui-express": "^4.1.3",
"compression": "1.7.4",
"cors": "2.8.5",
"cross-env": "7.0.3",
"dotenv": "16.0.1",
"express": "4.18.1",
"helmet": "6.0.1",
"log4js": "6.7.1",
"module-alias": "2.2.2",
"mongoose": "6.8.3",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^4.6.0"
},
"lint-staged": {
"*.(ts|tsx)": [
"npm run lint:fix",
"npm run prettier:fix",
"git add ."
]
},
"_moduleAliases": {
"@apps": "build/src/apps",
"@configs": "build/src/configs",
"@middlewares": "build/src/middlewares",
"@models": "build/src/models",
"@bin": "build/bin",
"@src": "build/src",
"@root": "build"
},
"engines": {
"node": ">=18 <19"
}
}