-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.62 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
{
"name": "time-costs-api",
"description": "Time&Costs API",
"version": "0.0.0",
"private": true,
"license": "CC-BY-NC-SA-4.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": {
"name": "adoitaIT Solutions",
"email": "[email protected]",
"url": "https://adoitait.solutions/"
},
"engines": {
"node": ">=10.16"
},
"scripts": {
"build": "lb-tsc",
"build:watch": "lb-tsc --watch",
"lint": "npm run eslint && npm run prettier:check",
"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 rebuild",
"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 time-costs-api .",
"docker:run": "docker run -p 3000:3000 -d time-costs-api",
"premigrate": "npm run build",
"migrate": "node ./dist/migrate",
"preopenapi-spec": "npm run build",
"openapi-spec": "node ./dist/openapi-spec",
"prestart": "npm run rebuild",
"start": "node -r source-map-support/register .",
"clean": "lb-clean dist *.tsbuildinfo .eslintcache",
"rebuild": "npm run clean && npm run build"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts}": [
"lb-eslint --fix",
"lb-prettier --write"
]
},
"dependencies": {
"@loopback/authentication": "^7.3.1",
"@loopback/authorization": "^0.9.1",
"@loopback/boot": "^3.4.1",
"@loopback/core": "^2.16.1",
"@loopback/repository": "^3.7.0",
"@loopback/rest": "^9.3.1",
"@loopback/rest-explorer": "^3.3.1",
"@loopback/service-proxy": "^3.2.1",
"bcrypt": "^5.0.1",
"jsonwebtoken": "^8.5.1",
"loopback-connector-postgresql": "^5.4.0",
"tslib": "^2.3.0"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@loopback/build": "^6.4.1",
"@loopback/eslint-config": "^10.2.1",
"@loopback/testlab": "^3.4.1",
"@types/bcrypt": "^5.0.0",
"@types/jsonwebtoken": "^8.5.3",
"@types/node": "^10.17.60",
"eslint": "^7.28.0",
"husky": "~4.3.8",
"lint-staged": "^11.0.0",
"source-map-support": "^0.5.19",
"typescript": "~4.3.5"
}
}