build-jslib-ci

1.0.0 • Public • Published

prebuild-ci

NPM Package Standard - JavaScript Style Guide

Use CI like travis and appveyor for build and upload libraries bundles..

Motivation

I often see dist folder in repositories with builded JS library. Of course it helpful for people because they can download builded library without building on their machine, but this feature adds support complexity. I opened prebuild-ci for myself and think that is a great idea! So I decide made same for dist folders.

Usage

Add build-jslib-ci to your "test" script or CI configuration, like this:

  "scripts"{
    "test": "tape test/**/*.js && build-jslib-ci"  
  }

Also configure your CI environments to set the environment variable GITHUB_TOKEN to your upload token.

Then, whenever a CI job passes and updates "version" in the module's package.json, the bundles for the current release will be uploaded to GitHub.

Creditianals

Thank you Julian Gruber for prebuild-ci

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i build-jslib-ci

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • fanatid