@docomodigital/js-analytics

v1.0.0
Interface for Google Analytics to track events, pageviews and custom dimensions
google analytics ga javascript docomo custom dimensions

build

rimraf ./dist && cross-env NODE_ENV=production webpack

doc

rimraf ./docs/${npm_package_version} && jsdoc -c .jsdoc.json -d ./docs/${npm_package_version}/

doc:latest

rimraf ./docs/latest && jsdoc -c .jsdoc.json -d ./docs/latest/

doc:open

npm run doc && open docs/${npm_package_version}/index.html

lint

eslint "src/**"

start

cross-env NODE_ENV=development webpack-dev-server --open

test

jest --config jest.config.json

test:watch

npm run test -- --watchAll

test:open

npm run test && open coverage/lcov-report/index.html

test:coveralls

npm run test -- --coverageReporters=text-lcov | coveralls

preversion

npm run lint && npm run test

version

npm run build && npm run doc && npm run doc:latest

postversion

git add docs/ && git commit -am "Documentation ${npm_package_version}" && git push --follow-tags
npm i @docomodigital/[email protected]

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 10/17/2018

Downloads