diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9633c9a..dd33404 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,3 +16,7 @@ yarn dev This will setup the project to watch for changes and start a local server at . The React package is found in `packages/prettyavatars` and the website is found in `packages/website`. + +## Publishing a Release + +Run `yarn release` to publish a new release. Lerna will take care of everything for you. diff --git a/README.md b/README.md index acbac93..b65ce3f 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,18 @@ import Avatar from 'prettyavatars' /> ``` +### smile + +
+ +
+ +#### CDN + +```url +https://prettyavatars.com/api/smile/100 +``` + ### pixel-art Credit goes to [laurentpayot/minidenticons](https://github.com/laurentpayot/minidenticons) diff --git a/package.json b/package.json index c9d05fc..7991007 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "dev": "lerna bootstrap && lerna run --parallel dev", "build": "lerna run build", "test": "lerna run test", - "prepare": "husky install" + "prepare": "husky install", + "release": "lerna publish" }, "lint-staged": { "**/*.{js,jsx,ts,tsx}": [