0.2.0 • Published 7 years ago

google-ts-style v0.2.0

Weekly downloads
38
License
Apache-2.0
Repository
github
Last release
7 years ago

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