Skip to content

Node.js (v13.13+) starter with minimal dependencies. Support for ECMAScript modules, lint and unit testing. Plus Github CI workflow. Does not require Babel nor a bundler. Nice for cloud functions too.

License

Notifications You must be signed in to change notification settings

briangershon/nodejs-minimal

Repository files navigation

nodejs-minimal

Build Status

Node.js starter with minimal dependencies and tools.

Requires Node.js v13.13+ for default support of experimental ECMAScript modules (esm).

  • Includes a development environment with:
    • Support for ECMAScript modules. Does not require Babel nor a bundler.
    • Restarts node automatically when changes happen.
    • Unit tests (via Jest) (Babel required to run Jest with esm)
    • Lint (via ESLint with their recommended settings)
    • Continuous Integration workflow with Github Actions

Run Local Dev Server

npm install  # install dependencies

nvm use      # optional, for nvm users
npm start

# see Welcome message logged in terminal window

Run Tests

npm test

Run lint

npm run lint

About

Node.js (v13.13+) starter with minimal dependencies. Support for ECMAScript modules, lint and unit testing. Plus Github CI workflow. Does not require Babel nor a bundler. Nice for cloud functions too.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published