5.1.0 • Published 5 years ago

barneyjs v5.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Barney

Build Status Coverage Status npm version Bower version GitHub version

Barney is a collection of Angular micro-libraries, useful for various purposes.

Every micro-library is indipendent, tested and documented.

This is the list of Barney libreries with related description:

How to install Barney

Bower

  • Install Barney with Bower
bower install --save barney
  • Add barney files you want use to index.html file, according to Barney documentation.For example, for infinite module add:
<script src="bower_components/barney/dist/infinite.min.js"></script>
  • Add barney main module to your app.js file
angular.module('myproject', [ ..., 'barney'])

NPM

  • Install Barney with NPM
npm install --save barneyjs
  • Add barney files you want use to index.html file, according to Barney documentation.For example, for infinite module add:
<script src="node_modules/barneyjs/dist/infinite.min.js"></script>
  • Add barney main module to your app.js file
angular.module('myproject', [ ..., 'barney'])

Full documentation

To read documentation, open

http://d-mobilelab.github.io/barney/temp replacing temp with version number.

For example, for version 4.0.0, open

http://d-mobilelab.github.io/barney/4.0.0

Contribute

Clone and install dependecies

  • Clone Barney git
git clone https://github.com/D-Mobilelab/barney.git barney
npm install -g bower grunt
  • Install NPM and Bower dependecies
npm install
bower install

Grunt command list

Create a new version

Barney uses Git flow to create a new feature or make an hotfix and Semantic Versioning to create a new version.

  • When you push on master branch, Travis checks if all test are successful, es-lint is successful, the documentation is created without problems and the coverage is sent to coveralls successful. If everything goes well, then Travis approves the merge and a new version can be created
  • On master branch use this command
grunt version
  • You can choose between a major version, a minor version or a patch
? Current: 1.1.0 - Choose a new version for Barney: (Use arrow keys)
❯ No new version 
  Major Version (2.0.0) 
  Minor Version (1.2.0) 
  Patch (1.1.1)
  • Describe the features of this new version, seperating them with semicolons
? Features for version 1.2.0 (use ";" to separate features): ()
  • Commit, Push, Tag, Docs and NPM version will be automatically updated during the grunt version process

  • The new Barney version is ready!

Problems publishing a new npm version?

Try running the following commands

npm login
  • Enter your credentials

npm publish

The new version will be now published on npm!

5.1.0

5 years ago

4.3.1

5 years ago

4.3.0

5 years ago

6.0.0-6

6 years ago

6.0.0-5

6 years ago

6.0.0-4

6 years ago

6.0.0-3

6 years ago

6.0.0-2

6 years ago

6.0.0-1

6 years ago

6.0.0-0

6 years ago

5.0.0

7 years ago

4.2.0

7 years ago

4.1.3

7 years ago

4.1.2

8 years ago

4.1.1

8 years ago

4.1.0

8 years ago

4.0.1

8 years ago

4.0.0

8 years ago