-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.js
More file actions
27 lines (25 loc) · 1013 Bytes
/
package.js
File metadata and controls
27 lines (25 loc) · 1013 Bytes
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
Package.describe({
name: 'redcap3000:wordpress-json-api',
version: '0.0.3',
// Brief, one-line summary of the package.
summary: "Interacts with the Wordpress JSON API plugin to retrieve wordpress data",
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/redcap3000/meteor-wordpress-json-api/',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Package.on_use(function(api){
api.versionsFrom('1.1.0.3');
api.export('Wordpress',['server','client']);
api.use(["underscore","templating"],"client");
api.use("http","server");
api.add_files("server.js","server");
api.add_files(["templates.html","client.js"],"client");
api.add_files("shared.js",['server','client']);
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('redcap3000:wordpress-json-api');
api.addFiles('wordpress-json-api-tests.js');
});