A basic template for a npm package built with typescript.
by: G.A.JAGUAR
# build docker container and install dependencies.
sh install.sh
# create a docker image
docker-compose build
# install dependencies
docker-compose run --rm server pnpm i
# build for production
docker-compose run --rm server yarn build
# install dependencies
# pnpm (recommended to save disk space)
pnpm i
# or with yarn
yarn
# or native
npm install
# build for production
pnpm build