mirror of https://github.com/status-im/web3.js.git
add package-init.js
This commit is contained in:
parent
a69c04d319
commit
c03a949c9a
|
@ -1,4 +1,4 @@
|
|||
3stack:bignumber@2.0.0
|
||||
ethereum:js@0.0.15-rc1
|
||||
ethereum:js@0.0.15-rc4
|
||||
meteor@1.1.4
|
||||
underscore@1.0.2
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
if(typeof web3 === 'undefined') {
|
||||
web3 = require('web3');
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
Package.describe({
|
||||
name: 'ethereum:js',
|
||||
version: '0.0.15-rc1',
|
||||
version: '0.0.15-rc4',
|
||||
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.
|
||||
|
@ -13,7 +13,11 @@ Package.onUse(function(api) {
|
|||
|
||||
api.use('3stack:bignumber@2.0.0', 'client');
|
||||
|
||||
api.export('BigNumber', 'client');
|
||||
api.export('web3', 'client');
|
||||
|
||||
api.addFiles('dist/ethereum.js', 'client');
|
||||
api.addFiles('package-init.js', 'client');
|
||||
});
|
||||
|
||||
// Package.onTest(function(api) {
|
||||
|
|
Loading…
Reference in New Issue