File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " js-http-status" ,
3
- "version" : " 0.1.1 " ,
3
+ "version" : " 0.1.2 " ,
4
4
"description" : " [![License][license-badge]][license-url]" ,
5
- "main" : " lib /index.js" ,
5
+ "main" : " src /index.js" ,
6
6
"scripts" : {
7
7
"commit" : " git-cz" ,
8
8
"clean" : " rimraf dist" ,
20
20
"type" : " git" ,
21
21
"url" : " git+https://github.com/codevor/js-http-status.git"
22
22
},
23
- "keywords" : [],
23
+ "keywords" : [
24
+ " javascript" ,
25
+ " es6" ,
26
+ " library" ,
27
+ " http-status" ,
28
+ " js-http-status"
29
+ ],
24
30
"author" : " Helder Burato Berto <helder.burato@gmail.com> (https://helder.dev/)" ,
25
31
"license" : " MIT" ,
26
32
"bugs" : {
Original file line number Diff line number Diff line change @@ -12,9 +12,10 @@ module.exports = {
12
12
output : {
13
13
path : path . resolve ( __dirname , 'dist' ) ,
14
14
filename : isProduction ? 'http-status.min.js' : 'http-status.js' ,
15
- library : 'HttpStatus ' ,
15
+ library : 'js-http-status ' ,
16
16
libraryTarget : 'umd' ,
17
- umdNamedDefine : true
17
+ umdNamedDefine : true ,
18
+ globalObject : 'this'
18
19
} ,
19
20
module : {
20
21
rules : [
You can’t perform that action at this time.
0 commit comments