Skip to content

Commit e3cabd9

Browse files
authored
Update metadata (#68)
1 parent 9557753 commit e3cabd9

7 files changed

Lines changed: 433 additions & 341 deletions

File tree

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
99
liberapay: scriptex
1010
issuehunt: scriptex
1111
otechie: # Replace with a single Otechie username
12-
custom: ['paypal.me/scriptex']
12+
custom: ['paypal.me/scriptex', 'revolut.me/scriptex']

.github/workflows/test.yml

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,20 @@
1-
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3-
41
name: Build
52

6-
on:
7-
push:
8-
branches: [ master ]
9-
pull_request:
10-
branches: [ master ]
3+
on: [push, pull_request]
114

125
jobs:
13-
build:
14-
15-
runs-on: ubuntu-latest
6+
build:
7+
runs-on: ubuntu-latest
168

17-
strategy:
18-
matrix:
19-
node-version: [10.x, 12.x, 14.x]
9+
strategy:
10+
matrix:
11+
node-version: [14.x, 16.x]
2012

21-
steps:
22-
- uses: actions/checkout@v3
23-
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v3
25-
with:
26-
node-version: ${{ matrix.node-version }}
27-
- run: yarn
28-
- run: yarn test
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Use Node.js ${{ matrix.node-version }}
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
- run: yarn
20+
- run: yarn test

.npmignore

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ yarn-debug.log*
66
yarn-error.log*
77

88
# Dependency directory
9-
node_modules/
9+
node_modules
1010

1111
# Misc
1212
.DS_Store
@@ -17,29 +17,22 @@ node_modules/
1717
ehthumbs.db
1818
Thumbs.db
1919

20-
# EditorConfig
20+
# Config folders and files
21+
.github
22+
_config.yml
23+
_.config.yml
2124
.editorconfig
22-
23-
# Git
24-
.gitignore
2525
.gitattributes
26-
27-
# CI
28-
.travis.yml
29-
30-
# lock files
31-
yarn.lock
32-
33-
# Prettier
34-
.prettierrc
26+
.gitignore
27+
.nvmrc
3528
.prettierignore
36-
37-
# Config files
29+
.prettierrc
30+
.stylelintignore
31+
.stylelintrc
32+
.travis.yml
3833
.whitesource
3934
renovate.json
40-
_config.yml
41-
_.config.yml
42-
43-
# Project specific
44-
.github
35+
tsconfig.json
36+
tslint.json
37+
yarn.lock
4538
tmp

.whitesource

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
"issueSettings": {
99
"minSeverityLevel": "LOW"
1010
}
11-
}
11+
}

README.md

Lines changed: 117 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,29 @@
1-
[![GitHub release](https://img.shields.io/github/release/scriptex/localga.svg)](https://github.com/scriptex/localga/releases/latest)
2-
[![GitHub issues](https://img.shields.io/github/issues/scriptex/localga.svg)](https://github.com/scriptex/localga/issues)
3-
[![GitHub last commit](https://img.shields.io/github/last-commit/scriptex/localga.svg)](https://github.com/scriptex/localga/commits/master)
4-
[![Build Status](https://travis-ci.com/scriptex/localga.svg?branch=master)](https://travis-ci.com/scriptex/localga)
5-
[![npm](https://img.shields.io/npm/dt/localga.svg)](https://www.npmjs.com/package/localga)
6-
[![npm](https://img.shields.io/npm/v/localga.svg)](https://www.npmjs.com/package/localga)
7-
[![Analytics](https://ga-beacon.appspot.com/UA-83446952-1/github.com/scriptex/localga/README.md)](https://github.com/scriptex/localga/)
1+
[![Travis CI](https://travis-ci.com/scriptex/localga.svg?branch=master)](https://travis-ci.com/scriptex/localga)
2+
[![Github Build](https://github.com/scriptex/localga/workflows/Build/badge.svg)](https://github.com/scriptex/localga/actions?query=workflow%3ABuild)
3+
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/34d3d75710534dc6a38c3584a1dcd068)](https://www.codacy.com/gh/scriptex/localga/dashboard?utm_source=github.com&utm_medium=referral&utm_content=scriptex/localga&utm_campaign=Badge_Grade)
4+
[![Codebeat Badge](https://codebeat.co/badges/d765a4c8-2c0e-44f2-89c3-fa364fdc14e6)](https://codebeat.co/projects/github-com-scriptex-localga-master)
5+
[![CodeFactor Badge](https://www.codefactor.io/repository/github/scriptex/localga/badge)](https://www.codefactor.io/repository/github/scriptex/localga)
6+
[![DeepScan grade](https://deepscan.io/api/teams/3574/projects/5257/branches/40799/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=3574&pid=5257&bid=40799)
7+
[![Analytics](https://ga-beacon-361907.ew.r.appspot.com/UA-83446952-1/github.com/scriptex/localga/README.md?pixel)](https://github.com/scriptex/localga/)
88

99
# Local GA
1010

11-
Save a local version of your Google Analytics script
11+
> Save a local version of your Google Analytics script
12+
13+
## Visitor stats
14+
15+
![GitHub stars](https://img.shields.io/github/stars/scriptex/localga?style=social)
16+
![GitHub forks](https://img.shields.io/github/forks/scriptex/localga?style=social)
17+
![GitHub watchers](https://img.shields.io/github/watchers/scriptex/localga?style=social)
18+
![GitHub followers](https://img.shields.io/github/followers/scriptex?style=social)
19+
20+
## Code stats
21+
22+
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/scriptex/localga)
23+
![GitHub repo size](https://img.shields.io/github/repo-size/scriptex/localga?style=plastic)
24+
![GitHub language count](https://img.shields.io/github/languages/count/scriptex/localga?style=plastic)
25+
![GitHub top language](https://img.shields.io/github/languages/top/scriptex/localga?style=plastic)
26+
![GitHub last commit](https://img.shields.io/github/last-commit/scriptex/localga?style=plastic)
1227

1328
## About
1429

@@ -74,12 +89,100 @@ gtag('config', 'UA-XXXXXXXX-Y');
7489

7590
**UA-XXXXXXXX-Y is your Google Analytics ID**
7691

77-
## Support this project
78-
79-
[![Tweet](https://img.shields.io/badge/Tweet-Share_this_repository-blue.svg?style=flat-square&logo=twitter&color=38A1F3)](https://twitter.com/intent/tweet?text=Checkout%20this%20awesome%20software%20project%3A&url=https%3A%2F%2Fgithub.com%2Fscriptex%2Flocalga&via=scriptexbg&hashtags=software%2Cgithub%2Ccode%2Cawesome)
80-
[![Donate](https://img.shields.io/badge/Donate-Support_me_on_PayPal-blue.svg?style=flat-square&logo=paypal&color=222d65)](https://www.paypal.me/scriptex)
81-
[![Become a Patron](https://img.shields.io/badge/Become_Patron-Support_me_on_Patreon-blue.svg?style=flat-square&logo=patreon&color=e64413)](https://www.patreon.com/atanas)
82-
8392
## LICENSE
8493

8594
MIT
95+
96+
---
97+
98+
<div align="center">
99+
Connect with me:
100+
</div>
101+
102+
<br />
103+
104+
<div align="center">
105+
<a href="https://atanas.info">
106+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/logo.svg" height="20" alt="">
107+
</a>
108+
&nbsp;
109+
<a href="mailto:hi@atanas.info">
110+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/email.svg" height="20" alt="">
111+
</a>
112+
&nbsp;
113+
<a href="https://www.linkedin.com/in/scriptex/">
114+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/linkedin.svg" height="20" alt="">
115+
</a>
116+
&nbsp;
117+
<a href="https://github.com/scriptex">
118+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/github.svg" height="20" alt="">
119+
</a>
120+
&nbsp;
121+
<a href="https://gitlab.com/scriptex">
122+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/gitlab.svg" height="20" alt="">
123+
</a>
124+
&nbsp;
125+
<a href="https://twitter.com/scriptexbg">
126+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/twitter.svg" height="20" alt="">
127+
</a>
128+
&nbsp;
129+
<a href="https://www.npmjs.com/~scriptex">
130+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/npm.svg" height="20" alt="">
131+
</a>
132+
&nbsp;
133+
<a href="https://www.youtube.com/user/scriptex">
134+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/youtube.svg" height="20" alt="">
135+
</a>
136+
&nbsp;
137+
<a href="https://stackoverflow.com/users/4140082/atanas-atanasov">
138+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/stackoverflow.svg" height="20" alt="">
139+
</a>
140+
&nbsp;
141+
<a href="https://codepen.io/scriptex/">
142+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/codepen.svg" width="20" alt="">
143+
</a>
144+
&nbsp;
145+
<a href="https://profile.codersrank.io/user/scriptex">
146+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/codersrank.svg" height="20" alt="">
147+
</a>
148+
&nbsp;
149+
<a href="https://linktr.ee/scriptex">
150+
<img src="https://raw.githubusercontent.com/scriptex/socials/master/styled-assets/linktree.svg" height="20" alt="">
151+
</a>
152+
</div>
153+
154+
---
155+
156+
<div align="center">
157+
Support and sponsor my work:
158+
<br />
159+
<br />
160+
<a href="https://twitter.com/intent/tweet?text=Checkout%20this%20awesome%20developer%20profile%3A&url=https%3A%2F%2Fgithub.com%2Fscriptex&via=scriptexbg&hashtags=software%2Cgithub%2Ccode%2Cawesome" title="Tweet">
161+
<img src="https://img.shields.io/badge/Tweet-Share_my_profile-blue.svg?logo=twitter&color=38A1F3" />
162+
</a>
163+
<a href="https://paypal.me/scriptex" title="Donate on Paypal">
164+
<img src="https://img.shields.io/badge/Donate-Support_me_on_PayPal-blue.svg?logo=paypal&color=222d65" />
165+
</a>
166+
<a href="https://revolut.me/scriptex" title="Donate on Revolut">
167+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/revolut.json" />
168+
</a>
169+
<a href="https://patreon.com/atanas" title="Become a Patron">
170+
<img src="https://img.shields.io/badge/Become_Patron-Support_me_on_Patreon-blue.svg?logo=patreon&color=e64413" />
171+
</a>
172+
<a href="https://ko-fi.com/scriptex" title="Buy Me A Coffee">
173+
<img src="https://img.shields.io/badge/Donate-Buy%20me%20a%20coffee-yellow.svg?logo=ko-fi" />
174+
</a>
175+
<a href="https://liberapay.com/scriptex/donate" title="Donate on Liberapay">
176+
<img src="https://img.shields.io/liberapay/receives/scriptex?label=Donate%20on%20Liberapay&logo=liberapay" />
177+
</a>
178+
179+
<a href="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/bitcoin.json" title="Donate Bitcoin">
180+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/bitcoin.json" />
181+
</a>
182+
<a href="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/etherium.json" title="Donate Etherium">
183+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/etherium.json" />
184+
</a>
185+
<a href="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/shiba-inu.json" title="Donate Shiba Inu">
186+
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/scriptex/scriptex/master/badges/shiba-inu.json" />
187+
</a>
188+
</div>

package.json

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,40 @@
11
{
22
"name": "localga",
3-
"version": "2.2.0",
3+
"version": "2.3.0",
44
"description": "Save a local version of your Google Analytics script",
5-
"bin": {
6-
"localga": "./cli.js"
7-
},
85
"keywords": [
96
"GA",
107
"Google Analytics",
11-
"Cache",
128
"Page Speed Insights",
13-
"Anaylitics",
14-
"Google Tag Manager"
9+
"Local Analytics",
10+
"Offline Analytics",
11+
"Local Google Analytics",
12+
"Offline Google Analytics"
1513
],
16-
"main": "./index.js",
17-
"repository": "git@github.com:scriptex/localga.git",
14+
"homepage": "https://atanas.info/projects/localga.html",
1815
"bugs": {
1916
"url": "https://github.com/scriptex/localga/issues",
20-
"email": "scriptex.bg@gmail.com"
17+
"email": "hi@atanas.info"
2118
},
22-
"author": "Atanas Atanasov <scriptex.bg@gmail.com> (https://atanas.info)",
2319
"license": "MIT",
20+
"author": "Atanas Atanasov <hi@atanas.info> (https://atanas.info)",
21+
"funding": "https://github.com/sponsors/scriptex",
22+
"main": "./index.js",
23+
"bin": {
24+
"localga": "./cli.js"
25+
},
26+
"repository": {
27+
"type": "git",
28+
"url": "github:scriptex/localga"
29+
},
30+
"scripts": {
31+
"test": "rm -rf tmp && tape test.js"
32+
},
2433
"dependencies": {
2534
"meow": "9.0.0",
2635
"node-fetch": "2.6.7"
2736
},
2837
"devDependencies": {
29-
"tape": "5.5.3"
30-
},
31-
"scripts": {
32-
"test": "rm -rf tmp && tape test.js"
38+
"tape": "5.6.0"
3339
}
3440
}

0 commit comments

Comments
 (0)