nport 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +38 -3
  2. package/Dockerfile +0 -15
package/package.json CHANGED
@@ -1,8 +1,28 @@
1
1
  {
2
- "author": "Nick Pham <nickpham@nooplabs.com>, source from socket-tunnel (Eric Barch <ebarch@nooplabs.com>)",
3
2
  "name": "nport",
3
+ "version": "1.0.2",
4
4
  "description": "Tunnel HTTP Connections via socket.io streams.",
5
- "version": "1.0.1",
5
+ "keywords": ["tunnel", "socket.io", "http", "streaming", "networking", "proxy"],
6
+ "homepage": "https://github.com/tuanngocptn/nport#readme",
7
+ "bugs": {
8
+ "url": "https://github.com/tuanngocptn/nport/issues",
9
+ "email": "tuanngocptn@gmail.com"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/tuanngocptn/nport.git"
14
+ },
15
+ "license": "MIT",
16
+ "author": {
17
+ "name": "Nick Pham",
18
+ "email": "tuanngocptn@gmail.com"
19
+ },
20
+ "contributors": [
21
+ {
22
+ "name": "Eric Barch",
23
+ "email": "ebarch@nooplabs.com"
24
+ }
25
+ ],
6
26
  "dependencies": {
7
27
  "is-valid-domain": "0.0.5",
8
28
  "optimist": "^0.6.1",
@@ -15,5 +35,20 @@
15
35
  "bin": {
16
36
  "nport": "./bin/client"
17
37
  },
18
- "license": "MIT"
38
+ "engines": {
39
+ "node": ">=14.0.0",
40
+ "npm": ">=6.0.0"
41
+ },
42
+ "files": [
43
+ "bin/",
44
+ "client.js",
45
+ "server.js",
46
+ "lib/",
47
+ "examples/",
48
+ "nginx.conf.sample"
49
+ ],
50
+ "funding": {
51
+ "type": "individual",
52
+ "url": "https://github.com/sponsors/tuanngocptn"
53
+ }
19
54
  }
package/Dockerfile DELETED
@@ -1,15 +0,0 @@
1
- FROM node:8
2
-
3
- # Create app directory
4
- RUN mkdir -p /usr/src/app
5
- WORKDIR /usr/src/app
6
-
7
- # Install app dependencies
8
- COPY package.json /usr/src/app/
9
- RUN npm install
10
-
11
- # Bundle app source
12
- COPY . /usr/src/app
13
-
14
- EXPOSE 3000
15
- CMD [ "node", "bin/server" ]