From a2c8dae1e7117afc00b12546e771c4ac82b78fc8 Mon Sep 17 00:00:00 2001 From: Barrior Date: Thu, 11 Jan 2024 17:17:17 +0800 Subject: [PATCH 1/2] docs: add gzip size badge --- README.md | 1 + README_en.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index b82ffb7..a41e9f0 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![Testing](https://github.com/Barrior/JParticles/actions/workflows/testing.yml/badge.svg?branch=master)](https://github.com/Barrior/JParticles/actions/workflows/testing.yml) [![Coverage](https://codecov.io/gh/Barrior/JParticles/branch/master/graph/badge.svg?token=JYojJUPPMW)](https://codecov.io/gh/Barrior/JParticles) +[![Gzip Size](https://img.badgesize.io/https://unpkg.com/jparticles@3.4.0/browser/jparticles.base.js?compression=gzip)](https://unpkg.com/jparticles@3.4.0/browser/jparticles.base.js) [![NPM Version](https://img.shields.io/npm/v/jparticles/latest)](https://www.npmjs.com/package/jparticles) [![NPM Download](https://img.shields.io/npm/dm/jparticles.svg)](https://www.npmjs.com/package/jparticles) [![Dependencies](https://img.shields.io/badge/dependencies-none-brightgreen.svg)](https://www.npmjs.com/package/jparticles?activeTab=dependencies) diff --git a/README_en.md b/README_en.md index c041585..c2e9356 100644 --- a/README_en.md +++ b/README_en.md @@ -2,6 +2,7 @@ [![Testing](https://github.com/Barrior/JParticles/actions/workflows/testing.yml/badge.svg?branch=master)](https://github.com/Barrior/JParticles/actions/workflows/testing.yml) [![Coverage](https://codecov.io/gh/Barrior/JParticles/branch/master/graph/badge.svg?token=JYojJUPPMW)](https://codecov.io/gh/Barrior/JParticles) +[![Gzip Size](https://img.badgesize.io/https://unpkg.com/jparticles@3.4.0/browser/jparticles.base.js?compression=gzip)](https://unpkg.com/jparticles@3.4.0/browser/jparticles.base.js) [![NPM Version](https://img.shields.io/npm/v/jparticles/latest)](https://www.npmjs.com/package/jparticles) [![NPM Download](https://img.shields.io/npm/dm/jparticles.svg)](https://www.npmjs.com/package/jparticles) [![Dependencies](https://img.shields.io/badge/dependencies-none-brightgreen.svg)](https://www.npmjs.com/package/jparticles?activeTab=dependencies) From acdd18e880595217263a16a27ca50146f56b7740 Mon Sep 17 00:00:00 2001 From: Barrior Date: Thu, 11 Jan 2024 17:20:07 +0800 Subject: [PATCH 2/2] docs: remove license badge --- README.md | 1 - README_en.md | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index a41e9f0..9b94a7e 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ [![NPM Version](https://img.shields.io/npm/v/jparticles/latest)](https://www.npmjs.com/package/jparticles) [![NPM Download](https://img.shields.io/npm/dm/jparticles.svg)](https://www.npmjs.com/package/jparticles) [![Dependencies](https://img.shields.io/badge/dependencies-none-brightgreen.svg)](https://www.npmjs.com/package/jparticles?activeTab=dependencies) -[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Barrior/JParticles/blob/master/LICENSE) > 中文 | [English](./README_en.md) diff --git a/README_en.md b/README_en.md index c2e9356..559dc69 100644 --- a/README_en.md +++ b/README_en.md @@ -6,7 +6,6 @@ [![NPM Version](https://img.shields.io/npm/v/jparticles/latest)](https://www.npmjs.com/package/jparticles) [![NPM Download](https://img.shields.io/npm/dm/jparticles.svg)](https://www.npmjs.com/package/jparticles) [![Dependencies](https://img.shields.io/badge/dependencies-none-brightgreen.svg)](https://www.npmjs.com/package/jparticles?activeTab=dependencies) -[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Barrior/JParticles/blob/master/LICENSE) > English | [中文](./README.md)