Skip to content

Commit 6f9403d

Browse files
author
Huei Tan
committed
Merge pull request #143 from dVelopment/master
add package.js for Meteor support
2 parents b2f5b8b + 6fc3f06 commit 6f9403d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

package.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
var options = {
2+
"version": "1.3.2",
3+
"where": "client",
4+
"packageName": "huei90:angular-validation"
5+
};
6+
7+
// meta data
8+
Package.describe({
9+
name: options.packageName,
10+
version: options.version,
11+
summary: 'Client-side Validation for AngularJS',
12+
git: 'https://github.com/huei90/angular-validation',
13+
documentation: 'README.md'
14+
});
15+
16+
Package.onUse(function(api) {
17+
api.versionsFrom('[email protected]', '[email protected]');
18+
api.use('angular:[email protected]', options.where);
19+
api.addFiles([
20+
'dist/angular-validation.js',
21+
'dist/angular-validation-rule.js'
22+
], options.where);
23+
});

0 commit comments

Comments
 (0)