Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 842 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 842 Bytes

Node.js project starter

Features:

  • Creates a folder
  • Initializes a git repository with an empty initial commit
  • Initializes npm
  • Installs TypeScript, Prettier, ESLint and Jest
  • Creates GitHub Actions flow

Installation:

Usage

  • bootstrap-nodejs-package my-new-package

Testing locally with docker

# Build a local image
docker build -t bootstrap-nodejs-package -f Dockerfile.test .

# Run it with an interactive shell:
docker run -it --rm -v $(pwd)/test-output:/app/test-output -e TEST_PROJECT_NAME=test1 bootstrap-nodejs-package /bin/bash