-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
113 lines (113 loc) · 4.06 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
{
"name": "myriad-api",
"version": "2.4.0",
"description": "myriad-api",
"private": true,
"license": "AGPL-3.0",
"author": "Myriad Dev Team <[email protected]>",
"homepage": "https://myriad.social",
"repository": {
"type": "git",
"url": "https://github.com/myriadsocial/myriad-api.git"
},
"engines": {
"node": ">=14.0.0",
"yarn": ">=1.22.0",
"npm": "please-use-yarn"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prepare": "husky install",
"clean": "lb-clean dist *.tsbuildinfo .eslintcache",
"build": "lb-tsc",
"build:watch": "lb-tsc --watch",
"rebuild": "yarn clean && yarn build",
"prestart": "yarn rebuild",
"start": "node -r source-map-support/register .",
"start:watch": "tsc-watch --outDir ./dist --onSuccess \"node .\"",
"premigrate": "yarn build",
"migrate": "node ./dist/migrate",
"preopenapi-spec": "yarn build",
"openapi-spec": "node ./dist/openapi-spec",
"lint:check": "lb-eslint --report-unused-disable-directives --ignore-path .gitignore .",
"lint:fix": "lb-eslint --fix --ignore-path .gitignore .",
"format:check": "lb-prettier --list-different --ignore-unknown --ignore-path .gitignore . '!CHANGELOG.md'",
"format:fix": "lb-prettier --write --ignore-unknown --ignore-path .gitignore . '!CHANGELOG.md'",
"pretest": "yarn rebuild",
"test": "lb-mocha --allow-console-logs \"dist/__tests__\"",
"test:unit": "yarn pretest && lb-mocha --allow-console-logs \"dist/__tests__/unit\"",
"test:integration": "yarn pretest && lb-mocha --allow-console-logs \"dist/__tests__/integration\"",
"test:acceptance": "yarn pretest && lb-mocha --allow-console-logs \"dist/__tests__/acceptance\"",
"posttest": "yarn lint:check && yarn format:check",
"test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js && yarn posttest",
"docker:build": "./.maintain/docker/build-image.sh",
"docker:run": "./.maintain/docker/start-docker-compose.sh",
"docker:down": "./.maintain/docker/stop-docker-compose.sh"
},
"dependencies": {
"@loopback/authentication": "^9.0.4",
"@loopback/boot": "^5.0.4",
"@loopback/core": "^4.0.4",
"@loopback/cron": "^0.9.4",
"@loopback/health": "^0.11.4",
"@loopback/repository": "^5.0.4",
"@loopback/rest": "^12.0.4",
"@loopback/rest-explorer": "^5.0.4",
"@loopback/security": "^0.8.4",
"@loopback/service-proxy": "^5.0.4",
"@polkadot/api": "^9.14.2",
"@sentry/node": "^7.20.0",
"a-nonce-generator": "^2.0.1",
"ansi-colors": "^4.1.3",
"bcryptjs": "^2.4.3",
"bson-objectid": "^2.0.3",
"cli-progress": "^3.11.2",
"dotenv": "^16.0.3",
"firebase-admin": "^11.3.0",
"js-sha256": "^0.9.0",
"lodash": "^4.17.21",
"loopback-connector-kv-redis": "^4.0.0",
"loopback-connector-mongodb": "^6.1.0",
"loopback-connector-rest": "^4.0.2",
"loopback4-ratelimiter": "^4.1.2",
"minio": "^7.1.3",
"multer": "^1.4.5-lts.1",
"near-api-js": "^1.1.0",
"near-seed-phrase": "^0.2.0",
"nodemailer": "^6.8.0",
"open-graph-scraper": "^5.0.0",
"sharp": "^0.32.6",
"tslib": "^2.0.0",
"tweetnacl": "^1.0.3",
"uuid": "^9.0.0",
"validator": "^13.7.0"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@loopback/build": "^9.0.4",
"@loopback/eslint-config": "^13.0.4",
"@loopback/testlab": "^5.0.4",
"@sentry/typescript": "^5.20.1",
"@types/bcryptjs": "^2.4.2",
"@types/bs58": "^4.0.1",
"@types/cli-progress": "^3.11.0",
"@types/express-serve-static-core": "^4.17.26",
"@types/lodash": "^4.14.189",
"@types/multer": "^1.4.7",
"@types/node": "^18.11.9",
"@types/nodemailer": "^6.4.6",
"@types/open-graph-scraper": "^4.8.1",
"@types/sharp": "^0.31.1",
"@types/uuid": "^8.3.4",
"@types/validator": "^13.7.8",
"eslint": "^8.28.0",
"husky": "^8.0.2",
"lint-staged": "^13.1.2",
"prettier-plugin-sh": "^0.12.8",
"source-map-support": "^0.5.21",
"tsc-watch": "^5.0.3",
"typescript": "~4.9.3"
}
}