QuickStarter for Node.js: A streamlined setup to kickstart your Node.js projects with TypeScript, Biome for linting and formatting, and support for both npm and Bun. Enhance your development workflow with efficiency and flexibility.
vw-node/
├── biome.json # Biome configuration
├── bun.lockb # Bun lockfile
├── Dockerfile # Docker configuration
├── package.json # Project metadata and dependencies
├── package-lock.json # npm lockfile
├── README.md # Project documentation
├── src/ # Source files
│ └── index.ts # Main TypeScript file
├── tests/ # Test files
├── tsconfig.json # TypeScript configuration
└── tsup.config.ts # tsup configuration
Clone the repository and install dependencies:
git clone https://github.com/vwh/vwnode
cd vwnode
# Using bun
bun install
# Or using npm
npm install
Start the development server:
# Using Bun
bun run dev
# Or using npm
npm run dev
Build the project for production:
# Using Bun
bun run build
# Or using npm
npm run build
Run the production build:
# Using Bun
bun run start
# Or using npm
npm run start
Lint the project files:
# Using Bun
bun run lint
# Or using npm
npm run lint
Format the project files:
# Using Bun
bun run format
# Or using npm
npm run format
Check the formatting:
# Using Bun
bun run format:check
# Or using npm
npm run format:check
# Using Bun
bun run type-check
# Or using npm
npm run type-check
Build the Docker image:
# Using Bun
bun run docker:build
# Or using npm
npm run docker:build
Run the Docker image:
# Using Bun
bun run docker:run
# Or using npm
npm run docker:run
Contributions are welcome! Feel free to open a pull request with your improvements or fixes.