/
package.json
61 lines (61 loc) · 1.99 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
{
"name": "@loopback/example-hello-world",
"description": "A simple hello-world Application using LoopBack 4",
"version": "5.0.10",
"keywords": [
"loopback",
"LoopBack",
"example",
"tutorial"
],
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "IBM Corp. and LoopBack contributors",
"copyright.owner": "IBM Corp. and LoopBack contributors",
"repository": {
"type": "git",
"url": "https://github.com/loopbackio/loopback-next.git",
"directory": "examples/hello-world"
},
"engines": {
"node": "16 || 18"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
"build": "lb-tsc",
"build:watch": "lb-tsc --watch",
"clean": "lb-clean *example-hello-world*.tgz dist *.tsbuildinfo package",
"verify": "npm pack && tar xf *example-hello-world*.tgz && tree package && npm run clean",
"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 rebuild",
"test": "lb-mocha --allow-console-logs \"dist/__tests__/**/*.js\"",
"posttest": "npm run lint",
"test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js && npm run posttest",
"rebuild": "npm run clean && npm run build",
"prestart": "npm run rebuild",
"start": "node ."
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@loopback/core": "^4.0.10",
"@loopback/rest": "^12.0.10",
"tslib": "^2.5.0"
},
"devDependencies": {
"@loopback/build": "^9.0.10",
"@loopback/eslint-config": "^13.0.10",
"@loopback/testlab": "^5.0.10",
"@types/node": "^14.18.42",
"eslint": "^8.38.0",
"typescript": "~4.9.5"
}
}