Code Monkey home page Code Monkey logo

ts-style's Introduction

gts - Google TypeScript style

NPM Version Build Status Dependency Status devDependency Status Known Vulnerabilities codecov

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 [email protected]+ (bundled with Node 8.3+), run:

npx gts init

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

npm install --save-dev gts [email protected]
$(npm bin)/gts init

How this works

  • Adds a tsconfig.json file to your project that uses the Google TS Style.
  • Adds the necessary devDependencies to your package.json.
  • Adds scripts to your package.json:
    • check: Lints and checks for formatting problems.
    • fix: Automatically fixes formatting and linting problems (if possible).
    • clean: Removes output files.
    • compile: Compiles the source code using TypeScript compiler.
    • pretest, posttest and prepare: convenience integrations.

License

See LICENSE.md

ts-style's People

Contributors

greenkeeper[bot] avatar jinwoo avatar justinbeckwith avatar kjin avatar ofrobots avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.