goodshare.js
Advanced tools
Comparing version 6.1.3 to 6.1.4
@@ -5,2 +5,3 @@ # Change log | ||
- `6.1.4`: pushed to master only if limit `80 ms` is passed, switch docs to [js.org](https://js.org). | ||
- `6.1.3`: pushed to master only if limit `140 ms` is passed. | ||
@@ -7,0 +8,0 @@ - `6.1.2`: pushed to master only if limit `250 ms` is passed. |
@@ -5,6 +5,7 @@ # Developer's build | ||
``` bash | ||
$ git clone https://github.com/koddr/goodshare.js.git && cd goodshare.js | ||
$ npm install | ||
$ npm run build | ||
``` | ||
```console | ||
foo@bar:~$ git clone https://github.com/koddr/goodshare.js.git | ||
foo@bar:~$ cd goodshare.js | ||
foo@bar:goodshare.js$ npm install | ||
foo@bar:goodshare.js$ npm run size | ||
``` |
@@ -10,3 +10,3 @@ <h1 align="center">🚀 goodshare.js</h1> | ||
<img src="https://badge.fury.io/js/goodshare.js.svg" alt="npm version"/> | ||
<img src="https://img.shields.io/badge/minified_and_gzipped-2.56_KB-blue.svg" alt="bundle size"/> | ||
<img src="https://img.shields.io/badge/minified_and_gzipped-1.04_KB-blue.svg" alt="bundle size"/> | ||
<a href="https://www.jsdelivr.com/package/npm/goodshare.js" target="_blank"> | ||
@@ -28,32 +28,4 @@ <img src="https://data.jsdelivr.com/v1/package/npm/goodshare.js/badge?style=rounded" alt="jsDelivr download"/> | ||
Simple install, **extensive documentation**, developer support, **SEO friendly**, small bundle size **~2.55 KB** (with all dependencies, minified and gzipped), many options for customization of appearance, **clean code without scripts tracking user activity** on the page, **high speed**. | ||
Simple install, **extensive documentation**, developer support, **SEO friendly**, small bundle size **1.04 KB** (with all dependencies, minified and gzipped), many options for customization of appearance, **clean code without scripts tracking user activity** on the page, **high speed**. | ||
## Installation | ||
Install via `npm`: | ||
``` bash | ||
npm install --save goodshare.js | ||
``` | ||
Or include from [jsDelivr](https://www.jsdelivr.com) CDN: | ||
``` html | ||
<script src="//cdn.jsdelivr.net/npm/goodshare.js@6/goodshare.min.js"></script> | ||
``` | ||
## Size limit report | ||
``` bash | ||
npm run size | ||
Time limit: 140 ms | ||
Package size: 2.55 KB with all dependencies, minified and gzipped | ||
Loading time: 52 ms on slow 3G | ||
Running time: 82 ms on Snapdragon 410 | ||
Total time: 133 ms | ||
``` | ||
_Thanks to Andrey Sitnik [@ai/size-limit](https://github.com/ai/size-limit)._ | ||
## Developers | ||
@@ -60,0 +32,0 @@ |
@@ -5,4 +5,4 @@ # Installation | ||
``` bash | ||
npm install --save goodshare.js | ||
```console | ||
foo@bar:~$ npm install --save goodshare.js | ||
``` | ||
@@ -24,2 +24,2 @@ | ||
<img src="https://data.jsdelivr.com/v1/package/npm/goodshare.js/badge?style=rounded" alt="jsDelivr download"/> | ||
</a> | ||
</a> |
{ | ||
"name": "goodshare.js", | ||
"version": "6.1.3", | ||
"version": "6.1.4", | ||
"description": "Useful modern JavaScript solution for share a link from your website to social networks or mobile messengers.", | ||
@@ -11,2 +11,12 @@ "main": "goodshare.min.js", | ||
}, | ||
"devDependencies": { | ||
"@ampproject/rollup-plugin-closure-compiler": "^0.18.1", | ||
"@babel/core": "^7.7.7", | ||
"@babel/preset-env": "^7.7.7", | ||
"@size-limit/preset-app": "^2.2.4", | ||
"babel-loader": "^8.0.6", | ||
"core-js": "^3.6.1", | ||
"rollup": "^1.27.14", | ||
"rollup-plugin-babel": "^4.3.3" | ||
}, | ||
"repository": { | ||
@@ -16,2 +26,7 @@ "type": "git", | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/koddr/goodshare.js/issues", | ||
"email": "truewebartisans@gmail.com" | ||
}, | ||
"homepage": "https://koddr.github.io/goodshare.js/", | ||
"keywords": [ | ||
@@ -23,25 +38,4 @@ "share count", | ||
], | ||
"bugs": { | ||
"url": "https://github.com/koddr/goodshare.js/issues", | ||
"email": "truewebartisans@gmail.com" | ||
}, | ||
"homepage": "https://koddr.github.io/goodshare.js/", | ||
"devDependencies": { | ||
"@ampproject/rollup-plugin-closure-compiler": "^0.9.0", | ||
"@babel/core": "^7.7.7", | ||
"@babel/preset-env": "^7.7.7", | ||
"babel-loader": "^8.0.6", | ||
"core-js": "^3.6.1", | ||
"rollup": "^1.27.14", | ||
"rollup-plugin-babel": "^4.3.3", | ||
"size-limit": "^1.3.1" | ||
}, | ||
"size-limit": [ | ||
{ | ||
"path": "./src/goodshare.js", | ||
"limit": "140 ms" | ||
} | ||
], | ||
"author": "Vic Shóstak <truewebartisans@gmail.com> (https://1wa.co)", | ||
"license": "MIT" | ||
} |
@@ -10,3 +10,3 @@ <h1 align="center">🚀 goodshare.js</h1> | ||
<img src="https://badge.fury.io/js/goodshare.js.svg" alt="npm version"/> | ||
<img src="https://img.shields.io/badge/minified_and_gzipped-2.55_KB-blue.svg" alt="bundle size"/> | ||
<img src="https://img.shields.io/badge/minified_and_gzipped-1.04_KB-blue.svg" alt="bundle size"/> | ||
<a href="https://www.jsdelivr.com/package/npm/goodshare.js" target="_blank"> | ||
@@ -29,3 +29,3 @@ <img src="https://data.jsdelivr.com/v1/package/npm/goodshare.js/badge?style=rounded" alt="jsDelivr download"/> | ||
Simple install, **extensive documentation**, developer support, **SEO friendly**, small bundle size **~2.55 KB** (with all dependencies, minified and gzipped), many options for customization of appearance, **clean code without scripts tracking user activity** on the page, **high speed**. | ||
Simple install, **extensive documentation**, developer support, **SEO friendly**, small bundle size **1.04 KB** (with all dependencies, minified and gzipped), many options for customization of appearance, **clean code without scripts tracking user activity** on the page, **high speed**. | ||
@@ -89,7 +89,7 @@ ## [Docs](https://goodshare.js.org), [Change log](CHANGELOG.md) | ||
Time limit: 140 ms | ||
Package size: 2.55 KB with all dependencies, minified and gzipped | ||
Loading time: 52 ms on slow 3G | ||
Running time: 82 ms on Snapdragon 410 | ||
Total time: 133 ms | ||
Time limit: 80 ms | ||
Size: 1.04 KB | ||
Loading time: 21 ms on slow 3G | ||
Running time: 54 ms on Snapdragon 410 | ||
Total time: 75 ms | ||
``` | ||
@@ -96,0 +96,0 @@ |
/** | ||
* Vic Shóstak <truewebartisans@gmail.com> | ||
* Copyright (c) 2019 True web artisans https://1wa.co | ||
* Copyright (c) 2020 True web artisans https://1wa.co | ||
* http://opensource.org/licenses/MIT The MIT License (MIT) | ||
* | ||
* goodshare.js v6.1.2 at 11/05/2019 | ||
* goodshare.js v6.1.4 at 04/01/2020 | ||
* | ||
@@ -8,0 +8,0 @@ * Useful modern JavaScript solution for share a link from your website |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
122553
69
2013