diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 82fd79fc5b..12837f0d3e 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -585,8 +585,8 @@ gruntConfig = { pathsFromThirdPartyBuild: backendThirdPartyBuildPaths files: [ { - expand: true, cwd: 'node_modules/freedomjs-anonymized-metrics/', - src: ['anonmetrics.json', 'metric.js'] + expand: true, cwd: 'node_modules/freedomjs-anonymized-metrics/dist/', + src: ['**'] dest: chromeAppDevPath + '/freedomjs-anonymized-metrics' }, { @@ -657,8 +657,8 @@ gruntConfig = { pathsFromThirdPartyBuild: backendThirdPartyBuildPaths files: [ { - expand: true, cwd: 'node_modules/freedomjs-anonymized-metrics/', - src: ['anonmetrics.json', 'metric.js'] + expand: true, cwd: 'node_modules/freedomjs-anonymized-metrics/dist/', + src: ['**'] dest: firefoxDevPath + 'data/freedomjs-anonymized-metrics' }, { @@ -726,8 +726,8 @@ gruntConfig = { pathsFromThirdPartyBuild: backendThirdPartyBuildPaths files: [ { - expand: true, cwd: 'node_modules/freedomjs-anonymized-metrics/', - src: ['anonmetrics.json', 'metric.js'] + expand: true, cwd: 'node_modules/freedomjs-anonymized-metrics/dist/', + src: ['**'] dest: ccaDevPath + '/freedomjs-anonymized-metrics' }, { diff --git a/package.json b/package.json index c88780f28f..e213661a0f 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "freedom-social-github": "^0.1.3", "freedom-social-quiver": "^0.0.8", "freedom-social-wechat": "^0.1.5", - "freedomjs-anonymized-metrics": "~0.7.1", + "freedomjs-anonymized-metrics": "^0.7.2", "fs-extra": "^0.12.0", "grunt": "^0.4.2", "grunt-browserify": "^3.3.1",