-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
118 lines (118 loc) · 3.89 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": "backend-jr",
"version": "0.10.0",
"description": " Aplicação de controle financeiro veicular, alimentado pela entrada de dados do usuário.",
"author": "Mateus Garcia Lopes",
"license": "MIT",
"scripts": {
"clear": "rm -R node_modules",
"clear:all": "rm -R node_modules coverage dist package-lock.json",
"build": "tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\"",
"start": "ts-node src/main.ts",
"start:dev": "nodemon",
"start:debug": "nodemon --config nodemon-debug.json",
"prestart:prod": "rimraf dist && npm run build",
"start:prod": "node dist/main.js",
"lint": "tslint -p tsconfig.json -c tslint.json",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json --env=node",
"commit": "git-cz",
"release": "standard-version",
"postgre:persistent": "docker run --name postgre-srv -p 5432:5432 -e POSTGRES_USER=julius -e POSTGRES_PASSWORD=juliuspass -e POSTGRES_DB=juliusreport -v /DOCKER-VOLUMES/juliusreport/postgre-data:/var/lib/postgresql -v /DOCKER-VOLUMES/juliusreport/postgre-data/data:/var/lib/postgresql/data -d postgres:alpine",
"postgre:test": "docker run --name postgre-srv -p 5432:5432 -e POSTGRES_USER=julius -e POSTGRES_PASSWORD=juliuspass -e POSTGRES_DB=juliusreport -d postgres:alpine",
"postgre:psql": "psql postgres://julius:juliuspass@localhost:5432/juliusreport",
"stop:postgre": "docker stop postgre-srv && docker rm postgre-srv",
"stop:all": "docker stop $(docker ps -q -a) && docker rm $(docker ps -q -a)"
},
"repository": {
"type": "git",
"url": "[email protected]:NaturesProphet/BackendJR.git"
},
"keywords": [
"Julius",
"JuliusReport",
"Report",
"Todo mundo odeia o Chris",
"controle financeiro",
"controle financeiro veicular",
"combustível",
"combustíveis",
"combustivel adulterado"
],
"dependencies": {
"@nestjs/common": "^6.0.0",
"@nestjs/core": "^6.0.0",
"@nestjs/platform-express": "^6.0.0",
"@nestjs/swagger": "^3.0.2",
"@nestjs/typeorm": "^5.3.0",
"@types/node": "^10.12.18",
"bcrypt": "^3.0.6",
"bcryptjs": "^2.4.3",
"email-validator": "^2.0.4",
"jsonwebtoken": "^8.5.1",
"pg": "^7.11.0",
"reflect-metadata": "^0.1.12",
"rimraf": "^2.6.3",
"rxjs": "^6.3.3",
"sonarqube-build-breaker": "0.0.2",
"swagger-ui-express": "^4.0.7",
"ts-loader": "^4.4.2",
"ts-node": "^8.1.0",
"typeorm": "^0.2.18",
"typescript": "^3.4.3"
},
"devDependencies": {
"@nestjs/testing": "^6.0.0",
"@types/express": "^4.16.0",
"@types/jest": "^23.3.13",
"@types/supertest": "^2.0.5",
"commitizen": "^3.1.1",
"cz-conventional-changelog": "^2.1.0",
"jest": "^24.8.0",
"jest-cucumber": "^2.0.11",
"nodemon": "^1.18.9",
"prettier": "^1.15.3",
"standard-version": "^6.0.1",
"supertest": "^3.4.1",
"ts-jest": "24.0.2",
"tsconfig-paths": "^3.5.0",
"tslint": "5.16.0",
"validate-commit-msg": "^2.14.0"
},
"jest": {
"collectCoverageFrom": [
"**/*.service.ts"
],
"verbose": true,
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"validate-commit-msg": {
"types": "conventional-commit-types",
"helpMessage": "Use \"npm run commit\" instead, we use conventional-changelog format :) (https://github.com/commitizen/cz-cli)"
}
},
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg"
}
}
}