Skip to content
Snippets Groups Projects
Commit bed82677 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire: Committed by Reiter, Christoph
Browse files

Remove "npm run setup" process

parent e2efa964
No related branches found
No related tags found
No related merge requests found
dist dist
node_modules node_modules
.idea .idea
npm-debug.log npm-debug.log
\ No newline at end of file package-lock.json
...@@ -21,11 +21,7 @@ git clone git@gitlab.tugraz.at:VPU/WebComponents/KnowledgeBaseWebPageElementView ...@@ -21,11 +21,7 @@ git clone git@gitlab.tugraz.at:VPU/WebComponents/KnowledgeBaseWebPageElementView
cd KnowledgeBaseWebPageElementView cd KnowledgeBaseWebPageElementView
git submodule update --init git submodule update --init
# we are creating the symbolic links to our git sub-modules # install dependencies (make sure you have npm version 4+ installed, so symlinks to the git submodules are created automatically)
# (there was no proper script to do this automatically before a "node install"
npm run setup
# install dependencies
npm install npm install
# constantly build dist/bundle.js and run a local web-server on port 8002 # constantly build dist/bundle.js and run a local web-server on port 8002
......
...@@ -12,18 +12,17 @@ ...@@ -12,18 +12,17 @@
"rollup-plugin-terser": "^4.0.4", "rollup-plugin-terser": "^4.0.4",
"rollup-plugin-json": "^4.0.0", "rollup-plugin-json": "^4.0.0",
"rollup-plugin-replace": "^2.2.0", "rollup-plugin-replace": "^2.2.0",
"i18next-scanner": "^2.10.2" "i18next-scanner": "^2.10.2",
"vpu-auth": "file:./vendor/auth",
"vpu-common": "file:./vendor/common"
}, },
"dependencies": { "dependencies": {
"@webcomponents/webcomponentsjs": "^2.2.10", "@webcomponents/webcomponentsjs": "^2.2.10",
"i18next": "^17.0.3", "i18next": "^17.0.3",
"lit-element": "^2.1.0", "lit-element": "^2.1.0",
"lit-html": "^1.1.1", "lit-html": "^1.1.1"
"vpu-auth": "*",
"vpu-common": "*"
}, },
"scripts": { "scripts": {
"setup": "mkdir -p node_modules && cd node_modules && ln -sfn ../vendor/auth vpu-auth && ln -sfn ../vendor/common vpu-common",
"clean": "rm dist/*", "clean": "rm dist/*",
"build": "npm run build-local", "build": "npm run build-local",
"build-local": "rollup -c", "build-local": "rollup -c",
......
auth @ 272ff0f9
Subproject commit c76f617c689da8b379445e2980e230f3ad3a19c9 Subproject commit 272ff0f99aee54bc9a27521d572fb1dd2b9a8b63
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment