From ea62327b008b39dc48a51aa80343b20a0a122cd6 Mon Sep 17 00:00:00 2001 From: Alexander Borisov Date: Wed, 3 Oct 2018 17:50:03 +0300 Subject: Added Node.js support. --- src/nodejs/unit-http/package.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/nodejs/unit-http/package.json (limited to 'src/nodejs/unit-http/package.json') diff --git a/src/nodejs/unit-http/package.json b/src/nodejs/unit-http/package.json new file mode 100644 index 00000000..bc481bc9 --- /dev/null +++ b/src/nodejs/unit-http/package.json @@ -0,0 +1,29 @@ +{ + "name": "unit-http", + "version": "1.0.0", + "description": "HTTP module for NGINX Unit", + "main": "http.js", + "files": [ + "addon.cpp", + "binding.gyp", + "http_server.js", + "http.js", + "package.json", + "socket.js", + "unit.cpp", + "unit.h", + "README.md" + ], + "scripts": { + "clean": "node-gyp clean", + "configure": "node-gyp configure", + "build": "node-gyp build", + "install": "node-gyp configure build" + }, + "author": "Alexander Borisov", + "license": "Apache 2.0", + "gypfile": true, + "dependencies": { + "node-addon-api": "1.2.0" + } +} -- cgit From 780181412623c0dc9232fc7f56055b6e3312a319 Mon Sep 17 00:00:00 2001 From: Alexander Borisov Date: Tue, 23 Oct 2018 13:06:44 +0300 Subject: Added ability to publish Node.js module. --- src/nodejs/unit-http/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nodejs/unit-http/package.json') diff --git a/src/nodejs/unit-http/package.json b/src/nodejs/unit-http/package.json index bc481bc9..3a15d573 100644 --- a/src/nodejs/unit-http/package.json +++ b/src/nodejs/unit-http/package.json @@ -21,7 +21,7 @@ "install": "node-gyp configure build" }, "author": "Alexander Borisov", - "license": "Apache 2.0", + "license": "Apache-2.0", "gypfile": true, "dependencies": { "node-addon-api": "1.2.0" -- cgit