This repository was archived by the owner on Aug 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 3.17 KB
/
Copy pathpackage.json
File metadata and controls
100 lines (100 loc) · 3.17 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "npm-package-stats",
"version": "1.7.1",
"description": "A Telegram Bot to get telegram packages stats",
"author": "bikecoders",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\"",
"docker": "cross-env UID=$UID docker-compose run --rm --service-ports server yarn",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "nodemon",
"start:debug": "nodemon --config nodemon-debug.json",
"prestart:prod": "rimraf dist && yarn build",
"start:prod": "node dist/main.js",
"start:prod:local": "yarn docker start:prod",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"lint:report": "yarn run lint --format json --output-file reports/lint_issues.json",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk=0.0.0.0 -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"pretest:sonar-local": "yarn lint:report && yarn test:cov",
"test:sonar-local": "sonar-scanner",
"test:sonar-local:only-push": "sonar-scanner",
"presonar:create": "docker pull sonarqube",
"sonar:create": "docker run --name=sonarqube -p 9000:9000 sonarqube",
"sonar:start": "docker start sonarqube --interactive"
},
"dependencies": {
"@nestjs/common": "7.0.3",
"@nestjs/core": "7.0.3",
"@nestjs/platform-express": "7.0.3",
"api-npm": "1.0.0",
"class-transformer": "0.3.1",
"nedb": "1.8.0",
"node-cron": "2.0.3",
"node-telegram-bot-api": "0.50.0",
"reflect-metadata": "0.1.13",
"rimraf": "3.0.2",
"rxjs": "6.6.0"
},
"devDependencies": {
"@commitlint/cli": "8.3.5",
"@commitlint/config-conventional": "8.3.4",
"@nestjs/cli": "7.0.0",
"@nestjs/testing": "7.0.3",
"@types/express": "4.17.1",
"@types/jest": "25.2.3",
"@types/nedb": "1.8.11",
"@types/node": "12.12.48",
"@types/node-cron": "2.0.3",
"@types/node-telegram-bot-api": "0.40.3",
"@types/supertest": "2.0.8",
"@typescript-eslint/eslint-plugin": "2.25.0",
"@typescript-eslint/parser": "2.25.0",
"cross-env": "7.0.2",
"eslint": "7.13.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-import": "2.22.0",
"husky": "4.2.5",
"jest": "25.5.4",
"jest-date-mock": "1.0.8",
"jest-sonar-reporter": "2.0.0",
"nodemon": "2.0.4",
"prettier": "1.19.1",
"sonar-scanner": "3.1.0",
"supertest": "4.0.2",
"ts-jest": "25.5.1",
"ts-loader": "6.2.1",
"ts-node": "8.6.2",
"tsconfig-paths": "3.9.0",
"typescript": "3.9.7"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"testResultsProcessor": "jest-sonar-reporter",
"setupFiles": [
"jest-date-mock"
]
},
"jestSonar": {
"reportPath": "reports",
"reportFile": "test-reporter.xml",
"indent": 4
}
}