Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.25 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.25 KB

Build Status

cdnJS Script Repository

The repository mirroring all scripts on cdnjs.cloudflare.com

Want your script included? Easy.

  1. Fork this repository
  2. Add your library (following the conventions of this repository)
  • 1 library per pull request
  • include a package.json in the npm format (see test/schemata/npm-package.json for details - it's very simple)
  1. Run your package.json through a JSON Validator
  • Bonus points: set up a Travis CI hook (we already made the .travis.yml) for your fork!
  1. Send us a pull request.
  • Make sure you include in the pull description:
    1. Where you downloaded the script
    2. If it isn't clear, how you found the version of the script
  • e.g. cdnjs#229
  • If you set up Travis CI, include your badge for super-readability!

Running the validator

  1. Install all the needed dependencies locally (you will need npm and node): npm install
  2. Run the test suite: npm test

Clicky