Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@aller/blink-labrador
Advanced tools
A package that uses blink for analytics on Labrador pages
npm install @aller/blink-labrador
import BlinkLabrador from './blink-labrador';
function initTracking() {
const tracker = new BlinkLabrador();
tracker.trackPageload();
tracker.trackPerformance();
tracker.trackAdInscreen0('.adunit');
tracker.trackAdInscreen('.adunit');
tracker.trackActiveTime();
tracker.trackLinkClicks();
tracker.trackArticleImpressions('article.preview,.article-list>li');
tracker.trackAdDFP();
tracker.trackVideos();
// Expose blink functions to other modules
window.trackAdLoad = tracker.trackAdLoad;
window.trackCustom = tracker.trackCustom;
}
initTracking();
Make sure that the latest changes is merged into master via a pull request
If it is a bugfix run npm version patch
, if it is a new feature run npm version minor
, and if where is a breaking change run npm version major
. We use semantic versionion, and 1.0.0 is no holy grail for "finished" software, and we should not be afraid of releasing major versions.
Publish it by running npm publish
. This will transpile all files and publish them to npm.
Push the release to GitHub by running git push
and git push --tags
from master.
It is greatly appreciated if you write a summary of the release on GitHub releases. You do that by opening the releases overview page on GitHub, clicking your newly pushed release, and then clicking the "Edit tag" button.
(6. Things can be released via lerna lerna publish
as well, to easier keep version-tracking)
FAQs
Library for using blink on Labrador
The npm package @aller/blink-labrador receives a total of 251 weekly downloads. As such, @aller/blink-labrador popularity was classified as not popular.
We found that @aller/blink-labrador demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.