web3.js/package.js

34 lines
885 B
JavaScript
Raw Normal View History

/* jshint ignore:start */
2015-02-27 08:54:39 +00:00
Package.describe({
2015-04-13 10:21:56 +00:00
name: 'ethereum:web3',
2017-07-17 11:35:23 +00:00
version: '0.20.1',
2015-02-27 08:54:39 +00:00
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'
});
2015-07-30 13:44:10 +00:00
Npm.depends({
"xmlhttprequest": "1.7.0"
});
2015-02-27 08:54:39 +00:00
Package.onUse(function(api) {
api.versionsFrom('1.0.3.2');
2015-03-16 09:48:19 +00:00
// api.use('3stack:bignumber@2.0.0', 'client');
2015-02-27 08:54:39 +00:00
2015-10-19 16:45:03 +00:00
api.export(['Web3', 'BigNumber'], ['client', 'server']);
2015-02-27 09:29:55 +00:00
api.addFiles('dist/web3.js', ['client', 'server']);
api.addFiles('package-init.js', ['client', 'server']);
2015-02-27 08:54:39 +00:00
});
// Package.onTest(function(api) {
// api.use('tinytest');
// api.use('test');
// api.addFiles('test-tests.js');
// });
2015-03-10 16:33:56 +00:00
/* jshint ignore:end */