-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
executable file
·49 lines (41 loc) · 934 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Package.describe({
name: "coniel:react-form-handler",
summary: "React form validation using aldeed:simple-schema" ,
git: 'https://github.com/coniel/meteor-react-form-handler.git',
version: "0.1.4"
});
Package.onUse(function(api) {
api.versionsFrom("1.0.1");
// Dependencies
api.use([
'react@0.1.13',
'aldeed:simple-schema@1.3.3',
'check'
]);
// Shared files
api.addFiles([
'lib/react-form-handler.jsx',
'lib/simple-schema-extensions.js',
'lib/layout-styles.js',
'lib/components/Form.jsx'
]);
// Server files
api.addFiles([
// 'server/'
], "server");
// Client files
api.addFiles([
// 'client/'
], "client");
// Exports
api.export([
'FormHandler',
'Form',
'FormLayoutStyles',
'AvailableFormLayoutStyles'
]);
});
Package.onTest(function (api) {
// api.use("tinytest");
api.use("coniel:react-form-handler");
});