jsdelivr-config-files

CLI to quickly fill in files needed for jsDelivr CDN hosting.


Keywords
jsdelivr, cdn, cli
License
MIT
Install
npm install jsdelivr-config-files@0.3.0

Documentation

jsdelivr-config-files

CLI to quickly fill in files needed for jsDelivr CDN hosting.

Install

Install with npm

$ npm install -g jsdelivr-config-files

Usage

$ jsdelivr-configs

Should reply like this:

Edit in "info.ini" the 'mainfile' field, &
  in "update.json" the 'files' fields.
Use only names for minified files in the "files": indclude: <glob-string>s.
Please fix items that are "undefined".
Then upload into: "jsdelivr/files/{project-name}"
  (or orginal project folder if already on jsdelivr).
Details @ https://github.com/jsdelivr/jsdelivr/blob/master/CONTRIBUTING.md

"info.ini" ready for editing.
"update.json" ready for editing.
".npmignore" is updated.
".gitignore" is updated.
$

After you edited the files, upload them to jsDelivr CDN repo. If you want to automate the removal of local files:

$ jsdelivr-configs -cleanup

Should reply like this:

"info.ini" & "update.json" are deleted.
".gitignore" is updated.
".npmignore" is updated.
$

Change log

  • 0.3.0
    • fixed missing http://github.com/ in repository.url

Contributing

Stars welcome. Pull requests will be considered, though keep in mind my next focus is a web-based tool, not really expanding this one (for now). For bugs and feature requests, please create an issue

Author

Tom Byrer

License

Copyright © 2015 Tom Byrer Licensed under the MIT license.


Thanks