Adding views as git submodule

This commit is contained in:
Fabian Stamm
2020-03-09 18:09:30 +01:00
parent 8edfaba134
commit 78927bffe1
6 changed files with 54 additions and 2029 deletions

View File

@ -6,13 +6,14 @@
"license": "MIT",
"scripts": {
"start": "node lib/index.js",
"install": "cd views && npm install",
"install": "cd views && npm install && cd .. && git submodule init && git submodule update && cd views_repo && npm i ",
"build-doc": "apidoc -i src/ -p apidoc/",
"build-ts": "tsc",
"build": "tsc && cd views && npm run build && cd ..",
"build": "tsc && cd views && npm run build && cd .. && cd views_repo && npm run build",
"build-server": "tsc",
"watch-ts": "tsc -w",
"watch-views": "cd views && npm run watch",
"watch-views_repo": "cd views_repo && npm run dev",
"watch-node": "nodemon --ignore ./views lib/index.js",
"watch": "concurrently \"npm:watch-*\""
},
@ -40,7 +41,6 @@
"@hibas123/config": "^1.1.0",
"@hibas123/nodelogging": "^2.1.4",
"@hibas123/nodeloggingserver_client": "^1.1.2",
"@hibas123/openauth-views": "file:../Views",
"@hibas123/safe_mongo": "^1.6.1",
"body-parser": "^1.19.0",
"compression": "^1.7.4",
@ -61,4 +61,4 @@
"u2f": "^0.1.3",
"uuid": "^7.0.2"
}
}
}