From 1856fe321f2f64f2fcb175281e11d0dfc19cff64 Mon Sep 17 00:00:00 2001 From: Henri Beck Date: Sat, 2 Feb 2019 18:28:51 +0100 Subject: [PATCH 1/4] Added some readme badges and some description of the project to the root readme --- readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/readme.md b/readme.md index d22f03cda..c2dd4a75b 100755 --- a/readme.md +++ b/readme.md @@ -1,8 +1,18 @@ +# JSS + +[![Version](https://img.shields.io/npm/v/jss.svg?style=flat)](https://npmjs.org/jss) +[![License](https://img.shields.io/npm/l/jss.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss.svg?style=flat)](https://npmjs.org/jss) +[![Contributors](https://img.shields.io/github/contributors/cssinjs/jss.svg?style=flat)](https://github.com/cssinjs/jss/graphs/contributors) [![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) [![Build Status](https://travis-ci.org/cssinjs/jss.svg?branch=master)](https://travis-ci.org/cssinjs/jss) [![OpenCollective](https://opencollective.com/jss/backers/badge.svg)](#backers) [![OpenCollective](https://opencollective.com/jss/sponsors/badge.svg)](#sponsors) +A lib for generating Style Sheets with JavaScript. + +For documentation see our [docs](https://cssinjs.org). + ## Backers Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/jss#backer)] From 2afd23f891914c30d24b15f5a295205495db40ca Mon Sep 17 00:00:00 2001 From: Henri Beck Date: Sat, 2 Feb 2019 18:33:13 +0100 Subject: [PATCH 2/4] Fix npm url --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index c2dd4a75b..3c2ed380b 100755 --- a/readme.md +++ b/readme.md @@ -1,8 +1,8 @@ # JSS -[![Version](https://img.shields.io/npm/v/jss.svg?style=flat)](https://npmjs.org/jss) +[![Version](https://img.shields.io/npm/v/jss.svg?style=flat)](https://npmjs.org/packages/jss) [![License](https://img.shields.io/npm/l/jss.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) -[![Downlodas](https://img.shields.io/npm/dm/jss.svg?style=flat)](https://npmjs.org/jss) +[![Downlodas](https://img.shields.io/npm/dm/jss.svg?style=flat)](https://npmjs.org/packages/jss) [![Contributors](https://img.shields.io/github/contributors/cssinjs/jss.svg?style=flat)](https://github.com/cssinjs/jss/graphs/contributors) [![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) [![Build Status](https://travis-ci.org/cssinjs/jss.svg?branch=master)](https://travis-ci.org/cssinjs/jss) From 0feb5616512d316c91f8fe68fe2b2d37e6c9a25b Mon Sep 17 00:00:00 2001 From: Henri Beck Date: Sat, 2 Feb 2019 18:44:09 +0100 Subject: [PATCH 3/4] Fix npm url --- readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.md b/readme.md index 3c2ed380b..3e843e6e0 100755 --- a/readme.md +++ b/readme.md @@ -3,6 +3,7 @@ [![Version](https://img.shields.io/npm/v/jss.svg?style=flat)](https://npmjs.org/packages/jss) [![License](https://img.shields.io/npm/l/jss.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) [![Downlodas](https://img.shields.io/npm/dm/jss.svg?style=flat)](https://npmjs.org/packages/jss) +[![Size](https://img.shields.io/bundlephobia/minzip/jss.svg?style=flat)](https://npmjs.org/packages/jss) [![Contributors](https://img.shields.io/github/contributors/cssinjs/jss.svg?style=flat)](https://github.com/cssinjs/jss/graphs/contributors) [![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) [![Build Status](https://travis-ci.org/cssinjs/jss.svg?branch=master)](https://travis-ci.org/cssinjs/jss) From e69432ad9754ab612ea9fa4a4df9e2c608a24785 Mon Sep 17 00:00:00 2001 From: Henri Beck Date: Sat, 2 Feb 2019 18:45:36 +0100 Subject: [PATCH 4/4] Add badges to package readme --- packages/jss-plugin-cache/readme.md | 7 +++++++ packages/jss-plugin-camel-case/readme.md | 7 +++++++ packages/jss-plugin-compose/readme.md | 7 +++++++ packages/jss-plugin-default-unit/readme.md | 7 +++++++ packages/jss-plugin-expand/readme.md | 7 +++++++ packages/jss-plugin-extend/readme.md | 7 +++++++ packages/jss-plugin-global/readme.md | 7 +++++++ packages/jss-plugin-isolate/readme.md | 7 +++++++ packages/jss-plugin-nested/readme.md | 7 +++++++ packages/jss-plugin-props-sort/readme.md | 7 +++++++ packages/jss-plugin-rule-value-function/readme.md | 7 +++++++ packages/jss-plugin-rule-value-observable/readme.md | 7 +++++++ packages/jss-plugin-template/readme.md | 7 +++++++ packages/jss-plugin-vendor-prefixer/readme.md | 7 +++++++ packages/jss-preset-default/readme.md | 7 +++++++ packages/jss-starter-kit/readme.md | 7 +++++++ packages/jss/readme.md | 7 +++++++ packages/react-jss/readme.md | 7 +++++++ scripts/create-readme.js | 12 ++++++++++++ 19 files changed, 138 insertions(+) diff --git a/packages/jss-plugin-cache/readme.md b/packages/jss-plugin-cache/readme.md index 5f7a77d45..4dc33706a 100644 --- a/packages/jss-plugin-cache/readme.md +++ b/packages/jss-plugin-cache/readme.md @@ -1,5 +1,12 @@ # jss-plugin-cache +[![Version](https://img.shields.io/npm/v/jss-plugin-cache.svg?style=flat)](https://npmjs.org/package/jss-plugin-cache) +[![License](https://img.shields.io/npm/l/jss-plugin-cache.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss-plugin-cache.svg?style=flat)](https://npmjs.org/package/jss-plugin-cache) +[![Size](https://img.shields.io/bundlephobia/minzip/jss-plugin-cache.svg?style=flat)](https://npmjs.org/package/jss-plugin-cache) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-plugin-cache&style=flat)](https://npmjs.org/package/jss-plugin-cache) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > JSS plugin that caches the rules and delivers insane performance. See our website [jss-plugin-cache](https://cssinjs.org/jss-plugin-cache?v=v10.0.0-alpha.9) for more information. diff --git a/packages/jss-plugin-camel-case/readme.md b/packages/jss-plugin-camel-case/readme.md index a39e81136..2d8ddcb92 100644 --- a/packages/jss-plugin-camel-case/readme.md +++ b/packages/jss-plugin-camel-case/readme.md @@ -1,5 +1,12 @@ # jss-plugin-camel-case +[![Version](https://img.shields.io/npm/v/jss-plugin-camel-case.svg?style=flat)](https://npmjs.org/package/jss-plugin-camel-case) +[![License](https://img.shields.io/npm/l/jss-plugin-camel-case.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss-plugin-camel-case.svg?style=flat)](https://npmjs.org/package/jss-plugin-camel-case) +[![Size](https://img.shields.io/bundlephobia/minzip/jss-plugin-camel-case.svg?style=flat)](https://npmjs.org/package/jss-plugin-camel-case) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-plugin-camel-case&style=flat)](https://npmjs.org/package/jss-plugin-camel-case) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > JSS plugin that allows to write camel cased rule properties See our website [jss-plugin-camel-case](https://cssinjs.org/jss-plugin-camel-case?v=v10.0.0-alpha.9) for more information. diff --git a/packages/jss-plugin-compose/readme.md b/packages/jss-plugin-compose/readme.md index a266f24cc..2de21fe6b 100644 --- a/packages/jss-plugin-compose/readme.md +++ b/packages/jss-plugin-compose/readme.md @@ -1,5 +1,12 @@ # jss-plugin-compose +[![Version](https://img.shields.io/npm/v/jss-plugin-compose.svg?style=flat)](https://npmjs.org/package/jss-plugin-compose) +[![License](https://img.shields.io/npm/l/jss-plugin-compose.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss-plugin-compose.svg?style=flat)](https://npmjs.org/package/jss-plugin-compose) +[![Size](https://img.shields.io/bundlephobia/minzip/jss-plugin-compose.svg?style=flat)](https://npmjs.org/package/jss-plugin-compose) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-plugin-compose&style=flat)](https://npmjs.org/package/jss-plugin-compose) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > JSS plugin for classes composition See our website [jss-plugin-compose](https://cssinjs.org/jss-plugin-compose?v=v10.0.0-alpha.9) for more information. diff --git a/packages/jss-plugin-default-unit/readme.md b/packages/jss-plugin-default-unit/readme.md index f718e870f..e0e19fbdd 100644 --- a/packages/jss-plugin-default-unit/readme.md +++ b/packages/jss-plugin-default-unit/readme.md @@ -1,5 +1,12 @@ # jss-plugin-default-unit +[![Version](https://img.shields.io/npm/v/jss-plugin-default-unit.svg?style=flat)](https://npmjs.org/package/jss-plugin-default-unit) +[![License](https://img.shields.io/npm/l/jss-plugin-default-unit.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss-plugin-default-unit.svg?style=flat)](https://npmjs.org/package/jss-plugin-default-unit) +[![Size](https://img.shields.io/bundlephobia/minzip/jss-plugin-default-unit.svg?style=flat)](https://npmjs.org/package/jss-plugin-default-unit) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-plugin-default-unit&style=flat)](https://npmjs.org/package/jss-plugin-default-unit) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > JSS plugin that adds default custom unit to numeric values where needed See our website [jss-plugin-default-unit](https://cssinjs.org/jss-plugin-default-unit?v=v10.0.0-alpha.9) for more information. diff --git a/packages/jss-plugin-expand/readme.md b/packages/jss-plugin-expand/readme.md index 49cfe2188..11a662444 100644 --- a/packages/jss-plugin-expand/readme.md +++ b/packages/jss-plugin-expand/readme.md @@ -1,5 +1,12 @@ # jss-plugin-expand +[![Version](https://img.shields.io/npm/v/jss-plugin-expand.svg?style=flat)](https://npmjs.org/package/jss-plugin-expand) +[![License](https://img.shields.io/npm/l/jss-plugin-expand.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss-plugin-expand.svg?style=flat)](https://npmjs.org/package/jss-plugin-expand) +[![Size](https://img.shields.io/bundlephobia/minzip/jss-plugin-expand.svg?style=flat)](https://npmjs.org/package/jss-plugin-expand) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-plugin-expand&style=flat)](https://npmjs.org/package/jss-plugin-expand) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > JSS plugin that gives you a better syntax than CSS. See our website [jss-plugin-expand](https://cssinjs.org/jss-plugin-expand?v=v10.0.0-alpha.9) for more information. diff --git a/packages/jss-plugin-extend/readme.md b/packages/jss-plugin-extend/readme.md index e386b3dce..790c55f64 100644 --- a/packages/jss-plugin-extend/readme.md +++ b/packages/jss-plugin-extend/readme.md @@ -1,5 +1,12 @@ # jss-plugin-extend +[![Version](https://img.shields.io/npm/v/jss-plugin-extend.svg?style=flat)](https://npmjs.org/package/jss-plugin-extend) +[![License](https://img.shields.io/npm/l/jss-plugin-extend.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss-plugin-extend.svg?style=flat)](https://npmjs.org/package/jss-plugin-extend) +[![Size](https://img.shields.io/bundlephobia/minzip/jss-plugin-extend.svg?style=flat)](https://npmjs.org/package/jss-plugin-extend) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-plugin-extend&style=flat)](https://npmjs.org/package/jss-plugin-extend) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > JSS plugin that enables mixing in styles. See our website [jss-plugin-extend](https://cssinjs.org/jss-plugin-extend?v=v10.0.0-alpha.9) for more information. diff --git a/packages/jss-plugin-global/readme.md b/packages/jss-plugin-global/readme.md index 5fee1d37c..c5cc21a4a 100644 --- a/packages/jss-plugin-global/readme.md +++ b/packages/jss-plugin-global/readme.md @@ -1,5 +1,12 @@ # jss-plugin-global +[![Version](https://img.shields.io/npm/v/jss-plugin-global.svg?style=flat)](https://npmjs.org/package/jss-plugin-global) +[![License](https://img.shields.io/npm/l/jss-plugin-global.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss-plugin-global.svg?style=flat)](https://npmjs.org/package/jss-plugin-global) +[![Size](https://img.shields.io/bundlephobia/minzip/jss-plugin-global.svg?style=flat)](https://npmjs.org/package/jss-plugin-global) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-plugin-global&style=flat)](https://npmjs.org/package/jss-plugin-global) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > Global styles for JSS See our website [jss-plugin-global](https://cssinjs.org/jss-plugin-global?v=v10.0.0-alpha.9) for more information. diff --git a/packages/jss-plugin-isolate/readme.md b/packages/jss-plugin-isolate/readme.md index 3992958de..fb7def533 100644 --- a/packages/jss-plugin-isolate/readme.md +++ b/packages/jss-plugin-isolate/readme.md @@ -1,5 +1,12 @@ # jss-plugin-isolate +[![Version](https://img.shields.io/npm/v/jss-plugin-isolate.svg?style=flat)](https://npmjs.org/package/jss-plugin-isolate) +[![License](https://img.shields.io/npm/l/jss-plugin-isolate.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss-plugin-isolate.svg?style=flat)](https://npmjs.org/package/jss-plugin-isolate) +[![Size](https://img.shields.io/bundlephobia/minzip/jss-plugin-isolate.svg?style=flat)](https://npmjs.org/package/jss-plugin-isolate) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-plugin-isolate&style=flat)](https://npmjs.org/package/jss-plugin-isolate) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > True rules isolation through automatic properties reset. See our website [jss-plugin-isolate](https://cssinjs.org/jss-plugin-isolate?v=v10.0.0-alpha.9) for more information. diff --git a/packages/jss-plugin-nested/readme.md b/packages/jss-plugin-nested/readme.md index 08a52b90a..8b270f9ca 100644 --- a/packages/jss-plugin-nested/readme.md +++ b/packages/jss-plugin-nested/readme.md @@ -1,5 +1,12 @@ # jss-plugin-nested +[![Version](https://img.shields.io/npm/v/jss-plugin-nested.svg?style=flat)](https://npmjs.org/package/jss-plugin-nested) +[![License](https://img.shields.io/npm/l/jss-plugin-nested.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss-plugin-nested.svg?style=flat)](https://npmjs.org/package/jss-plugin-nested) +[![Size](https://img.shields.io/bundlephobia/minzip/jss-plugin-nested.svg?style=flat)](https://npmjs.org/package/jss-plugin-nested) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-plugin-nested&style=flat)](https://npmjs.org/package/jss-plugin-nested) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > JSS plugin that enables support for nested selectors See our website [jss-plugin-nested](https://cssinjs.org/jss-plugin-nested?v=v10.0.0-alpha.9) for more information. diff --git a/packages/jss-plugin-props-sort/readme.md b/packages/jss-plugin-props-sort/readme.md index 537b797ef..a9dfc7531 100644 --- a/packages/jss-plugin-props-sort/readme.md +++ b/packages/jss-plugin-props-sort/readme.md @@ -1,5 +1,12 @@ # jss-plugin-props-sort +[![Version](https://img.shields.io/npm/v/jss-plugin-props-sort.svg?style=flat)](https://npmjs.org/package/jss-plugin-props-sort) +[![License](https://img.shields.io/npm/l/jss-plugin-props-sort.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss-plugin-props-sort.svg?style=flat)](https://npmjs.org/package/jss-plugin-props-sort) +[![Size](https://img.shields.io/bundlephobia/minzip/jss-plugin-props-sort.svg?style=flat)](https://npmjs.org/package/jss-plugin-props-sort) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-plugin-props-sort&style=flat)](https://npmjs.org/package/jss-plugin-props-sort) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > JSS plugin that ensures style properties extend each other instead of override See our website [jss-plugin-props-sort](https://cssinjs.org/jss-plugin-props-sort?v=v10.0.0-alpha.9) for more information. diff --git a/packages/jss-plugin-rule-value-function/readme.md b/packages/jss-plugin-rule-value-function/readme.md index b7a91fb12..01684f2e8 100644 --- a/packages/jss-plugin-rule-value-function/readme.md +++ b/packages/jss-plugin-rule-value-function/readme.md @@ -1,5 +1,12 @@ # jss-plugin-rule-value-function +[![Version](https://img.shields.io/npm/v/jss-plugin-rule-value-function.svg?style=flat)](https://npmjs.org/package/jss-plugin-rule-value-function) +[![License](https://img.shields.io/npm/l/jss-plugin-rule-value-function.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss-plugin-rule-value-function.svg?style=flat)](https://npmjs.org/package/jss-plugin-rule-value-function) +[![Size](https://img.shields.io/bundlephobia/minzip/jss-plugin-rule-value-function.svg?style=flat)](https://npmjs.org/package/jss-plugin-rule-value-function) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-plugin-rule-value-function&style=flat)](https://npmjs.org/package/jss-plugin-rule-value-function) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > JSS plugin for function value and rule syntax See our website [jss-plugin-rule-value-function](https://cssinjs.org/jss-plugin-rule-value-function?v=v10.0.0-alpha.9) for more information. diff --git a/packages/jss-plugin-rule-value-observable/readme.md b/packages/jss-plugin-rule-value-observable/readme.md index dd715e174..2bbe78235 100644 --- a/packages/jss-plugin-rule-value-observable/readme.md +++ b/packages/jss-plugin-rule-value-observable/readme.md @@ -1,5 +1,12 @@ # jss-plugin-rule-value-observable +[![Version](https://img.shields.io/npm/v/jss-plugin-rule-value-observable.svg?style=flat)](https://npmjs.org/package/jss-plugin-rule-value-observable) +[![License](https://img.shields.io/npm/l/jss-plugin-rule-value-observable.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss-plugin-rule-value-observable.svg?style=flat)](https://npmjs.org/package/jss-plugin-rule-value-observable) +[![Size](https://img.shields.io/bundlephobia/minzip/jss-plugin-rule-value-observable.svg?style=flat)](https://npmjs.org/package/jss-plugin-rule-value-observable) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-plugin-rule-value-observable&style=flat)](https://npmjs.org/package/jss-plugin-rule-value-observable) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > JSS plugin for TC39 Observables support See our website [jss-plugin-rule-value-observable](https://cssinjs.org/jss-plugin-rule-value-observable?v=v10.0.0-alpha.9) for more information. diff --git a/packages/jss-plugin-template/readme.md b/packages/jss-plugin-template/readme.md index 740808985..6b9d25c72 100644 --- a/packages/jss-plugin-template/readme.md +++ b/packages/jss-plugin-template/readme.md @@ -1,5 +1,12 @@ # jss-plugin-template +[![Version](https://img.shields.io/npm/v/jss-plugin-template.svg?style=flat)](https://npmjs.org/package/jss-plugin-template) +[![License](https://img.shields.io/npm/l/jss-plugin-template.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss-plugin-template.svg?style=flat)](https://npmjs.org/package/jss-plugin-template) +[![Size](https://img.shields.io/bundlephobia/minzip/jss-plugin-template.svg?style=flat)](https://npmjs.org/package/jss-plugin-template) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-plugin-template&style=flat)](https://npmjs.org/package/jss-plugin-template) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > JSS plugin enables string templates See our website [jss-plugin-template](https://cssinjs.org/jss-plugin-template?v=v10.0.0-alpha.9) for more information. diff --git a/packages/jss-plugin-vendor-prefixer/readme.md b/packages/jss-plugin-vendor-prefixer/readme.md index 6e2b4a1e3..6a2eaa5b0 100644 --- a/packages/jss-plugin-vendor-prefixer/readme.md +++ b/packages/jss-plugin-vendor-prefixer/readme.md @@ -1,5 +1,12 @@ # jss-plugin-vendor-prefixer +[![Version](https://img.shields.io/npm/v/jss-plugin-vendor-prefixer.svg?style=flat)](https://npmjs.org/package/jss-plugin-vendor-prefixer) +[![License](https://img.shields.io/npm/l/jss-plugin-vendor-prefixer.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss-plugin-vendor-prefixer.svg?style=flat)](https://npmjs.org/package/jss-plugin-vendor-prefixer) +[![Size](https://img.shields.io/bundlephobia/minzip/jss-plugin-vendor-prefixer.svg?style=flat)](https://npmjs.org/package/jss-plugin-vendor-prefixer) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-plugin-vendor-prefixer&style=flat)](https://npmjs.org/package/jss-plugin-vendor-prefixer) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > JSS plugin that handles vendor prefixes in the browser See our website [jss-plugin-vendor-prefixer](https://cssinjs.org/jss-plugin-vendor-prefixer?v=v10.0.0-alpha.9) for more information. diff --git a/packages/jss-preset-default/readme.md b/packages/jss-preset-default/readme.md index a2032ca43..af0a3661a 100644 --- a/packages/jss-preset-default/readme.md +++ b/packages/jss-preset-default/readme.md @@ -1,5 +1,12 @@ # jss-preset-default +[![Version](https://img.shields.io/npm/v/jss-preset-default.svg?style=flat)](https://npmjs.org/package/jss-preset-default) +[![License](https://img.shields.io/npm/l/jss-preset-default.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss-preset-default.svg?style=flat)](https://npmjs.org/package/jss-preset-default) +[![Size](https://img.shields.io/bundlephobia/minzip/jss-preset-default.svg?style=flat)](https://npmjs.org/package/jss-preset-default) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-preset-default&style=flat)](https://npmjs.org/package/jss-preset-default) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > Default preset for JSS with selected plugins. See our website [jss-preset-default](https://cssinjs.org/jss-preset-default?v=v10.0.0-alpha.9) for more information. diff --git a/packages/jss-starter-kit/readme.md b/packages/jss-starter-kit/readme.md index 656e8f0e2..ccb5201ab 100644 --- a/packages/jss-starter-kit/readme.md +++ b/packages/jss-starter-kit/readme.md @@ -1,5 +1,12 @@ # jss-starter-kit +[![Version](https://img.shields.io/npm/v/jss-starter-kit.svg?style=flat)](https://npmjs.org/package/jss-starter-kit) +[![License](https://img.shields.io/npm/l/jss-starter-kit.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss-starter-kit.svg?style=flat)](https://npmjs.org/package/jss-starter-kit) +[![Size](https://img.shields.io/bundlephobia/minzip/jss-starter-kit.svg?style=flat)](https://npmjs.org/package/jss-starter-kit) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-starter-kit&style=flat)](https://npmjs.org/package/jss-starter-kit) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > A bundle to get you started playing with JSS. Not optimized for production deployment. See our website [jss-starter-kit](https://cssinjs.org/jss-starter-kit?v=v10.0.0-alpha.9) for more information. diff --git a/packages/jss/readme.md b/packages/jss/readme.md index cf9d8eac2..35f7c1ca1 100644 --- a/packages/jss/readme.md +++ b/packages/jss/readme.md @@ -1,5 +1,12 @@ # jss +[![Version](https://img.shields.io/npm/v/jss.svg?style=flat)](https://npmjs.org/package/jss) +[![License](https://img.shields.io/npm/l/jss.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/jss.svg?style=flat)](https://npmjs.org/package/jss) +[![Size](https://img.shields.io/bundlephobia/minzip/jss.svg?style=flat)](https://npmjs.org/package/jss) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss&style=flat)](https://npmjs.org/package/jss) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > A lib for generating Style Sheets with JavaScript. See our website [jss](https://cssinjs.org/setup?v=v10.0.0-alpha.9) for more information. diff --git a/packages/react-jss/readme.md b/packages/react-jss/readme.md index eb79a16d9..5532656f6 100644 --- a/packages/react-jss/readme.md +++ b/packages/react-jss/readme.md @@ -1,5 +1,12 @@ # react-jss +[![Version](https://img.shields.io/npm/v/react-jss.svg?style=flat)](https://npmjs.org/package/react-jss) +[![License](https://img.shields.io/npm/l/react-jss.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/react-jss.svg?style=flat)](https://npmjs.org/package/react-jss) +[![Size](https://img.shields.io/bundlephobia/minzip/react-jss.svg?style=flat)](https://npmjs.org/package/react-jss) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Freact-jss&style=flat)](https://npmjs.org/package/react-jss) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > JSS integration with React See our website [react-jss](https://cssinjs.org/react-jss?v=v10.0.0-alpha.9) for more information. diff --git a/scripts/create-readme.js b/scripts/create-readme.js index b7a37243c..bfcf2cfff 100644 --- a/scripts/create-readme.js +++ b/scripts/create-readme.js @@ -15,9 +15,21 @@ function getDocsPath() { } const docs = `[${pkg.name}](https://cssinjs.org/${getDocsPath()}?v=v${pkg.version})` +const npm = `https://npmjs.org/package/${pkg.name}` const readmeContent = `# ${pkg.name} +[![Version](https://img.shields.io/npm/v/${pkg.name}.svg?style=flat)](${npm}) +[![License](https://img.shields.io/npm/l/${ + pkg.name +}.svg?style=flat)](https://github.com/cssinjs/jss/blob/master/LICENSE) +[![Downlodas](https://img.shields.io/npm/dm/${pkg.name}.svg?style=flat)](${npm}) +[![Size](https://img.shields.io/bundlephobia/minzip/${pkg.name}.svg?style=flat)](${npm}) +[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2F${ + pkg.name +}&style=flat)](${npm}) +[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) + > ${pkg.description} See our website ${docs} for more information.