-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.js
84 lines (73 loc) · 2.17 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
Package.describe({
name: "empirica:core",
version: "1.17.0",
summary: "Core Meteor package for the experiment Empirica platform.",
git: "https://github.com/empiricaly/meteor-empirica-core.git",
documentation: "README.md"
});
Package.onUse(function(api) {
api.versionsFrom("1.10.2");
api.use([
"meteor-base",
"ecmascript",
// Core Meteor. Needed?
"es5-shim",
"mongo",
"reactive-var",
"tracker",
"aldeed:[email protected]", // Attach a SimpleSchema to a Mongo.Collection
"aldeed:[email protected]", // deny update
"aldeed:[email protected]", // indexes
"dburles:[email protected]", // Add helper methods to Collection objects
"reywood:[email protected]", // When publishes need to be reactive on multiple levels of data
"matb33:[email protected]", // Add before/after hooks on insert, update...
// React
"[email protected]", // Connects the meteor reactive model to react
// Methods
"mdg:[email protected]", // Define Meteor methods in a structured way
"random",
"dynamic-import",
"accounts-password",
"mizzao:[email protected]",
"underscore"
// "tmeasday:[email protected]"
]);
api.imply(["underscore"]);
api.addFiles("main.less", "client");
api.mainModule("client.js", "client");
api.mainModule("server.js", "server");
});
Npm.depends({
archiver: "3.0.0",
"@blueprintjs/core": "3.6.1",
"@blueprintjs/icons": "3.1.0",
"babel-runtime": "6.26.0",
bcrypt: "3.0.8",
colors: "1.3.0",
"content-disposition": "0.5.2",
history: "4.7.2",
hoek: "4.2.1",
"identicon.js": "2.3.2",
inflection: "1.12.0",
jdenticon: "2.1.0",
"js-yaml": "3.12.0",
loglevel: "1.6.1",
"meteor-node-stubs": "0.4.1",
"message-box": "0.2.0",
moment: "2.22.2",
"prop-types": "15.6.1",
react: "16.5.2",
"react-addons-css-transition-group": "15.6.2",
"react-dom": "16.5.2",
"react-helmet": "5.2.0",
"react-router-dom": "4.3.1",
"stream-buffers": "3.0.2",
"simpl-schema": "1.5.5"
});
Package.onTest(function(api) {
api.use("ecmascript");
api.use("tinytest");
api.use("empirica:core");
api.mainModule("core-tests.js");
});