Skip to content
Snippets Groups Projects
Commit 27c62d9f authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Include vendored packages in package.json directly

parent 816842ad
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,5 @@ test:
script:
- apt update
- apt install -y npm
- npm run setup
- npm install
- npm run build
......@@ -10,11 +10,7 @@ git clone git@gitlab.tugraz.at:VPU/WebComponents/PersonSelect.git
cd PersonSelect
git submodule update --init
# we are creating the symbolic links to our git sub-modules
# (there was no proper script to do this automatically before a "node install"
npm run setup
# install dependencies
# install dependencies (make sure you have npm version 4+ installed, so symlinks to the git submodules are created automatically)
npm install
# constantly build dist/bundle.js and run a local web-server on port 8002
......
......@@ -13,16 +13,16 @@
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-json": "^4.0.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": {
"@webcomponents/webcomponentsjs": "^2.2.10",
"i18next": "^17.0.3",
"jquery": "^3.4.1",
"lit-element": "^2.1.0",
"select2": "^4.0.7",
"vpu-auth": "*",
"vpu-common": "*"
"select2": "^4.0.7"
},
"scripts": {
"setup": "mkdir -p node_modules && cd node_modules && ln -sfn ../vendor/common vpu-common && ln -sfn ../vendor/auth vpu-auth",
......
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