Giter Site home page Giter Site logo

cliffton2008 / babel-starter-kit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kriasoft/babel-starter-kit

0.0 2.0 0.0 247 KB

JavaScript library boilerplate, a project template for authoring and publishing JavaScript libraries built with ES6+, Babel, Browserify, BrowserSync, Mocha, Chai, Sinon

Home Page: http://www.kriasoft.com/babel-starter-kit

License: MIT License

JavaScript 100.00%

babel-starter-kit's Introduction

Babel Starter Kit

NPM version NPM downloads Build Status Dependency Status Chat

JavaScript library boilerplate, a project template for authoring and publishing JavaScript libraries built with ES6+, Babel, Browserify, BrowserSync, Mocha, Chai, Sinon.

Features

    ✓ Next generation JavaScript via Babel
    ✓ Publish to NPM as ES5, ES6+ and UMD
    ✓ Pre-configured tests with Mocha, Chai and Sinon
    ✓ Project documentation boilerplate (demo)
    ✓ Yeoman generator (generator-javascript)
    ✓ Cross-platform, minimum dependencies

Getting Started

Start by cloning this repo and installing project dependencies:

$ git clone -o babel-starter-kit -b master --single-branch \
      https://github.com/kriasoft/babel-starter-kit.git MyProject
$ cd MyProject
$ npm install

Update your name in LICENSE.txt and project information in package.json and README.md files. Write your code in src folder, write tests in test folder. Run npm run build to compile the source code into a distributable format. Write documentation in markdown format in docs folder. Run npm start to launch a development server with the documentation site.

How to Test

$ npm run lint          # Lint your code
$ npm test              # Run unit tests, or `npm test -- --watch`

How to Update

Down the road you can fetch and merge the recent changes from this repo back into your project:

$ git checkout master
$ git fetch babel-starter-kit
$ git merge babel-starter-kit/master
$ npm install

Support

License

The MIT License © Konstantin Tarkus (@koistya)

babel-starter-kit's People

Contributors

koistya avatar

Watchers

James Cloos 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.