Browse Source

added index.js endpoint

develop
ray-1337 3 years ago
parent
commit
c29672741d
  1. 1
      index.js
  2. 17
      package.json

1
index.js

@ -0,0 +1 @@
module.exports = require("./src/Main.js");

17
package.json

@ -4,6 +4,13 @@
"description": "Manipulate UFW (Linux distribution only, works best on Ubuntu) via Node.", "description": "Manipulate UFW (Linux distribution only, works best on Ubuntu) via Node.",
"license": "MIT", "license": "MIT",
"typings": "./index.d.ts", "typings": "./index.d.ts",
"main": "./index.js",
"exports": {
".": [
{ "require": "./index.js" },
"./index.js"
]
},
"funding": [ "funding": [
{ {
"type": "individual", "type": "individual",
@ -15,12 +22,12 @@
} }
], ],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/ray-1337/node-ufw.git" "url": "https://github.com/ray-1337/node-ufw.git"
}, },
"bugs": { "bugs": {
"url": "https://github.com/ray-1337/node-ufw/issues" "url": "https://github.com/ray-1337/node-ufw/issues"
}, },
"scripts": { "scripts": {
"test": "ava test.js" "test": "ava test.js"
}, },

Loading…
Cancel
Save