From 5bff05963c44987c13d7d1172e27703c1a117e69 Mon Sep 17 00:00:00 2001 From: Andrea Colaci Date: Mon, 9 May 2016 16:19:10 +0100 Subject: [PATCH 1/5] package json --- package.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 00000000..e45eb111 --- /dev/null +++ b/package.json @@ -0,0 +1,24 @@ +{ + "name": "rapidjson", + "version": "1.0.2", + "description": "![](doc/logo/rapidjson.png)", + "main": "index.js", + "directories": { + "doc": "doc", + "example": "example", + "test": "test" + }, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/milkandsour/rapidjson.git" + }, + "author": "", + "license": "ISC", + "bugs": { + "url": "https://github.com/milkandsour/rapidjson/issues" + }, + "homepage": "https://github.com/milkandsour/rapidjson#readme" +} From cf8f08f9d01ad50324e3faa6ca707fb9c1fe6a10 Mon Sep 17 00:00:00 2001 From: Andrea Colaci Date: Mon, 9 May 2016 16:29:15 +0100 Subject: [PATCH 2/5] include dirs --- include_dirs.js | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 include_dirs.js diff --git a/include_dirs.js b/include_dirs.js new file mode 100644 index 00000000..801d8320 --- /dev/null +++ b/include_dirs.js @@ -0,0 +1,2 @@ +console.log(require('path').relative('.', __dirname)); + From af327524edf916c4c33cabfe2a584bc807df9282 Mon Sep 17 00:00:00 2001 From: Andrea Colaci Date: Mon, 9 May 2016 16:31:37 +0100 Subject: [PATCH 3/5] package update --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e45eb111..cf1685b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rapidjson", - "version": "1.0.2", + "version": "1.0.3", "description": "![](doc/logo/rapidjson.png)", "main": "index.js", "directories": { @@ -20,5 +20,6 @@ "bugs": { "url": "https://github.com/milkandsour/rapidjson/issues" }, - "homepage": "https://github.com/milkandsour/rapidjson#readme" + "homepage": "https://github.com/milkandsour/rapidjson#readme", + "main": "include_dirs.js" } From 0febc29f1a7fc67fdcd4ba9d4d2601eca618d251 Mon Sep 17 00:00:00 2001 From: Andrea Colaci Date: Mon, 9 May 2016 16:33:35 +0100 Subject: [PATCH 4/5] refs --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index cf1685b7..9e5e4f23 100644 --- a/package.json +++ b/package.json @@ -13,13 +13,13 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/milkandsour/rapidjson.git" + "url": "git+https://github.com/miloyip/rapidjson.git" }, "author": "", "license": "ISC", "bugs": { - "url": "https://github.com/milkandsour/rapidjson/issues" + "url": "https://github.com/miloyip/rapidjson/issues" }, - "homepage": "https://github.com/milkandsour/rapidjson#readme", + "homepage": "https://github.com/miloyip/rapidjson#readme", "main": "include_dirs.js" } From f8df63778310a7ba52a2f4c0e70d512808a02911 Mon Sep 17 00:00:00 2001 From: Andrea Colaci Date: Mon, 9 May 2016 16:45:18 +0100 Subject: [PATCH 5/5] include folder added --- include_dirs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include_dirs.js b/include_dirs.js index 801d8320..b373e85f 100644 --- a/include_dirs.js +++ b/include_dirs.js @@ -1,2 +1,2 @@ -console.log(require('path').relative('.', __dirname)); - +var path = require('path'); +console.log(path.join(path.relative('.', __dirname), 'include'));