From f3f4b8d4b837d1e8ff75bf7a22d89b26d0f8ba6e Mon Sep 17 00:00:00 2001 From: Easton Date: Tue, 19 Jul 2022 06:21:09 -0500 Subject: [PATCH] Get package.json ready for npm publish --- package.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 2da7b77..61376ae 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,11 @@ "name": "express-tor-detection", "version": "1.0.0", "description": "ExpressJS middlewear to manage users connection from a TOR exit node", - "main": "index.js", - "scripts": {}, + "main": "dist/index.js", + "types": "dist/index.d.ts", + "scripts": { + "build": "tsc" + }, "repository": { "type": "git", "url": "git+https://github.com/easton36/express-tor-detection.git" @@ -14,8 +17,8 @@ "exit node", "detection" ], - "author": "Easton", - "license": "ISC", + "author": "Easton (https://easton.gg)", + "license": "MIT License", "bugs": { "url": "https://github.com/easton36/express-tor-detection/issues" },