diff --git a/package.json b/package.json index 1950cec..670dbac 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "js-http-status", - "version": "0.1.1", + "version": "0.1.2", "description": "[![License][license-badge]][license-url]", - "main": "lib/index.js", + "main": "src/index.js", "scripts": { "commit": "git-cz", "clean": "rimraf dist", @@ -20,7 +20,13 @@ "type": "git", "url": "git+https://github.com/codevor/js-http-status.git" }, - "keywords": [], + "keywords": [ + "javascript", + "es6", + "library", + "http-status", + "js-http-status" + ], "author": "Helder Burato Berto (https://helder.dev/)", "license": "MIT", "bugs": { diff --git a/webpack.config.js b/webpack.config.js index 49fc8a3..46c9d1c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -12,9 +12,10 @@ module.exports = { output: { path: path.resolve(__dirname, 'dist'), filename: isProduction ? 'http-status.min.js' : 'http-status.js', - library: 'HttpStatus', + library: 'js-http-status', libraryTarget: 'umd', - umdNamedDefine: true + umdNamedDefine: true, + globalObject: 'this' }, module: { rules: [