add smartanalytics

This commit is contained in:
2017-03-04 23:44:16 +01:00
parent ae68ddfaf8
commit 468d07f5f3
8 changed files with 79 additions and 62 deletions

2
dist/npmts.cli.js vendored
View File

@@ -7,6 +7,8 @@ const NpmtsConfig = require("./npmts.config");
const NpmtsMods = require("./npmts.mods");
const NpmtsWatch = require("./npmts.watch");
const NpmtsShip = require("./npmts.ship");
let npmtsAnalytics = new plugins.smartanalytics.AnalyticsAccount('npmts', 'UA-64087619-2');
npmtsAnalytics.sendEvent('npm', 'exec', 'push.rocks');
exports.run = () => {
let done = q.defer();
let npmtsProjectInfo = new plugins.projectinfo.ProjectinfoNpm(paths.npmtsPackageRoot);