summaryrefslogtreecommitdiffhomepage
path: root/src/nodejs/unit-http/package.json
diff options
context:
space:
mode:
authorAlexander Borisov <alexander.borisov@nginx.com>2018-10-03 17:50:03 +0300
committerAlexander Borisov <alexander.borisov@nginx.com>2018-10-03 17:50:03 +0300
commitea62327b008b39dc48a51aa80343b20a0a122cd6 (patch)
treea81a4c6e61ae35d3415f5991a55a1ecdd4dde0bb /src/nodejs/unit-http/package.json
parent141ee2aa326d54eeecc2ef96f61e2d2d8068b6b1 (diff)
downloadunit-ea62327b008b39dc48a51aa80343b20a0a122cd6.tar.gz
unit-ea62327b008b39dc48a51aa80343b20a0a122cd6.tar.bz2
Added Node.js support.
Diffstat (limited to 'src/nodejs/unit-http/package.json')
-rw-r--r--src/nodejs/unit-http/package.json29
1 files changed, 29 insertions, 0 deletions
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"
+ }
+}