forked from web3/web3.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
33 lines (26 loc) · 885 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
/* jshint ignore:start */
Package.describe({
name: 'ethereum:web3',
version: '0.20.4',
summary: 'Ethereum JavaScript API, middleware to talk to a ethreum node over RPC',
git: 'https://github.com/ethereum/ethereum.js',
// 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({
"xmlhttprequest": "1.7.0"
});
Package.onUse(function(api) {
api.versionsFrom('1.0.3.2');
// api.use('3stack:bignumber@2.0.0', 'client');
api.export(['Web3', 'BigNumber'], ['client', 'server']);
api.addFiles('dist/web3.js', ['client', 'server']);
api.addFiles('package-init.js', ['client', 'server']);
});
// Package.onTest(function(api) {
// api.use('tinytest');
// api.use('test');
// api.addFiles('test-tests.js');
// });
/* jshint ignore:end */