generated from rolling-scopes-school/nodejs-course-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
124 lines (124 loc) · 3.7 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
123
124
{
"name": "rs-rest-service-starter",
"version": "1.0.0",
"repository": {
"type": "git",
"url": ""
},
"type": "commonjs",
"description": "REST service starter for RS School",
"main": "src/server.ts",
"scripts": {
"build": "tsc -w",
"start": "nest start",
"start:nodemon": "nodemon --exitcrash -L src/main.ts",
"start:dev": "nest start --watch",
"lint": "eslint --ext .ts --fix src/",
"test": "cross-env DEBUG=rs:* jest --testMatch \"<rootDir>/test/e2e/test/*.test.js\" --noStackTrace --runInBand",
"test:auth": "cross-env DEBUG=rs:* TEST_MODE=auth jest --testMatch \"<rootDir>/test/e2e/**/*.test.js\" --noStackTrace",
"typeorm:cli": "ts-node ./node_modules/typeorm/cli -f ./src/config/ormconfig.ts",
"mig:gen": "ts-node ./node_modules/typeorm/cli -f ./src/config/ormconfig.ts \"migration:generate\" \"-n\"",
"mig:up": "ts-node ./node_modules/typeorm/cli -f ./src/config/ormconfig.ts \"migration:run\"",
"mig:down": "ts-node ./node_modules/typeorm/cli -f ./src/config/ormconfig.ts \"migration:revert\"",
"art:dino": "artillery dino",
"art:run": "artillery run --output artillery-users-test.json artillery-users-test.yml && artillery report artillery-users-test.json"
},
"keywords": [
"rs",
"school",
"rest",
"node",
"express",
"autotest",
"starter"
],
"license": "ISC",
"engines": {
"node": ">=16.0.0 <17"
},
"jest": {
"testEnvironment": "node",
"setupFilesAfterEnv": [
"./test/setup.js"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.js": [
"npm run lint"
]
},
"dependencies": {
"@nestjs/common": "^8.0.0",
"@nestjs/config": "^1.1.6",
"@nestjs/core": "^8.0.0",
"@nestjs/jwt": "^8.0.0",
"@nestjs/mapped-types": "*",
"@nestjs/passport": "^8.1.0",
"@nestjs/platform-express": "^8.2.6",
"@nestjs/platform-fastify": "^8.2.6",
"@nestjs/swagger": "^5.2.0",
"@nestjs/typeorm": "^8.0.3",
"bcrypt": "^5.0.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"cross-env": "^7.0.3",
"express": "^4.17.2",
"fastify-file-interceptor": "^1.0.6",
"fastify-multer": "^2.0.2",
"fastify-swagger": "^4.13.1",
"nest-winston": "^1.6.2",
"passport": "^0.6.0",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"pg": "^8.7.1",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.2.0",
"swagger-ui-express": "^4.3.0",
"typeorm": "^0.2.41",
"winston": "^3.5.0"
},
"devDependencies": {
"@nestjs/cli": "^8.2.8",
"@nestjs/schematics": "^8.0.0",
"@nestjs/testing": "^8.0.0",
"@types/bcrypt": "^5.0.0",
"@types/express": "^4.17.13",
"@types/jest": "27.0.2",
"@types/multer": "^1.4.7",
"@types/node": "^16.0.0",
"@types/passport-jwt": "^3.0.6",
"@types/passport-local": "^1.0.34",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"artillery": "^2.0.0-11",
"chai": "4.3.4",
"debug": "4.3.2",
"dirty-chai": "2.0.1",
"eslint": "^8.0.1",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-tsdoc": "^0.2.14",
"husky": "^4.3.8",
"jest": "27.3.1",
"lint-staged": "12.0.3",
"nodemon": "^2.0.15",
"prettier": "^2.3.2",
"source-map-support": "^0.5.20",
"supertest": "^6.1.3",
"ts-jest": "^27.0.3",
"ts-loader": "^9.2.3",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.10.1",
"typescript": "^4.3.5"
}
}