-
Notifications
You must be signed in to change notification settings - Fork 59
/
package.json
111 lines (111 loc) · 3.89 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
{
"name": "nest-auth-example",
"version": "0.0.1",
"description": "Nest.js authentication with Passport. Realworld example",
"author": "Jaime Leonardo Suncin Cruz <leosuncin@gmail.com>",
"private": true,
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"db:create": "ts-node -r dotenv-mono/load -r tsconfig-paths/register node_modules/typeorm-extension/bin/cli.cjs db:create -r src/config --synchronize=no --initialDatabase=postgres",
"db:drop": "ts-node -r dotenv-mono/load -r tsconfig-paths/register node_modules/typeorm-extension/bin/cli.cjs db:drop -r src/config --initialDatabase=postgres",
"db:seed": "ts-node -r dotenv-mono/load -r tsconfig-paths/register node_modules/typeorm-extension/bin/cli.cjs seed:run -r src/config",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "node dist/main.js",
"start:dev": "NODE_OPTIONS='-r dotenv-mono/load' nest start --watch",
"start:repl": "NODE_OPTIONS='-r dotenv-mono/load' nest start --entryFile repl",
"start:debug": "NODE_OPTIONS='-r dotenv-mono/load' nest start --debug --watch",
"migration:run": "typeorm migration:run -d dist/data-source",
"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",
"typeorm": "NODE_OPTIONS='-r dotenv-mono/load -r tsconfig-paths/register' typeorm-ts-node-commonjs -d src/data-source"
},
"dependencies": {
"@nestjs/common": "^10.0.1",
"@nestjs/core": "^10.0.1",
"@nestjs/jwt": "^10.1.0",
"@nestjs/passport": "^10.0.0",
"@nestjs/platform-express": "^10.0.1",
"@nestjs/terminus": "^10.0.1",
"@nestjs/typeorm": "^10.0.0",
"bcryptjs": "^2.4.3",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"connect-pg-simple": "^10.0.0",
"cookie-parser": "^1.4.6",
"express-session": "^1.17.3",
"passport": "^0.7.0",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"pg": "^8.11.0",
"reflect-metadata": "^0.2.1",
"rimraf": "^6.0.1",
"rxjs": "^7.8.0",
"typeorm": "^0.3.11"
},
"devDependencies": {
"@devoxa/integresql-client": "^2.0.0",
"@faker-js/faker": "^8.0.0",
"@jackfranklin/test-data-bot": "^2.0.0",
"@nestjs/cli": "^10.0.2",
"@nestjs/schematics": "^10.0.1",
"@nestjs/testing": "^10.0.1",
"@types/bcryptjs": "^2.4.2",
"@types/cookie-parser": "^1.4.3",
"@types/express": "^5.0.0",
"@types/express-session": "^1.17.5",
"@types/jest": "^29.2.4",
"@types/node": "^22.1.0",
"@types/passport-jwt": "^4.0.1",
"@types/passport-local": "^1.0.34",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.45.1",
"@typescript-eslint/parser": "^5.45.1",
"dotenv-mono": "^1.3.10",
"eslint": "^8.29.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.26.0",
"jest": "^28.0.0",
"jest-ts-auto-mock": "^2.1.0",
"node-mocks-http": "^1.12.1",
"prettier": "^3.0.0",
"supertest": "^7.0.0",
"ts-auto-mock": "^3.6.2",
"ts-jest": "^28.0.0",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"ttypescript": "^1.5.13",
"typeorm-extension": "^3.0.1",
"typescript": "^4.9.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.ts$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"setupFiles": [
"dotenv-mono/load",
"jest-ts-auto-mock"
],
"globals": {
"ts-jest": {
"compiler": "ttypescript",
"tsconfig": "tsconfig.test.json"
}
}
}
}