add dev scripts.

This commit is contained in:
Miroslav Šedivý 2022-07-16 20:53:37 +02:00
parent 17be646493
commit ecbd2d3ca2
6 changed files with 106 additions and 0 deletions

10
dev/npm Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
cd "$(dirname "$0")"
# npm
docker run --rm -it \
--user "$(id -u):$(id -g)" \
--volume "${PWD}/../:/app" \
--entrypoint="npm" \
--workdir="/app" \
node:16-buster-slim "$@"