|
1 | 1 | Package.describe({ |
2 | | - summary: "The simplest no-conflict way to use AngularJS with Meteor, Meteorite and Atmosphere Smart Packages." |
| 2 | + summary: "The simplest no-conflict way to use AngularJS with Meteor, Meteorite and Atmosphere Smart Packages.", |
| 3 | + version: "0.2.0", |
| 4 | + git: "git@github.com:Urigo/ngMeteor.git" |
3 | 5 | }); |
4 | 6 |
|
5 | 7 | Package.on_use(function (api) { |
6 | | - // Exports the ngMeteor package scope |
7 | | - api.export('ngMeteor', 'client'); |
| 8 | + api.versionsFrom('METEOR@0.9.0.1'); |
| 9 | + // Exports the ngMeteor package scope |
| 10 | + api.export('ngMeteor', 'client'); |
8 | 11 |
|
9 | 12 | api.use('jquery', 'client'); |
10 | 13 |
|
11 | | - // Files to load in Client only. |
12 | | - api.add_files([ |
13 | | - // Lib Files |
14 | | - 'lib/angular.js', |
15 | | - 'lib/angular-csp.css', |
16 | | - 'lib/angular-animate.js', |
17 | | - 'lib/angular-cookies.js', |
18 | | - 'lib/angular-resource.js', |
19 | | - 'lib/angular-route.js', |
20 | | - 'lib/angular-sanitize.js', |
21 | | - 'lib/angular-touch.js', |
22 | | - 'lib/angular-hash-key-copier.js', |
23 | | - // Module Files |
24 | | - 'modules/ngMeteor-collections.js', |
25 | | - 'modules/ngMeteor-template.js', |
26 | | - // Finally load ngMeteor File |
27 | | - 'ngMeteor.js' |
28 | | - ], 'client'); |
| 14 | + // Files to load in Client only. |
| 15 | + api.add_files([ |
| 16 | + // Lib Files |
| 17 | + 'lib/angular.js', |
| 18 | + 'lib/angular-csp.css', |
| 19 | + 'lib/angular-animate.js', |
| 20 | + 'lib/angular-cookies.js', |
| 21 | + 'lib/angular-resource.js', |
| 22 | + 'lib/angular-route.js', |
| 23 | + 'lib/angular-sanitize.js', |
| 24 | + 'lib/angular-touch.js', |
| 25 | + 'lib/angular-hash-key-copier.js', |
| 26 | + // Module Files |
| 27 | + 'modules/ngMeteor-collections.js', |
| 28 | + 'modules/ngMeteor-template.js', |
| 29 | + // Finally load ngMeteor File |
| 30 | + 'urigo:ngmeteor.js' |
| 31 | + ], 'client'); |
| 32 | +}); |
| 33 | + |
| 34 | +Package.onTest(function(api) { |
| 35 | + api.use('tinytest'); |
| 36 | + api.use('urigo:ngmeteor'); |
| 37 | + api.addFiles('urigo:ngmeteor-tests.js'); |
29 | 38 | }); |
0 commit comments