forked from sourcefuse/loopback4-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (104 loc) · 3.51 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
{
"name": "loopback4-starter",
"version": "1.0.1",
"description": "A boilerplate starter code base for setting up a loopback4 API for a multi-tenant application",
"keywords": [
"loopback-application",
"loopback"
],
"main": "dist/index.js",
"engines": {
"node": ">=8.9"
},
"scripts": {
"build": "npm run clean && lb-tsc --copy-resources",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean dist *.tsbuildinfo",
"lint": "npm run prettier:check && npm run eslint",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"prettier:cli": "lb-prettier \"**/*.ts\" \"**/*.js\"",
"prettier:check": "npm run prettier:cli -- -l",
"prettier:fix": "npm run prettier:cli -- --write",
"eslint": "lb-eslint --report-unused-disable-directives .",
"eslint:fix": "npm run eslint -- --fix",
"pretest": "npm run build",
"test": "lb-mocha --allow-console-logs \"dist/__tests__\"",
"posttest": "npm run lint",
"test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js && npm run posttest",
"docker:build": "docker build -t loopback4-starter .",
"docker:run": "docker run -p 3000:3000 -d loopback4-starter",
"migrate": "node ./dist/migrate",
"prestart": "npm run build",
"start": "node -r source-map-support/register .",
"dev": "tsc-watch -b --onSuccess \"node .\"",
"prepublishOnly": "npm run test",
"db:migrate": "./node_modules/db-migrate/bin/db-migrate up --config './migrations/database.json'",
"db:migrate:down": "./node_modules/db-migrate/bin/db-migrate down --config './migrations/database.json'",
"db:migrate:reset": "./node_modules/db-migrate/bin/db-migrate reset --config './migrations/database.json'"
},
"repository": {
"type": "git"
},
"author": "Sourcefuse",
"license": "MIT",
"files": [
"README.md",
"index.js",
"index.d.ts",
"dist",
"src",
"!*/__tests__"
],
"dependencies": {
"@loopback/authentication": "^7.0.1",
"@loopback/authentication-jwt": "^0.7.1",
"@loopback/boot": "^3.0.1",
"@loopback/context": "^3.12.0",
"@loopback/core": "^2.10.1",
"@loopback/logging": "^0.4.1",
"@loopback/openapi-v3": "^5.0.0",
"@loopback/repository": "^3.0.1",
"@loopback/rest": "^7.0.1",
"@loopback/rest-crud": "^0.8.15",
"@loopback/rest-explorer": "^3.0.1",
"@loopback/service-proxy": "^3.0.1",
"@types/app-root-path": "^1.2.4",
"@types/bcrypt": "^3.0.0",
"@types/jsonwebtoken": "^8.5.0",
"@types/morgan": "^1.9.1",
"app-root-path": "^3.0.0",
"bcrypt": "^5.0.0",
"db-migrate": "^0.11.11",
"db-migrate-pg": "^1.2.2",
"dotenv": "^8.2.0",
"dotenv-extended": "^2.9.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.20",
"loopback-connector-kv-redis": "^4.0.0",
"loopback-connector-postgresql": "^5.2.0",
"loopback4-authentication": "^4.0.1",
"loopback4-authorization": "^3.0.0",
"loopback4-soft-delete": "^3.0.0",
"minimist": "^1.2.5",
"moment": "^2.29.1",
"morgan": "^1.10.0",
"npm": "^6.14.8",
"tsc-watch": "^4.2.9",
"tslib": "^2.0.0",
"winston": "^3.3.3",
"winston-daily-rotate-file": "^4.5.0"
},
"devDependencies": {
"@loopback/build": "^6.2.4",
"@loopback/testlab": "^3.2.6",
"@loopback/tslint-config": "^2.1.0",
"@types/bcrypt": "^3.0.0",
"@types/jsonwebtoken": "^8.5.0",
"@types/node": "^10.17.35",
"eslint": "^7.9.0",
"tslint": "^5.18.0",
"typescript": "~4.0.2",
"source-map-support": "^0.5.19",
"@loopback/eslint-config": "^10.0.0"
}
}