UNPKG

@trainerday/analytics-client

Version:

A lightweight JavaScript analytics client library with offline support for Hybrid and Progressive Web Apps

166 lines (165 loc) 3.45 kB
{ "name": "@trainerday/analytics-client", "version": "1.3.5", "description": "A lightweight JavaScript analytics client library with offline support for Hybrid and Progressive Web Apps", "main": "dist/analytics-client.min.js", "scripts": { "start": "node server/dev-server.js", "test": "jasmine-node tests --verbose --color --forceexit --junitreport || true", "build": "npm test && node_modules/gulp/bin/gulp.js build", "clean": "node_modules/gulp/bin/gulp.js clean" }, "repository": { "type": "git", "url": "git+https://github.com/trainerday/analytics-client.git" }, "bugs": { "url": "https://github.com/trainerday/analytics-client/issues" }, "keywords": [ "analytics", "offline", "pwa", "progressive", "tracking", "events", "self-hosted", "trainerday" ], "files": [ "dist/", "src/", "README.md", "LICENSE" ], "author": "John Doherty <contact@johndoherty.info> (www.johndoherty.info)", "license": "MIT", "devDependencies": { "del": "2.2.2", "eslint": "^4.18.2", "eslint-config-airbnb-base": "^11.2.0", "eslint-plugin-import": "^2.2.0", "express": "^4.17.1", "gulp": "^3.9.1", "gulp-minify": "1.0.0", "gulp-remove-logging": "^1.2.0", "gulp-sizereport": "^1.2.0", "gulp-string-replace": "^0.4.0", "jasmine-node": "^3.0.0", "puppeteer": "^2.1.1", "run-sequence": "1.2.2" }, "eslintConfig": { "extends": "airbnb-base", "env": { "es6": true, "jasmine": true, "node": true, "browser": true }, "globals": { "spyOn": true, "ActiveXObject": true }, "rules": { "brace-style": [ "error", "stroustrup" ], "comma-dangle": [ "error", "never" ], "func-names": 0, "indent": [ "error", 4, { "SwitchCase": 1, "MemberExpression": "off" } ], "max-len": [ 2, 180, 4, { "ignoreUrls": true, "ignoreComments": false } ], "new-cap": [ "error", { "capIsNewExceptions": [ "Router", "ObjectId", "DEBUG" ], "properties": false } ], "no-underscore-dangle": 0, "no-unused-vars": [ "warn" ], "no-use-before-define": [ "error", { "functions": false } ], "no-var": [ "off" ], "one-var": [ "off" ], "vars-on-top": [ "off" ], "no-param-reassign": [ "off" ], "no-lone-blocks": [ "off" ], "padded-blocks": 0, "prefer-template": [ "off" ], "prefer-arrow-callback": [ "off" ], "default-case": [ "off" ], "wrap-iife": [ 2, "any" ], "no-plusplus": [ "off" ], "require-jsdoc": [ "warn", { "require": { "FunctionDeclaration": true, "MethodDefinition": true, "ClassDeclaration": true } } ], "object-shorthand": [ "error", "never" ], "space-before-function-paren": "off", "strict": "off", "valid-jsdoc": [ "error" ] } } }