Skip to content

Commit

Permalink
Move npm prepare commands to a script (#9809)
Browse files Browse the repository at this point in the history
  • Loading branch information
eanders-ms authored Jan 3, 2024
1 parent d836236 commit e622f92
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,6 @@
"test:lang": "gulp testlang",
"update": "gulp update",
"watch-streamer": "cd docs/static/streamer && tsc -t es6 --watch",
"prepare": "cd skillmap && npm install && cd .. && cd authcode && npm install && cd .. && cd multiplayer && npm install && cd .. && cd kiosk && npm install && cd .. && cd teachertool && npm install && cd .."
"prepare": "bash scripts/npm-prepare.sh"
}
}
7 changes: 7 additions & 0 deletions scripts/npm-prepare.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

cd skillmap && npm install --no-update-notifier && cd ..
cd authcode && npm install --no-update-notifier && cd ..
cd multiplayer && npm install --no-update-notifier && cd ..
cd kiosk && npm install --no-update-notifier && cd ..
cd teachertool && npm install --no-update-notifier && cd ..

0 comments on commit e622f92

Please sign in to comment.