From 4be4db5e6cfdde4ba5c1243b2bafeb6bbae3643c Mon Sep 17 00:00:00 2001 From: Marian Oancea Date: Wed, 5 Nov 2014 19:46:01 +0200 Subject: Converted to node module Converted to npm package Added brower Added browserify with minification Updated Readme --- package.json | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 package.json (limited to 'package.json') diff --git a/package.json b/package.json new file mode 100644 index 000000000..fb0645ac9 --- /dev/null +++ b/package.json @@ -0,0 +1,64 @@ +{ + "name": "ethereum.js", + "namespace": "ethereum", + "version": "0.0.1", + "description": "Ethereum Compatible JavaScript API", + "main": "./index.js", + "directories": { + "lib": "./lib" + }, + "dependencies": { + "es6-promise": "*", + "ws": "^0.4.32", + "xmlhttprequest": "^1.6.0" + }, + "devDependencies": { + "bower": "^1.3.12", + "browserify": "6.x", + "del": "^0.1.3", + "gulp": "3.8.x", + "gulp-browserify-thin": "^0.1.5", + "gulp-jshint": "^1.9.0", + "gulp-rename": "^1.2.0", + "gulp-uglify": "^1.0.1", + "jshint": "2.5.x" + }, + "scripts": { + "build": "gulp", + "watch": "gulp watch", + "lint": "jshint lib" + }, + "browser": { + "xmlhttprequest": "./lib/browser_fix/xhr.js" + }, + "repository": { + "type": "git", + "url": "https://github.com/ethereum/ethereum.js.git" + }, + "bugs": { + "url": "https://github.com/ethereum/ethereum.js/issues" + }, + "keywords": [ + "ethereum", + "javascript", + "API" + ], + "authors": [ + { + "name": "Jeffery Wilcke", + "email": "jeff@ethdev.com", + "url": "https://github.com/obscuren" + }, + { + "name": "Marek Kotewicz", + "email": "marek@ethdev.com", + "url": "https://github.com/debris" + }, + { + "name": "Marian Oancea", + "email": "marian.oancea@gmail.com", + "url": "https://github.com/cubedro" + } + ], + "license": "LGPL" +} -- cgit v1.2.3 From 45d0d72138bafab1e6d8bd8a5ea5c9d3218b98e0 Mon Sep 17 00:00:00 2001 From: Marian Oancea Date: Wed, 5 Nov 2014 20:12:21 +0200 Subject: Updated package.json --- package.json | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'package.json') 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" } -- cgit v1.2.3 From 44ab30f628a3305d8c20c78b3dadbf2f15112fbc Mon Sep 17 00:00:00 2001 From: Marian Oancea Date: Wed, 5 Nov 2014 23:07:13 +0200 Subject: more json fixes --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 2b7772b51..bcf02f187 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ }, "homepage": "https://github.com/cubedro/ethereum.js", "bugs": { - "url": "https://github.com/cubedro/ethereum.js/issues" + "url": "https://github.com/ethereum/ethereum.js/issues" }, "keywords": [ "ethereum", -- cgit v1.2.3 From 6dc7be6cd171c6285f99eb15691141e9db7761f8 Mon Sep 17 00:00:00 2001 From: Marian Oancea Date: Thu, 6 Nov 2014 00:24:10 +0200 Subject: Update dependencies & travis.yml --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index bcf02f187..aa21e7ddb 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ }, "dependencies": { "es6-promise": "*", - "ws": "^0.4.32", - "xmlhttprequest": "^1.6.0" + "ws": "*", + "xmlhttprequest": "*" }, "devDependencies": { "bower": "^1.3.12", -- cgit v1.2.3 From 2f33a8c657f84a19db2c644625ccc668f21aa947 Mon Sep 17 00:00:00 2001 From: Marian Oancea Date: Thu, 6 Nov 2014 00:37:07 +0200 Subject: Update dependencies to pass travis build --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index aa21e7ddb..8212f16a3 100644 --- a/package.json +++ b/package.json @@ -14,9 +14,9 @@ "xmlhttprequest": "*" }, "devDependencies": { - "bower": "^1.3.12", + "bower": ">=1.3.0", "browserify": "6.x", - "del": "^0.1.3", + "del": ">=0.1.1", "gulp": "3.8.x", "gulp-browserify-thin": "^0.1.5", "gulp-jshint": "^1.9.0", -- cgit v1.2.3 From 5871d1e359e5051a2297f965574ad164ed794536 Mon Sep 17 00:00:00 2001 From: Marian Oancea Date: Thu, 6 Nov 2014 00:44:40 +0200 Subject: Updated all dependency versions --- package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 8212f16a3..dfd32f9f7 100644 --- a/package.json +++ b/package.json @@ -15,14 +15,14 @@ }, "devDependencies": { "bower": ">=1.3.0", - "browserify": "6.x", + "browserify": ">=6.0", "del": ">=0.1.1", - "gulp": "3.8.x", - "gulp-browserify-thin": "^0.1.5", - "gulp-jshint": "^1.9.0", - "gulp-rename": "^1.2.0", - "gulp-uglify": "^1.0.1", - "jshint": "2.5.x" + "gulp": ">=3.8.0", + "gulp-browserify-thin": ">=0.1.0", + "gulp-jshint": ">=1.5.0", + "gulp-rename": ">=1.2.0", + "gulp-uglify": ">=1.0.0", + "jshint": ">=2.5.0" }, "scripts": { "build": "gulp", -- cgit v1.2.3 From 4402a7d817dc2dfee6d469e90bf19eae63c7ddf4 Mon Sep 17 00:00:00 2001 From: Marian Oancea Date: Thu, 6 Nov 2014 00:49:50 +0200 Subject: gulp >= 3.4.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index dfd32f9f7..07fd971c9 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "bower": ">=1.3.0", "browserify": ">=6.0", "del": ">=0.1.1", - "gulp": ">=3.8.0", + "gulp": ">=3.4.0", "gulp-browserify-thin": ">=0.1.0", "gulp-jshint": ">=1.5.0", "gulp-rename": ">=1.2.0", -- cgit v1.2.3 From 3270b432bcb007944e3b6e17329b062cb6b7da78 Mon Sep 17 00:00:00 2001 From: Marian Oancea Date: Thu, 6 Nov 2014 22:51:37 +0200 Subject: Refactoring Removed browser fixes Updated gulp to bypass native browser objects Added source map for dist --- package.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 07fd971c9..0b9db9f20 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,11 @@ { "name": "ethereum.js", "namespace": "ethereum", - "version": "0.0.1", + "version": "0.0.2", "description": "Ethereum Compatible JavaScript API", "main": "./index.js", "directories": { - "lib": "lib", - "example": "example" + "lib": "./lib" }, "dependencies": { "es6-promise": "*", @@ -17,21 +16,22 @@ "bower": ">=1.3.0", "browserify": ">=6.0", "del": ">=0.1.1", + "envify": "^3.0.0", + "exorcist": "^0.1.6", "gulp": ">=3.4.0", - "gulp-browserify-thin": ">=0.1.0", "gulp-jshint": ">=1.5.0", "gulp-rename": ">=1.2.0", "gulp-uglify": ">=1.0.0", - "jshint": ">=2.5.0" + "jshint": ">=2.5.0", + "uglifyify": "^2.6.0", + "unreachable-branch-transform": "^0.1.0", + "vinyl-source-stream": "^1.0.0" }, "scripts": { "build": "gulp", "watch": "gulp watch", "lint": "gulp lint" }, - "browser": { - "xmlhttprequest": "./lib/browser_fix/xhr.js" - }, "repository": { "type": "git", "url": "https://github.com/cubedro/ethereum.js.git" -- cgit v1.2.3 From 6fc5d8e81e8f01ec0a9654268ac0593f74841c30 Mon Sep 17 00:00:00 2001 From: Marian Oancea Date: Mon, 10 Nov 2014 14:31:51 +0200 Subject: Prepare for PR changed repo urls from package.json, bower.json and readme --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 0b9db9f20..a36762e59 100644 --- a/package.json +++ b/package.json @@ -34,9 +34,9 @@ }, "repository": { "type": "git", - "url": "https://github.com/cubedro/ethereum.js.git" + "url": "https://github.com/ethereum/ethereum.js.git" }, - "homepage": "https://github.com/cubedro/ethereum.js", + "homepage": "https://github.com/ethereum/ethereum.js", "bugs": { "url": "https://github.com/ethereum/ethereum.js/issues" }, @@ -59,7 +59,7 @@ }, { "name": "Marian Oancea", - "email": "marian.oancea@gmail.com", + "email": "marian@ethdev.com", "url": "https://github.com/cubedro" } ], -- cgit v1.2.3 From 720365859cfc56a6b59f6824f61138ed7ea8a782 Mon Sep 17 00:00:00 2001 From: Marian Oancea Date: Mon, 10 Nov 2014 15:26:10 +0200 Subject: Changed npm & bower version Changed version for next npm publish --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index a36762e59..38465e7bd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ethereum.js", "namespace": "ethereum", - "version": "0.0.2", + "version": "0.0.3", "description": "Ethereum Compatible JavaScript API", "main": "./index.js", "directories": { -- cgit v1.2.3