1.0.5 • Published 5 years ago

@unly/utils-googletag v1.0.5

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Build Status Maintainability Test Coverage

Utils Googletag

This project is a transversal project, helpers for google tag manager

Getting started

npm or yarn

npm install @unly/utils-googletag

Use:

const { gaPageview, initializeAsHTML, convertTrackingIDToGTag } = require('@unly/utils-googletag');

API

API


Contributing

We gladly accept PRs, but please open an issue first so we can discuss it beforehand.

Getting started

yarn start # Shortcut - Runs linter + build + tests in concurrent mode (watch mode)

OR run each process separately for finer control

yarn lint
yarn build
yarn test

Test

yarn test # Run all tests, interactive and watch mode
yarn test:once
yarn test:coverage

Releasing and publishing

yarn releaseAndPublish # Shortcut - Will prompt for bump version, commit, create git tag, push commit/tag and publish to NPM

yarn release # Will prompt for bump version, commit, create git tag, push commit/tag
npm publish # Will publish to NPM

License

MIT

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago