Skip to content

Commit c5abb46

Browse files
authored
Merge pull request #26 from codevor/develop
Develop
2 parents b58e074 + 2eef3d5 commit c5abb46

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "js-http-status",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "[![License][license-badge]][license-url]",
5-
"main": "lib/index.js",
5+
"main": "src/index.js",
66
"scripts": {
77
"commit": "git-cz",
88
"clean": "rimraf dist",
@@ -20,7 +20,13 @@
2020
"type": "git",
2121
"url": "git+https://github.com/codevor/js-http-status.git"
2222
},
23-
"keywords": [],
23+
"keywords": [
24+
"javascript",
25+
"es6",
26+
"library",
27+
"http-status",
28+
"js-http-status"
29+
],
2430
"author": "Helder Burato Berto <helder.burato@gmail.com> (https://helder.dev/)",
2531
"license": "MIT",
2632
"bugs": {

webpack.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ module.exports = {
1212
output: {
1313
path: path.resolve(__dirname, 'dist'),
1414
filename: isProduction ? 'http-status.min.js' : 'http-status.js',
15-
library: 'HttpStatus',
15+
library: 'js-http-status',
1616
libraryTarget: 'umd',
17-
umdNamedDefine: true
17+
umdNamedDefine: true,
18+
globalObject: 'this'
1819
},
1920
module: {
2021
rules: [

0 commit comments

Comments
 (0)