Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Latest commit

 

History

History
52 lines (38 loc) · 1.21 KB

CONTRIBUTING.md

File metadata and controls

52 lines (38 loc) · 1.21 KB

Contribution Guide

Reporting Bugs

Having issues or want to report a bug? Email ([email protected])[mailto:[email protected]].

Dependencies

Make sure you have the following installed:

  • Node.js
  • npm
  • Git

Use npm to install the following:

  • gulp npm install -g gulp
  • karma npm install -g karma

Installation

Get the source code by cloning to git repository via:

git clone https://github.com/addthis/jquery-addthis

Navigate into the git repository and install all the needed dependencies via npm:

npm install

Building

There are a few commands to help automate the development process

gulp watch

Rebuilds things as files change

gulp build

Builds everything, including documentation

gulp test

Runs tests

gulp jslint

Lints the JavaScript

npm run docs

Builds the documentaiton

node server.js

Serves all the code, documentation and examples sites locally at http://localhost:3003

Built Code: http://localhost:3003/dist/jquery-addthis.min.js Documentation: http://localhost:3003/docs/ Test Reports: http://localhost:3002/test/reports/ Example Site: http://localhost:3003/examples/index.html