* Refactor prepublish script to use template file for icon objects
... to hopefully increase readability
* Fix build and test issues
* Add missing semi-colon
* Explicitly check for errors when writing individual static .js files
* Add sample Travis CI deploy step to tag commits on master and push that
TODO: should find the version number from ./package.json
* Get git name and email for tagging from env
* Extract current version number from manifest
Attempt...
* Update .travis.yml
Fix whitespace issue and command error
* Switch sed order and escape double qoutes
* Replace curly braces by parentheses
* Test deploy of release tag to GitHub
* Convert deploy back to script
And update actual deploy step commands
* Remove test deploy stage
* Fix api_key value and remove leftover configuration
* Add cloudbees.svg
* Add JSON metadata for CloudBees
* Add missing space in JSON
* Update cloudbees.svg
* Update cloudbees.svg
* Remove the endline in cloudbees.svg
* Upload cloudbees.svg without endline break using GitHub Web UI
---
Closes#1517
* Add SVGO as devDependencies and a NPM script to run it
* Update Contributing Guidelines
Change the instructions on how to use SVGO to optimize SVGs to use the
new dependency and NPM script.
* Add configuration for the NPM command to optimize SVGs
* Specify --precision in SVGO configuration file
* Update SVGO config ordering of attributes
To be in line with the fact that, as @davidklebanoff pointed out: "most
(all?) have the attributes in the order of role, viewbox, xmlns
(alphabetical)"
* Move SVGO --multipass argument to .svgo.yml
* Update SVGO dependency to 1.3.0
Now the force merge option works 🎉
See: https://github.com/svg/svgo/releases/tag/v1.3.0
* Update outdated "blocking" comment
* Reduce package size by replacing JSON.stringify by custom stringify func
* Escape icon's title and SVG value
... as pointed out by @birjolaxew, if they contain a "'" it will break
the resulting object.
* Add URL friendy/slug/file name as property to package icon objects
* Test new property
* Build index from template
* Add .get function to index.js export
* Test new .get function in index.js export
* Use Uglify-JS to minify the code in the package's index.js
* Update API in README.md
* Renaem test using "slug" instead of "name"
Before when running `npm install` it would report "Found 1110 high
severity vulnerabilities [...]". This updates the dependencies in
package-lock.json, resultin in 0 vulnerabilities.