-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 3.84 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": "almond-schedule",
"version": "0.0.1",
"description": "gRPC microservice back-end for schedules.",
"author": "Francis Masha <francismasha96@gmail.com>",
"private": true,
"license": "MIT",
"packageManager": "yarn@3.2.1",
"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 --max-warnings=0 '{src,__tests__}/**/*.ts'",
"lint:fix": "eslint --fix '{src,__tests__}/**/*.ts'",
"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",
"generate:typings": "ts-node ./src/graphql/generate-typings",
"copy:protos": "cpy ../../_proto ./src",
"migrate": "ts-node migrate.ts",
"clear-all": "rimraf ./.cache ./dist",
"db:up": "echo creating && yarn db:create && echo created && yarn db:migrate && echo migrated",
"db:reset": "yarn db:drop && yarn db:up",
"db:create": "sequelize db:create",
"db:drop": "[[ $NODE_ENV == production ]] && exit 1 || sequelize db:drop",
"db:migrate": "sequelize db:migrate",
"db:rollback": "sequelize db:migrate:undo",
"db:rollback:all": "sequelize db:migrate:undo:all",
"db:seed:all": "sequelize db:seed:all",
"db:seed:rollback": "sequelize db:seed:undo:all"
},
"dependencies": {
"@grpc/grpc-js": "^1.6.7",
"@grpc/proto-loader": "^0.6.12",
"@nestjs/common": "^8.4.6",
"@nestjs/config": "^2.1.0",
"@nestjs/core": "^8.4.6",
"@nestjs/microservices": "^8.4.6",
"@nestjs/platform-express": "^8.4.6",
"@nestjs/schedule": "^2.0.1",
"@nestjs/sequelize": "^8.0.0",
"aigle": "^1.14.1",
"bluebird": "^3.7.2",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"dotenv": "^16.0.1",
"nestjs-pino": "^2.6.0",
"pg": "^8.7.3",
"pg-hstore": "^2.3.4",
"pg-native": "^3.0.0",
"pino": "^8.0.0",
"pino-http": "^7.1.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.5.5",
"sequelize": "^6.20.1",
"sequelize-cursor-pagination": "^2.4.0",
"sequelize-typescript": "^2.1.3",
"umzug": "^3.1.1"
},
"devDependencies": {
"@nestjs/cli": "^8.2.6",
"@nestjs/schematics": "^8.0.11",
"@nestjs/testing": "^8.4.6",
"@types/cron": "^2.0.0",
"@types/express": "^4.17.13",
"@types/jest": "28.1.0",
"@types/node": "^17.0.38",
"@types/sequelize": "^4.28.13",
"@types/supertest": "^2.0.12",
"@types/validator": "^13.7.2",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"cpy-cli": "^4.1.0",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"import-sort-style-module": "^6.0.0",
"jest": "^28.1.0",
"jest-extended": "^2.0.0",
"pino-pretty": "^8.0.0",
"prettier": "^2.6.2",
"prettier-plugin-import-sort": "^0.0.7",
"sequelize-cli": "^6.4.1",
"source-map-support": "^0.5.21",
"supertest": "^6.2.3",
"ts-jest": "^28.0.3",
"ts-loader": "^9.3.0",
"ts-node": "^10.8.0",
"tsconfig-paths": "^4.0.0",
"typescript": "^4.7.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module",
"parser": "typescript"
}
}
}