mirror of
https://github.com/wahyd4/cdnjs.git
synced 2026-08-09 12:56:05 +10:00
ab17d89dfcffd82fc0d552f1fdcb8401bc73aa09
cdnJS Script Repository
The repository mirroring all scripts on cdnjs.cloudflare.com
We will host any version of any library. Feel free to add a pull request for an older version of a library if your site still uses it.
Pull requests steps
- Fork this repository
- 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.jsonfor details - it's very simple)
- 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!
- Send us a pull request.
- Make sure you include in the pull description:
- Where you downloaded the script
- If it isn't clear, how you found the version of the script
- e.g. https://github.com/cdnjs/cdnjs/pull/229
- If you set up Travis CI, include your badge for super-readability!
Running the validator
- Install all the needed dependencies locally (you will need
npmandnode):npm install - Run the test suite:
npm test
Languages
JavaScript
94.7%
CSS
5.3%
