-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
45 lines (39 loc) · 1.01 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
Package.describe({
name: 'timoruetten:json-schema',
version: '0.0.9',
summary: 'Jsonschema validation for MeteorJS with MongoDB Collection attachment',
git: 'https://github.com/TimoRuetten/meteor-json-schema.git',
documentation: 'README.md'
});
Npm.depends({
"jsonschema":"1.0.3"
});
Package.onUse(function(api) {
api.versionsFrom('1.2.1');
api.use('ecmascript');
api.use([
'cosmos:[email protected]',
'ui'
], 'client');
api.use('mongo');
api.addFiles([
'packages/jsonschema.browserify.js',
'template-helpers.js'
], 'client');
api.addFiles(['packages/jsonschema.js'], 'server');
api.addFiles([
'libraries/lodash.js',
'collections/collections.js',
'utility/JsonSchemaUtility.js',
'custom-attributes/custom.js',
'JsonSchema.js',
'JsonSchemaContext.js',
'JsonSchemaValidation.js'
], ['client', 'server']);
api.export([
'JsonSchemaUtility',
'JsonSchema',
'JsonSchemaValidation',
'JsonSchemaErrorMessages'
], ['client', 'server']);
});