diff --git a/.gitignore b/.gitignore index 681a050..e1282e2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ build/ gh-pages/ -# dist/ contains npm/npmcdn distributions and ES5 compiled index.js for use by git installs +# dist/ contains npm/unpkg distributions and ES5 compiled index.js for use by git installs # dist/ node_modules/ diff --git a/.npmignore b/.npmignore index 6fad278..f3739b2 100644 --- a/.npmignore +++ b/.npmignore @@ -1,6 +1,6 @@ build/ demo/ -# dist/ contains npm/npmcdn distributions and ES5 compiled index.js for use by git installs +# dist/ contains npm/unpkg distributions and ES5 compiled index.js for use by git installs # dist/ gh-pages/ src/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 2af6d3d..ce4f556 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,7 +39,7 @@ ### Features -* **dist:** All dists to dist/ and deploy all to github/npmcdn. Expanded README. ([41f8a93](https://github.com/saschwarz/react-svgpathplayer/commit/41f8a93)) +* **dist:** All dists to dist/ and deploy all to github/unpkg. Expanded README. ([41f8a93](https://github.com/saschwarz/react-svgpathplayer/commit/41f8a93)) ### BREAKING CHANGES @@ -147,7 +147,7 @@ ### Bug Fixes * **npm:** Correct distributions ([071386b](https://github.com/saschwarz/react-svgpathplayer/commit/071386b)) -* **npmcdn:** Document npmcdn and fix github pages deploy. ([bc3595b](https://github.com/saschwarz/react-svgpathplayer/commit/bc3595b)) +* **unpkg:** Document unpkg and fix github pages deploy. ([bc3595b](https://github.com/saschwarz/react-svgpathplayer/commit/bc3595b)) diff --git a/README.md b/README.md index 40000db..ea40959 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ export default class Demo extends React.Component { See the [demo](http://saschwarz.github.io/react-svgpathplayer/script.html) using this component in a plain HTML/JS file. -A UMD build for use directly in the browser is available via CDN at https://npmcdn.com/react-svgpathplayer@latest/dist/react-svgpathplayer.min.js, https://npmcdn.com/react-svgpathplayer@latest/dist/react-svgpathplayer.js with corresponding map files. +A UMD build for use directly in the browser is available via CDN at https://unpkg.com/react-svgpathplayer@latest/dist/react-svgpathplayer.min.js, https://unpkg.com/react-svgpathplayer@latest/dist/react-svgpathplayer.js with corresponding map files. You'll need to include all the dependencies: @@ -68,8 +68,8 @@ You'll need to include all the dependencies: - - + +