diff --git a/.npmignore b/.npmignore new file mode 100644 index 000000000..76121b3cc --- /dev/null +++ b/.npmignore @@ -0,0 +1,6 @@ +example/js +node_modules +test +.gitignore +.travis.yml +component.json \ No newline at end of file diff --git a/dist/ethereum.js b/dist/ethereum.js index 2cab7bdd7..31d00c57e 100644 --- a/dist/ethereum.js +++ b/dist/ethereum.js @@ -131,20 +131,20 @@ module.exports = HttpRpcProvider; },{"xmlhttprequest":1}],3:[function(require,module,exports){ /* -This file is part of ethereum.js. + This file is part of ethereum.js. -ethereum.js is free software: you can redistribute it and/or modify -it under the terms of the GNU Lesser General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. + ethereum.js is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. -ethereum.js is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Lesser General Public License for more details. + ethereum.js is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. -You should have received a copy of the GNU Lesser General Public License -along with ethereum.js. If not, see . + You should have received a copy of the GNU Lesser General Public License + along with ethereum.js. If not, see . */ /** @file main.js * @authors: diff --git a/lib/main.js b/lib/main.js index 580f1ea7c..08eb722e2 100644 --- a/lib/main.js +++ b/lib/main.js @@ -1,18 +1,18 @@ /* -This file is part of ethereum.js. + This file is part of ethereum.js. -ethereum.js is free software: you can redistribute it and/or modify -it under the terms of the GNU Lesser General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. + ethereum.js is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. -ethereum.js is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Lesser General Public License for more details. + ethereum.js is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. -You should have received a copy of the GNU Lesser General Public License -along with ethereum.js. If not, see . + You should have received a copy of the GNU Lesser General Public License + along with ethereum.js. If not, see . */ /** @file main.js * @authors: diff --git a/package.json b/package.json index fb0645ac9..2b7772b51 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "description": "Ethereum Compatible JavaScript API", "main": "./index.js", "directories": { - "lib": "./lib" + "lib": "lib", + "example": "example" }, "dependencies": { "es6-promise": "*", @@ -26,23 +27,25 @@ "scripts": { "build": "gulp", "watch": "gulp watch", - "lint": "jshint lib" + "lint": "gulp lint" }, "browser": { "xmlhttprequest": "./lib/browser_fix/xhr.js" }, "repository": { "type": "git", - "url": "https://github.com/ethereum/ethereum.js.git" + "url": "https://github.com/cubedro/ethereum.js.git" }, + "homepage": "https://github.com/cubedro/ethereum.js", "bugs": { - "url": "https://github.com/ethereum/ethereum.js/issues" + "url": "https://github.com/cubedro/ethereum.js/issues" }, "keywords": [ "ethereum", "javascript", "API" ], + "author": "ethdev.com", "authors": [ { "name": "Jeffery Wilcke", @@ -60,5 +63,5 @@ "url": "https://github.com/cubedro" } ], - "license": "LGPL" + "license": "LGPL-3.0" }