-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
122 lines (122 loc) · 3.97 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
119
120
121
122
{
"name": "shassi-nest",
"version": "2.23.0",
"description": "Shassi is a shopping assistant helping you to keep track of products you are interested and notifying you when price or availability change.",
"author": "Kim Kern <shassi@kimkern.de>",
"license": "MIT",
"scripts": {
"build": "nest build",
"mongod": "mongod",
"format": "prettier --write \"**/*.{ts,json}\"",
"start": "cross-env NODE_ENV=development nest start",
"start:dev": "cross-env NODE_ENV=development nest start --watch",
"start:debug": "cross-env NODE_ENV=development nest start --debug --watch",
"start:webstorm-debug": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true node --inspect -r tsconfig-paths/register -r ts-node/register src/main.ts --noEmit",
"start:prod": "cross-env NODE_ENV=production node dist/src/main",
"webpack": "rimraf dist && webpack --config webpack.config.js",
"post:webpack": "rimraf dist",
"start:hmr": "cross-env NODE_ENV=development DB_KEEP_CONNECTION_ALIVE=true node dist/server",
"lint": "eslint src/**/*.ts --fix && eslint 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 --runInBand",
"updatestep": "cross-env NODE_ENV=development ts-node ./updatesteps/updatestep3.ts"
},
"dependencies": {
"@nestjs/common": "^7.4.2",
"@nestjs/core": "^7.4.2",
"@nestjs/jwt": "^7.1.0",
"@nestjs/passport": "^7.1.0",
"@nestjs/platform-express": "^7.4.2",
"@nestjs/swagger": "^4.6.0",
"@nestjs/typeorm": "^7.1.1",
"bcrypt": "^5.0.0",
"class-transformer": "^0.3.1",
"class-validator": "^0.12.2",
"cron": "^1.8.2",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"faker": "^5.0.0",
"joi": "^17.2.1",
"jsdom": "^16.4.0",
"mongodb": "^3.6.0",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^6.6.2",
"swagger-ui-express": "^4.1.4",
"telegraf": "^3.38.0",
"typeorm": "^0.2.25",
"typescript": "^4.0.2",
"user-agents": "^1.0.559"
},
"devDependencies": {
"@nestjs/cli": "^7.5.1",
"@nestjs/schematics": "^7.1.1",
"@nestjs/testing": "^7.4.2",
"@types/bcrypt": "^3.0.0",
"@types/cron": "^1.7.2",
"@types/express": "^4.17.7",
"@types/faker": "^4.1.12",
"@types/jest": "^26.0.10",
"@types/joi": "^14.3.4",
"@types/jsdom": "^16.2.3",
"@types/node": "^14.6.0",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^3.10.0",
"@typescript-eslint/parser": "^3.10.0",
"coveralls": "^3.1.0",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-unused-imports": "^0.1.3",
"husky": "^4.2.5",
"jest": "^26.4.2",
"jest-sonar-reporter": "^2.0.0",
"lint-staged": "^10.2.11",
"nodemon": "^2.0.4",
"prettier": "^2.1.0",
"supertest": "^4.0.2",
"telegram-test-server": "github:kiwikern/telegram-test-server",
"ts-jest": "^26.2.0",
"ts-loader": "^8.0.3",
"ts-node": "^9.0.0",
"tsconfig-paths": "^3.9.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-node-externals": "^2.5.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"testResultsProcessor": "jest-sonar-reporter"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run lint && npm run test"
}
},
"lint-staged": {
"**/*.{ts,json}": [
"prettier --ignore-path ./.prettierignore --write"
]
},
"engines": {
"node": "12.x"
},
"heroku-run-build-script": true
}