Closed szyablitsky closed 8 years ago
Will do. Thanks
I would also like to get this from npm. If not uploading to npm (or at least for the meantime), it would be great if you could just add a package.json (as npm can get directly from github). Currently when I try:
npm install kamranahmedse/jquery-toast-plugin --save
I get thrown an error that is related to the absence of package.json.
Really like the plugin...
Totally forgot about the issue. Expect it today.
Just released it, try: npm install jquery-toast-plugin
@kamranahmedse I just tried it. I am getting a webpack build error now that is related to the "main" entry in package.json. Any way you can change the following in package.json:
"main": "jquery.toast.js"
to read either:
"main": "dist/jquery.toast.min.js"
or
"main": "src/jquery.toast.js"
basically, to point to an existing file (something in webpack, not sure if it is webpack itself or one of the loaders, scans all the node_modules and indexes their main files and it is erroring out because jquery.toast.js does not exist in the root of jquery-toast-plugin).
Hey @istrau3 thank your for reporting that. Could you please try again? I just fixed that.
@kamranahmedse Looks to be working well now. Thanks a lot.
Thank you )