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-12 03:23:22 +03:00
|
|
|
"nestjs-telegraf": "2.0.0-beta.2",
|
2021-01-03 17:32:58 +03:00
|
|
|
"reflect-metadata": "0.1.13",
|
|
|
|
"rimraf": "3.0.2",
|
|
|
|
"rxjs": "6.6.3",
|
2021-01-14 10:07:36 +03:00
|
|
|
"telegraf": "4.0.1"
|
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-13 12:16:47 +03:00
|
|
|
"@types/express": "4.17.11",
|
2021-01-07 12:52:05 +03:00
|
|
|
"@types/jest": "26.0.20",
|
2021-01-15 02:14:23 +03:00
|
|
|
"@types/node": "14.14.21",
|
2021-01-03 17:32:58 +03:00
|
|
|
"@types/supertest": "2.0.10",
|
2021-01-19 11:50:44 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "4.14.0",
|
2021-01-18 21:50:24 +03:00
|
|
|
"@typescript-eslint/parser": "4.14.0",
|
2021-01-16 03:36:00 +03:00
|
|
|
"eslint": "7.18.0",
|
2021-01-03 17:32:58 +03:00
|
|
|
"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-16 00:22:56 +03:00
|
|
|
"supertest": "6.1.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"
|
|
|
|
}
|
|
|
|
}
|