Coder Social home page Coder Social logo

sbstjn / typescript-npm-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 8.0 42 KB

Publish to NPM with TypeScript, CircleCI and GitHub Releases.

Home Page: https://sbstjn.com/deploy-typescript-npm-with-circleci-workflows.html

License: MIT License

TypeScript 100.00%
typescript circleci boilerplate js ts kickstart coveralls npm

typescript-npm-boilerplate's Introduction

TypeScript NPM Boilerplate

npm CircleCI license Coveralls

A basic boilerplate to write JavaScript NPM modules in TypeScript. The TypeScript code is compiled to JavaScript and published to NPM using CircleCI v2 Workflows and GitHub Releases.

More details at: https://sbstjn.com/deploy-typescript-npm-with-circleci-workflows.html

Features

Usage

Fork this repository, download it, or clone it and add your custom files and configurations.

NPM Tasks

  • test - Run jest
  • test:cover - Run jest and create coverage report
  • coveralls - Publish coverage report to Coveralls
  • lint - Run tslint
  • build - Build JavaScript files

Configuration

CircleCI

You need to configure two environment variables in CircleCI, one for publishing to NPM and one for Coveralls coverage reports.

  • NPM_TOKEN
  • COVERALLS_REPO_TOKEN

License

Feel free to use the code, it's released using the MIT license.

Contribution

You are welcome to contribute to this project! ๐Ÿ˜˜

To make sure you have a pleasant experience, please read the code of conduct. It outlines core values and beliefs and will make working together a happier experience.

typescript-npm-boilerplate's People

Contributors

sbstjn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

typescript-npm-boilerplate's Issues

nice project

i like the use of main.ts instead of index.ts

but why a code of conduct? ๐Ÿ˜ฌ๐Ÿ˜ฌ

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.