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-10-01 23:48:05 +03:00
|
|
|
"@nestjs/common": "8.0.9",
|
|
|
|
"@nestjs/core": "8.0.9",
|
|
|
|
"@nestjs/platform-express": "8.0.9",
|
2021-05-23 18:19:22 +03:00
|
|
|
"dotenv": "10.0.0",
|
2021-10-01 19:26:27 +03:00
|
|
|
"nestjs-telegraf": "2.4.0",
|
2021-01-03 17:32:58 +03:00
|
|
|
"reflect-metadata": "0.1.13",
|
|
|
|
"rimraf": "3.0.2",
|
2021-09-17 00:46:11 +03:00
|
|
|
"telegraf": "4.4.2"
|
2021-01-03 17:32:58 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-10-01 23:48:05 +03:00
|
|
|
"@nestjs/cli": "8.1.2",
|
2021-11-16 15:23:28 +03:00
|
|
|
"@nestjs/schematics": "8.0.5",
|
2021-10-01 23:48:05 +03:00
|
|
|
"@nestjs/testing": "8.0.9",
|
2021-07-07 02:01:57 +03:00
|
|
|
"@types/express": "4.17.13",
|
2021-11-19 01:51:52 +03:00
|
|
|
"@types/jest": "27.0.3",
|
2021-12-16 03:41:55 +03:00
|
|
|
"@types/node": "16.11.14",
|
2021-04-25 17:47:43 +03:00
|
|
|
"@types/supertest": "2.0.11",
|
2021-12-13 23:18:54 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.7.0",
|
|
|
|
"@typescript-eslint/parser": "5.7.0",
|
2021-12-07 08:18:32 +03:00
|
|
|
"eslint": "8.4.1",
|
2021-04-25 23:57:58 +03:00
|
|
|
"eslint-config-prettier": "8.3.0",
|
2021-08-31 00:54:11 +03:00
|
|
|
"eslint-plugin-prettier": "4.0.0",
|
2021-12-13 23:22:42 +03:00
|
|
|
"jest": "27.4.5",
|
2021-12-04 22:24:07 +03:00
|
|
|
"prettier": "2.5.1",
|
2021-08-18 01:26:52 +03:00
|
|
|
"supertest": "6.1.6",
|
2021-12-08 15:02:46 +03:00
|
|
|
"ts-jest": "27.1.1",
|
2021-09-21 02:00:45 +03:00
|
|
|
"ts-loader": "9.2.6",
|
2021-10-23 04:05:37 +03:00
|
|
|
"ts-node": "10.4.0",
|
2021-11-20 16:52:51 +03:00
|
|
|
"tsconfig-paths": "3.12.0",
|
2021-10-13 02:20:00 +03:00
|
|
|
"typescript": "4.4.4"
|
2021-01-03 17:32:58 +03:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"json",
|
|
|
|
"ts"
|
|
|
|
],
|
|
|
|
"rootDir": "src",
|
|
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
|
|
},
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"**/*.(t|j)s"
|
|
|
|
],
|
|
|
|
"coverageDirectory": "../coverage",
|
|
|
|
"testEnvironment": "node"
|
|
|
|
}
|
|
|
|
}
|