diff --git a/CHANGELOG.md b/CHANGELOG.md index e2a6b26..f99d9ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # CHANGELOG +## 1.0.1 - delivery @15/01/2020 + +- main is now index file in lib directory +- add "files" key to package to lighten npm package + ## 1.0.0 - delivery @15/01/2020 - first delivery diff --git a/index.js b/index.js deleted file mode 100644 index 84f4cda..0000000 --- a/index.js +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Consis - * - * A small Node.js library for type casting, http/s requests, object cloning, - * and other object, image, time and uuid helpers. - * - * Author: Adrien Valcke - */ -const consis = require('./lib'); - -module.exports = consis; diff --git a/lib/index.js b/lib/index.js index c632f04..fd14dbb 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,3 +1,11 @@ +/** + * Consis + * + * A small Node.js library for type casting, http/s requests, object cloning, + * and other object, image, time and uuid helpers. + * + * Author: Adrien Valcke + */ const cast = require('./cast'); const encodings = require('./encodings'); const image = require('./image'); diff --git a/package.json b/package.json index dc1fdb4..a069d6b 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "consis", - "version": "1.0.0", + "version": "1.0.1", "author": "Adrien Valcke (https://github.com/adrienv1520)", "description": "A small Node.js library for type casting, http/s requests, object cloning, and other object, image, time and uuid helpers", "bin": {}, - "main": "index.js", + "main": "lib/index.js", "scripts": { "lint": "eslint lib/ index.js", "pretest": "npm run lint", @@ -33,6 +33,10 @@ "http request", "requester" ], + "files": [ + "lib", + "doc" + ], "dependencies": {}, "devDependencies": { "chai": "4.2.0",