From 690c73e5578470538ae604e1fe90ad11de438ad9 Mon Sep 17 00:00:00 2001 From: Clement Michaud Date: Mon, 4 Sep 2017 21:42:59 +0200 Subject: [PATCH] Fix installing authelia with npm install -g --- package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 60d720981..ca0cf40f2 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,8 @@ "name": "authelia", "version": "3.2.0", "description": "2FA Single Sign-On server for nginx using LDAP, TOTP and U2F", - "main": "dist/src/server/index.js", "bin": { - "authelia": "dist/src/server/index.js" + "authelia": "./dist/src/server/index.js" }, "scripts": { "test": "./node_modules/.bin/grunt unit-tests", @@ -104,6 +103,10 @@ "u2f-api": "0.0.9", "uglify-es": "^3.0.15" }, + "files": [ + "dist", + "LICENSE" + ], "nyc": { "include": [ "src/*.ts",