Skip to content

JonathanWilbur/typescript-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

137 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PROJECT_TITLE

Features

  • Included NPM Scripts
    • Line counts with sloc
    • Code formatting with prettier
    • Forcibly install the latest updates with npm-check-updates
  • NodeJS and Webpack builds
  • ESLint linting preconfigured
  • Docker and Docker Compose configuration
  • Jenkinsfile
  • VS Code configuration
    • Debugging
    • Extension recommendations
    • Tasks
  • Jest testing
  • GitHub configuration
    • Workflows / Actions
    • Issue templates
    • Pull request templates
    • Security policy
    • Support policy
  • CHANGELOG.md
  • CONTRIBUTING.md
  • JSDoc generation

Usage

Be sure to correct information in:

  • README.md (This file.)
  • package.json
  • webpack.config.js
  • Jenkinsfile (Specifically, the url for the Git repository.)
  • ./test/testpage.html
  • Dockerfile
  • docker-compose.yaml

See the scripts in package.json to understand usage.

Recommended Package Inclusions

Standards to Follow

To Do

  • Complexity Reporting
    • I like this package for this, but I am not keen on installing Grunt just for this.
  • Profiling
  • Deno compilation?
  • JSONSchema-to-TypeScript-Interface compiler?
  • Add internationalization boilerplate
  • Create a separate schema folder
  • Configure GPG Commit Signing
  • Experiment with the Conventional Commits VS Code Extension
  • Require newlines between function parameters
    • This applies to arguments as well. No viable option found.
  • Require newlines after export.

Check out these GitHub Actions and Apps

They may be useful, depending on what this becomes.

Known Issues

  • Running npm run lint only works on Posix hosts, because the single quotes get escaped on Windows. If you have the ESLint plugin installed and configured, you should still be able to get live linting on Windows.

About

A template for a TypeScript project, with ESLint, Jest, Serverless, Bazel, Docker, Git, and other files in place.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors