forked from GorillaStack/meteor-iron-router-gtm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
34 lines (29 loc) · 836 Bytes
/
package.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Package.describe({
name: 'gorillastack:iron-router-gtm',
version: '0.2.0',
summary: 'Install google tag manager and track pageviews in iron-router',
git: '[email protected]:GorillaStack/meteor-iron-router-gtm.git',
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('[email protected]');
api.use([
'templating',
'iron:[email protected]'
], 'client');
api.addFiles([
'lib/client/body.html',
'lib/client/bulldozer.js',
'lib/client/attach_google_tag_manager.js',
'lib/client/router.js'
], 'client');
api.addFiles([
'lib/server/set_browser_policy.js'
], 'server');
api.export('gtmBulldozer', 'client');
});
// Package.onTest(function(api) {
// api.use('tinytest');
// api.use('gorillastack:iron-router-gtm');
// api.addFiles('iron-router-gtm-tests.js');
// });