Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ fortawesome:fontawesome
rzymek:moment-locale-nl
appshore:recaptcha
tmeasday:publish-counts
planner
simply-debug-tools
meteorhacks:kadira-debug
simply:strict-reactive-var
Expand Down
1 change: 1 addition & 0 deletions .meteor/versions
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ particle4dev:cheerio@0.18.0
percolate:paginated-subscription@0.2.4
percolate:synced-cron@1.2.1
percolate:velocityjs@1.2.1_1
planner@0.0.1
qnub:emojione@0.0.3
random@1.0.3
reactive-dict@1.1.0
Expand Down
1 change: 1 addition & 0 deletions packages/planner/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
Empty file added packages/planner/README.md
Empty file.
30 changes: 30 additions & 0 deletions packages/planner/package.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Package.describe({
name: 'planner',
version: '0.0.1',
// Brief, one-line summary of the package.
summary: 'The plan algorithm of simplyHomework.',
// URL to the Git repository containing the source code for this package.
git: '',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md',
});

Npm.depends({
'js-object-clone': '0.4.2',
});

Package.onUse(function(api) {
api.versionsFrom('1.1.0.2');

api.addFiles('planner.js', 'server');

api.export('HomeworkDescription', 'server');
api.export('Planner', 'server');
});

Package.onTest(function(api) {
api.use('tinytest');
api.use('planner');
api.addFiles('planner-tests.js');
});
14 changes: 14 additions & 0 deletions packages/planner/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "planner",
"version": "0.0.1",
"description": "The plan algorithm of simplyHomework.",
"main": "planner.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "simply <hello@simplyApps.nl> (http://www.simplyApps.nl/)",
"license": "UNLICENSED",
"dependencies": {
"js-object-clone": "^0.4.2"
}
}
5 changes: 5 additions & 0 deletions packages/planner/planner-tests.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Write your tests here!
// Here is an example.
Tinytest.add('example', function (test) {
test.equal(true, true);
});
Loading