Skip to content

Latest commit

 

History

History
82 lines (53 loc) · 2.69 KB

readme.md

File metadata and controls

82 lines (53 loc) · 2.69 KB

Module starter

A minimalist template for modern web development.

Features

  • Quick start: Efficient starting point for Web and Node.js projects
  • Modern syntax: Supports the latest JavaScript features
  • Flexible output: Output in any JavaScript format
  • Automatic updates: Keeps your dependencies up to date. See recipes for more info
  • Automated releases: Automatically handles GitHub releases, NPM publishing, and changelog updates. Check out recipes for details

Installation

To start a new project with this template, use one of the following methods:

Clone from GitHub

Click the "Use this template" button above or clone the repository. Then, install dependencies:

npm i

Use npx degit

Clone the template and install dependencies:

npx degit "bent10/module-starter" my-project
cd my-project
npm i

Commands

  • npm start: Alias for npm run dev
  • npm run dev: Starts development mode and watches for changes
  • npm run build: Builds the project and checks types
  • npm test: Runs tests with Vitest
  • npm run coverage: Generates test coverage reports
  • npm run types: Generates TypeScript declaration files
  • npm run lint: Checks types and lints the project
  • npm run format: Formats code using Prettier

Use these commands to manage your development workflow.

Recipes

Related

  • monorepo-starter – A starter template for a monorepo using NPM workspaces
  • doogu – A wrapper around modern JavaScript tools

Contributing

We 💛  issues.

When committing, please conform to the semantic-release commit standards. Please install commitizen and the adapter globally, if you have not already.

npm i -g commitizen cz-conventional-changelog

Now you can use git cz or just cz instead of git commit when committing. You can also use git-cz, which is an alias for cz.

git add . && git cz

License

GitHub

A project by Stilearning © 2021-2024.