Skip to content

kjin/ts-style

 
 

Repository files navigation

google-ts-style

NPM Version Build Status Dependency Status devDependency Status Known Vulnerabilities

NOTE: This repo is a work-in-progress and is not ready for general use just yet. This is not an official Google product.

This repository is Google's default TypeScript configuration. Made with ❤️ by the Google Node.js team.

Getting Started

If you're already using npm@5.3+ (bundled with Node 8.3+), run:

npx google-ts-style init

Still on an older version of npm? We got ya! In a directory with your package.json run:

npm install --save-dev google-ts-style typescript@2.x tslint@5.x clang-format@1.x
$(npm bin)/gts --init

How this works

  • Adds a tsconfig.json file to your project that inherits from the Google TS Style.
  • Adds the necessary devDependencies to your package.json.
  • Adds the compile, format, and lint scripts to your package.json.

License

See LICENSE.md

About

☂️ TypeScript style guide, formatter, and linter.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 87.9%
  • JavaScript 12.1%