Selaa lähdekoodia

bugfix package.json contains invalid main/app entry file

Andi Dittrich 8 vuotta sitten
vanhempi
commit
4c6f528d37
2 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. 3 0
      CHANGES.md
  2. 2 2
      package.json

+ 3 - 0
CHANGES.md

@@ -1,3 +1,6 @@
+## 0.5.2 ##
+* Bugfix: package.json contains invalid main/app entry file
+
 ## 0.5.1 ##
 * Bugfix: `lib/` directory was not included in the npm package
 

+ 2 - 2
package.json

@@ -1,6 +1,6 @@
 {
   "name": "http-error-pages",
-  "version": "0.5.1",
+  "version": "0.5.2",
   "description": "Simple HTTP Error Pages for expressjs",
   "keywords": [
     "http",
@@ -21,7 +21,7 @@
     "README.md"
   ],
   "bin": {},
-  "main": "./lib/router.js",
+  "main": "./lib/error-handler.js",
   "author": "Andi Dittrich (https://andidittrich.de)",
   "homepage": "https://github.com/AndiDittrich/HttpErrorPages",
   "bugs": "https://github.com/AndiDittrich/HttpErrorPages/issues",