forked from sourcefuse/loopback4-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.88 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
{
"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": "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 .",
"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/boot": "^1.4.4",
"@loopback/context": "^1.20.2",
"@loopback/core": "^1.8.5",
"@loopback/openapi-v3": "^1.7.0",
"@loopback/repository": "^1.8.2",
"@loopback/rest": "^1.16.3",
"@loopback/rest-explorer": "^1.2.5",
"@loopback/service-proxy": "^1.2.3",
"bcrypt": "^3.0.6",
"db-migrate": "^0.11.11",
"db-migrate-pg": "^1.2.2",
"dotenv": "^8.0.0",
"dotenv-extended": "^2.4.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.19",
"loopback-connector": "^4.8.0",
"loopback-connector-kv-redis": "^3.0.1",
"loopback-connector-postgresql": "^3.7.0",
"loopback4-authentication": "^2.1.1",
"loopback4-authorization": "^2.3.2",
"loopback4-soft-delete": "^1.2.0",
"minimist": "^1.2.5"
},
"devDependencies": {
"@loopback/build": "^2.0.5",
"@loopback/testlab": "^1.6.3",
"@loopback/tslint-config": "^2.1.0",
"@types/bcrypt": "^3.0.0",
"@types/jsonwebtoken": "^8.3.2",
"@types/node": "^10.11.2",
"eslint": "^6.0.1",
"tslint": "^5.18.0",
"typescript": "^3.5.2"
}
}