Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.
/ node16 Public archive

Template for TypeScript project using Node.js v16

License

Notifications You must be signed in to change notification settings

ts-templates/node16

Repository files navigation

build lint test ESLint Recommended

@ts-templates/node16

Template for TypeScript project using Node.js v16

Features

Usage

  1. Create repository using template
  2. Replace provisional string with actual string
    • https://github.com/ts-templates/node16 => your repository URL
    • @ts-templates/node16 => your package name
    • Template for TypeScript project using Node.js v16 => your package description
  3. Implement src/main.ts

Scripts

# Compile TypeScript files to JavaScript files
npm run build

# Remove built files
npm run clean

# Run linters
npm run lint

# Fix codes by linters
npm run lint:fix

# Run main.ts
npm start

# Run tests
npm test