-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 3.89 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 3.89 KB
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
{
"name": "pulsebase",
"version": "0.0.1",
"description": "",
"author": "Siddharth S Kumar",
"private": true,
"license": "UNLICENSED",
"scripts": {
"build:prod": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"postbuild:prod": "copyfiles --up 1 src/**/*.json dist",
"start:dev": "ts-node -r tsconfig-paths/register src/main.ts",
"start:prod": "node dist/main.js",
"typeorm": "typeorm-ts-node-esm",
"migration:generate": "npm run typeorm migration:generate -d ormconfig",
"migration:create": "npx mikro-orm migration:create",
"migration:revert": "npm run typeorm migration:revert",
"schema:drop": "npm run typeorm schema:drop",
"watch:dev": "ts-node-dev -r tsconfig-paths/register src/main.ts",
"debug:dev": "cross-env TS_NODE_CACHE=false ts-node-dev --inspect --ignore '/^src/.*\\.spec\\.ts$/' src/main.ts",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint --fix . --ext .ts",
"test": "NODE_ENV=test jest",
"test:watch": "NODE_ENV=test jest --watch",
"test:cov": "NODE_ENV=test jest --coverage",
"test:debug": "NODE_ENV=test node --inspect-brk -r ts-node/register node_modules/.bin/jest --runInBand",
"copy:lib": "cpx 'src/lib/**/{files,workspace}/**/*.*' dist/lib && cpx 'src/lib/**/{files,workspace}/**/.!(gitignore)' dist/lib",
"test:e2e": "NODE_ENV=test jest --config ./test/jest-e2e.json",
"prepare": "husky install"
},
"dependencies": {
"@mikro-orm/core": "^5.7.12",
"@mikro-orm/nestjs": "^5.1.8",
"@mikro-orm/postgresql": "^5.7.12",
"@mikro-orm/sql-highlighter": "^1.0.1",
"@nestjs/common": "^10.0.3",
"@nestjs/core": "^10.0.3",
"@nestjs/platform-express": "^10.0.3",
"@nestjs/swagger": "^7.0.12",
"@nestjs/terminus": "^10.0.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"cli-box": "^6.0.10",
"nest-typed-config": "^2.6.0",
"nestjs-pino": "^3.3.0",
"pino-http": "^8.3.3",
"pino-pretty": "^10.0.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1",
"swagger-ui-express": "^4.6.3"
},
"devDependencies": {
"@mikro-orm/cli": "^5.7.12",
"@nestjs/cli": "^10.0.3",
"@nestjs/schematics": "^10.0.1",
"@nestjs/testing": "^10.0.3",
"@types/compression": "^1.7.2",
"@types/express": "^4.17.17",
"@types/jest": "29.5.2",
"@types/jsonwebtoken": "^9.0.2",
"@types/lodash": "^4.14.195",
"@types/mime-types": "^2.1.1",
"@types/node": "20.3.1",
"@types/supertest": "^2.0.12",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"copyfiles": "^2.4.1",
"cpx": "^1.5.0",
"cross-env": "^7.0.3",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-import-helpers": "^1.3.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-sonarjs": "^0.19.0",
"eslint-plugin-unicorn": "^47.0.0",
"gh-pages": "^5.0.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "~13.2.2",
"prettier": "^2.8.8",
"source-map-support": "^0.5.21",
"supertest": "^6.3.3",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"tsc-alias": "^1.8.6",
"tsconfig-paths": "4.2.0",
"typescript": "^5.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"
},
"mikro-orm": {
"useTsNode": true,
"configPaths": [
"./src/database/mikro-orm.config.ts",
"./dist/database/mikro-orm.config.js"
]
}
}