FredrikOseberg / react-chatbot-kit

MIT License
330 stars 159 forks source link

Missing `"files"` in package.json #148

Closed jdthorpe closed 12 months ago

jdthorpe commented 1 year ago

If you use yarn to install this package from github by adding like so:

//package.json
{
   ...
   "dependencies":{
        "react-chatbot-kit": "git+https://github.com/FredrikOseberg/react-chatbot-kit.git"
    }
}

and then installing with yarn, the build/main.css file is excluded from the install. (This isn't an issue when installing with npm, but technically yarn is behaving to the spec and not npm). The solution is to add a "files" attribute to the package.json of this package.

{
  "name": "react-chatbot-kit",
  "files": [
    "build/*.css"
  ],
}