Giter Site home page Giter Site logo

protobuf-typescript-starter's Introduction

Protobuf typescript starter

Easily adaptable starter project for using Protocol Buffers with TypeScript

Simple starter for a TypeScript project using Protocol Buffers. Should be easily modifiable to use other build tools that require using an external compiler.

Usage

Run in development mode:

# Using Yarn
yarn dev
# Or using NPM
npm run dev

Compile TypeScript:

# Using Yarn
yarn build
# Or using NPM
npm run build

Run compiled application:

# Using Yarn
yarn start
# Or using NPM
npm run start

All Yarn commands

Command Description
start Start the compiled application.
start:dev Start the application using ts-node. Compiles at run time and is not suitable for production.
build Compile TypeScript.
dev Start the application in development mode. Watches both protoc files and Node.js codebase.
generate:protobuf Runs generate:protobuf:js and generate:protobuf:ts in order.
generate:protobuf:js Compile protobuf definition files into a JavaScript bundle.
generate:protobuf:ts Generate protobuf JavaScript bundle TypeScript definition files.
watch:protobuf Watch protobuf definition files and run generate:protobuf on file changes
watch:app Watch app source and run start:dev on file changes

protobuf-typescript-starter's People

Contributors

scriptcoded 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.