summaryrefslogtreecommitdiffstats
path: root/cds-ui/server/package.json
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-01-17 14:10:08 +0530
committerArundathi Patil <arundpil@in.ibm.com>2019-01-17 08:44:04 +0000
commit85db5b03a1fb5c2544559774b2f37f2ab108e1e4 (patch)
tree75a85e6178aeb4e24092f9102cefcccb61bb736b /cds-ui/server/package.json
parent22ca2adc867594e1c1fe9ff0b5750869e2eda282 (diff)
Seed code for loopback server
Added seed project structure for loopback server. This will act as intermediate layer between UI and backend. The angular UI app will be serverd through this server. Issue-ID: CCSDK-943 Change-Id: I03259782927eda0d7e5bff989f61a36f09a3afd8 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'cds-ui/server/package.json')
-rw-r--r--cds-ui/server/package.json63
1 files changed, 63 insertions, 0 deletions
diff --git a/cds-ui/server/package.json b/cds-ui/server/package.json
new file mode 100644
index 000000000..96639391f
--- /dev/null
+++ b/cds-ui/server/package.json
@@ -0,0 +1,63 @@
+{
+ "name": "cds-ui-server",
+ "version": "1.0.0",
+ "description": "Intermediate layer between UI and backend. Implemented in loopback 4",
+ "keywords": [
+ "loopback-application",
+ "loopback"
+ ],
+ "main": "index.js",
+ "engines": {
+ "node": ">=8.9"
+ },
+ "scripts": {
+ "build:apidocs": "lb-apidocs",
+ "build": "lb-tsc es2017 --outDir dist",
+ "build:watch": "lb-tsc --watch",
+ "clean": "lb-clean dist",
+ "lint": "npm run prettier:check && npm run tslint",
+ "lint:fix": "npm run tslint: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",
+ "tslint": "lb-tslint",
+ "tslint:fix": "npm run tslint -- --fix",
+ "pretest": "npm run clean && npm run build",
+ "test": "lb-mocha --allow-console-logs \"dist/test\"",
+ "posttest": "npm run lint",
+ "test:dev": "lb-mocha --allow-console-logs dist/test/**/*.js && npm run posttest",
+ "migrate": "node ./dist/src/migrate",
+ "prestart": "npm run build",
+ "start": "node .",
+ "prepublishOnly": "npm run test"
+ },
+ "repository": {
+ "type": "git"
+ },
+ "author": "",
+ "license": "",
+ "files": [
+ "README.md",
+ "index.js",
+ "index.d.ts",
+ "dist/src",
+ "dist/index*",
+ "src"
+ ],
+ "dependencies": {
+ "@loopback/boot": "^1.0.8",
+ "@loopback/context": "^1.4.0",
+ "@loopback/core": "^1.1.3",
+ "@loopback/openapi-v3": "^1.1.5",
+ "@loopback/repository": "^1.1.1",
+ "@loopback/rest": "^1.5.1",
+ "@loopback/rest-explorer": "^1.1.4",
+ "@loopback/service-proxy": "^1.0.5"
+ },
+ "devDependencies": {
+ "@loopback/build": "^1.1.0",
+ "@loopback/testlab": "^1.0.3",
+ "@loopback/tslint-config": "^1.0.0",
+ "@types/node": "^10.11.2"
+ }
+}