forked from symptomatic/vault-server-freemium
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.js
137 lines (103 loc) · 3.93 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
Package.describe({
name: 'clinical:vault-server',
version: '8.8.3',
summary: 'Add FHIR API endpoints to your Node on FHIR application.',
git: 'https://github.com/clinical-meteor/vault-server'
});
Package.onUse(function(api) {
api.versionsFrom('1.0');
// core build
api.use('meteor-base@1.5.1');
api.use('webapp@1.13.0');
api.use('ecmascript@0.16.0');
api.use('react-meteor-data@2.4.0');
api.use('ddp@1.4.0');
api.use('livedata@1.0.18');
api.use('es5-shim@4.8.0');
api.use('check', 'server');
api.use('meteorhacks:async@1.0.0', 'server');
// IPFS
// api.addFiles('IpfsServer/server.js', 'server');
// database drivers, data cursors
api.use('mongo');
api.use('aldeed:collection2@3.5.0');
api.use('matb33:collection-hooks@1.0.1');
api.use('clinical:extended-api@2.5.0');
// FHIR data layer
api.use('clinical:json-routes@2.3.0');
api.use('clinical:hl7-resource-datatypes@4.0.5');
api.use('clinical:hl7-fhir-data-infrastructure@6.31.3');
// REST Endpoints
api.addFiles('FhirServer/main.js', 'server');
api.addFiles('FhirServer/Core.js', 'server');
api.addFiles('FhirServer/Metadata.js', 'server');
api.addFiles('FhirServer/OAuth.js', 'server');
// // OAuth Server
api.addFiles('OAuthServer/common.js', ['client', 'server']);
api.addFiles('OAuthServer/meteor-model.js', 'server');
api.addFiles('OAuthServer/server.js', 'server');
api.addFiles('OAuthServer/client.js', 'client');
// UDAP
api.addAssets('certs/EMRDirectTestCA.crt', 'server');
api.addAssets('certs/EMRDirectTestClientSubCA.crt', 'server');
// DDP autopublish
api.addFiles('lib/WebsocketsAccessControl.js');
api.addFiles('lib/Base64.js');
api.addFiles('lib/Collections.js');
api.addFiles('lib/Methods.js');
api.addFiles('server/https.js', 'server');
api.addFiles('lib/OAuthClients.schema.js', ['client', 'server']);
api.addFiles('lib/UdapCertificates.schema.js', ['client', 'server']);
api.export('OAuthClient');
api.export('OAuthClients');
api.export('OAuthClientSchema');
api.export('UdapCertificate');
api.export('UdapCertificates');
api.export('UdapCertificateSchema');
api.addAssets('data/CodeSystem-operation-outcome.json', 'server');
api.addAssets('data/ValueSet-operation-outcome.json', 'server');
});
Npm.depends({
"axios": "0.21.1",
"superagent": "7.1.1",
"faker": "5.1.0",
"express": "4.13.4",
"body-parser": "1.14.2",
"base64-url": "2.3.3",
"mongo-query": "0.5.7",
"accesscontrol": "2.2.1",
"role-acl": "4.5.4",
"ndjson-parse": "1.0.4",
"moment-timezone": "0.5.34",
// // "world-clock": "1.4.0",
"@meteorjs/ddp-graceful-shutdown": "0.9.2",
// // oauth server using Express
// // https://www.npmjs.com/package/oauth2-server
// "oauth2-server": "3.1.1",
// // https://www.npmjs.com/package/express-oauth-server
"express-oauth-server": "2.0.0",
// // oauth2 client; redundant to fhirclient, but usefull
// // https://www.npmjs.com/package/simple-oauth2
// "simple-oauth2": "4.3.0",
// // openid client
// // https://www.npmjs.com/package/openid
// "openid": "2.0.10",
// // oauth2 middleware for connecting to Asymmetrick FHIR server
// // https://www.npmjs.com/package/passport-oauth2
// // "passport-oauth2": "1.6.1",
// // openid middleware for connecting to Asymmetrick FHIR server
// // https://www.npmjs.com/package/passport-openidconnect
// // "passport-openidconnect": "0.1.1",
// // x509 encoder / decoder
// // "asn1.js": "5.4.1",
"asn1js": "2.2.0",
"pkijs": "2.2.2",
"pvutils": "1.1.2",
// // "openssl-wrapper": "0.3.4",
// // "bluebird": "3.7.2"
// // "ipfs-http-client": "54.0.2",
// // "ipfs-core": "0.12.2",
// // "it-all": "1.0.4",
// // "uint8arrays": "3.0.0",
// // "node-abort-controller": "3.0.1"
});