This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 4.56 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
125
126
127
128
129
130
131
132
133
134
135
{
"name": "content-watcher-service",
"version": "0.9.0",
"description": "Services to publish content on DSNP/Frequency",
"main": "dist/apps/api/main.js",
"scripts": {
"start": "nest start api",
"start:watch": "nest start api --watch",
"start:prod": "node dist/apps/api/main.js",
"start:dev": "set -a ; . .env ; nest start api --watch",
"start:debug": "set -a ; . .env ; nest start api --debug --watch",
"build": "nest build",
"build:swagger": "npx ts-node -r tsconfig-paths/register apps/api/src/build-openapi.ts",
"build:metadata": "npx ts-node apps/api/src/generate-metadata.ts",
"generate-swagger-ui": "npx --yes @redocly/cli build-docs swagger.json --output=./docs/index.html",
"format": "prettier --write \"apps/**/*.ts\" \"libs/**/*.ts\"",
"docker-build": "docker build -t content-watcher-service .",
"docker-build:dev": "docker-compose build",
"docker-run": " build -t content-watcher-service-deploy . ; docker run -p 6379:6379 --env-file .env content-watcher-service-deploy",
"docker-run:dev": "docker-compose up -d ; docker-compose logs",
"docker-stop:dev": "docker-compose stop",
"clean": "rm -Rf dist",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest --coverage --verbose",
"test:e2e": "set -a ; . ./.env; jest --config ./apps/api/test/jest-e2e.json --detectOpenHandles",
"local:init": "node scripts/chain-setup/local-chain-setup.cjs",
"local:publish": "cd scripts/content-setup && npm i && npm run main",
"local:webhook": "node scripts/webhook-cat.cjs",
"generate-content-announcement-types": "npx @hey-api/openapi-ts -i content-announcement.openapi.json -o libs/common/src/types/content-announcement"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AmplicaLabs/content-watcher-service.git"
},
"keywords": [],
"author": "",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/AmplicaLabs/content-watcher-service/issues"
},
"homepage": "https://github.com/AmplicaLabs/content-watcher-service#readme",
"dependencies": {
"@bull-board/api": "^5.17.1",
"@bull-board/express": "^5.17.1",
"@bull-board/nestjs": "^5.17.1",
"@bull-board/ui": "^5.17.1",
"@dsnp/activity-content": "^1.1.0",
"@dsnp/frequency-schemas": "^1.1.0",
"@dsnp/parquetjs": "^1.6.2",
"@frequency-chain/api-augment": "1.11.1",
"@multiformats/blake2": "^1.0.13",
"@nestjs/bullmq": "^10.1.1",
"@nestjs/cli": "^10.3.2",
"@nestjs/common": "^10.3.8",
"@nestjs/config": "^3.2.3",
"@nestjs/core": "^10.3.8",
"@nestjs/event-emitter": "^2.0.4",
"@nestjs/platform-express": "^10.3.8",
"@nestjs/schedule": "^4.0.2",
"@nestjs/swagger": "^7.3.1",
"@polkadot/api": "^10.12.4",
"@polkadot/api-base": "^10.12.4",
"@polkadot/types": "^10.12.4",
"@polkadot/util": "^12.6.2",
"@songkeys/nestjs-redis": "^10.0.0",
"@types/multer": "^1.4.7",
"axios": "^1.6.8",
"bullmq": "^5.7.8",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"form-data": "^4.0.0",
"ioredis": "^5.4.1",
"ipfs-only-hash": "^4.0.0",
"joi": "^17.13.1",
"mime-types": "^2.1.35",
"multiformats": "9.9.0",
"rxjs": "^7.8.1",
"time-constants": "^1.0.3"
},
"devDependencies": {
"@hey-api/openapi-ts": "^0.45.1",
"@jest/globals": "^29.7.0",
"@nestjs/testing": "^10.3.10",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.10",
"@types/supertest": "^6.0.2",
"@types/time-constants": "^1.0.2",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-plugin-jest": "^28.5.0",
"ioredis-mock": "^8.9.0",
"jest": "^29.7.0",
"license-report": "^6.5.0",
"prettier": "^3.2.5",
"supertest": "^7.0.0",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.4.5",
"typescript-eslint": "^7.9.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"setupFiles": [
"./jest-setup.ts"
],
"testRegex": ".*\\.spec\\.ts$",
"testPathIgnorePatterns": [
".*\\.mock\\.spec\\.ts$"
],
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "./coverage",
"testEnvironment": "node",
"roots": [
"<rootDir>/apps/",
"<rootDir>/libs/"
],
"moduleNameMapper": {
"^@content-watcher-common(|/.*)$": "<rootDir>/libs/common/src/$1"
}
}
}