2021-01-03 17:32:58 +03:00
|
|
|
{
|
|
|
|
"name": "nest-typescript-starter",
|
|
|
|
"private": true,
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "Nest TypeScript starter repository",
|
|
|
|
"license": "MIT",
|
|
|
|
"scripts": {
|
|
|
|
"prebuild": "rimraf dist",
|
|
|
|
"build": "nest build",
|
|
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
|
|
"start": "nest start",
|
|
|
|
"start:dev": "nest start --watch",
|
|
|
|
"start:debug": "nest start --debug --watch",
|
|
|
|
"start:prod": "node dist/main",
|
|
|
|
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
|
|
|
"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"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-01-05 19:50:40 +03:00
|
|
|
"@nestjs/common": "7.6.5",
|
|
|
|
"@nestjs/core": "7.6.5",
|
|
|
|
"@nestjs/platform-express": "7.6.5",
|
2021-01-05 13:37:00 +03:00
|
|
|
"dotenv": "8.2.0",
|
2021-01-03 17:32:58 +03:00
|
|
|
"nestjs-telegraf": "*",
|
|
|
|
"reflect-metadata": "0.1.13",
|
|
|
|
"rimraf": "3.0.2",
|
|
|
|
"rxjs": "6.6.3",
|
2021-01-05 13:37:00 +03:00
|
|
|
"telegraf": "3.38.0"
|
2021-01-03 17:32:58 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-01-05 19:50:40 +03:00
|
|
|
"@nestjs/cli": "7.5.4",
|
2021-01-05 15:51:59 +03:00
|
|
|
"@nestjs/schematics": "7.2.6",
|
2021-01-05 19:50:40 +03:00
|
|
|
"@nestjs/testing": "7.6.5",
|
2021-01-05 15:52:16 +03:00
|
|
|
"@types/express": "4.17.9",
|
2021-01-07 12:52:05 +03:00
|
|
|
"@types/jest": "26.0.20",
|
2021-01-05 16:23:42 +03:00
|
|
|
"@types/node": "14.14.20",
|
2021-01-03 17:32:58 +03:00
|
|
|
"@types/supertest": "2.0.10",
|
2021-01-05 15:51:41 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "4.12.0",
|
|
|
|
"@typescript-eslint/parser": "4.12.0",
|
2021-01-03 17:32:58 +03:00
|
|
|
"eslint": "7.12.1",
|
|
|
|
"eslint-config-prettier": "6.15.0",
|
2021-01-05 19:39:24 +03:00
|
|
|
"eslint-plugin-prettier": "3.3.1",
|
2021-01-03 17:32:58 +03:00
|
|
|
"jest": "26.6.3",
|
|
|
|
"prettier": "2.1.2",
|
2021-01-05 19:45:28 +03:00
|
|
|
"supertest": "6.0.1",
|
2021-01-05 19:50:11 +03:00
|
|
|
"ts-jest": "26.4.4",
|
2021-01-05 22:14:33 +03:00
|
|
|
"ts-loader": "8.0.14",
|
2021-01-05 19:46:39 +03:00
|
|
|
"ts-node": "9.1.1",
|
2021-01-03 17:32:58 +03:00
|
|
|
"tsconfig-paths": "3.9.0",
|
|
|
|
"typescript": "4.1.3"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"json",
|
|
|
|
"ts"
|
|
|
|
],
|
|
|
|
"rootDir": "src",
|
|
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
|
|
},
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"**/*.(t|j)s"
|
|
|
|
],
|
|
|
|
"coverageDirectory": "../coverage",
|
|
|
|
"testEnvironment": "node"
|
|
|
|
}
|
|
|
|
}
|