Using create-react-app to create a library

后端 未结 4 1561
野性不改
野性不改 2021-02-20 04:40

I\'m trying to create a library of React-Redux and I\'m trying to use create-react-app to get the boilerplate code but it include in the build script things like appHtml which a

4条回答
  •  [愿得一人]
    2021-02-20 05:10

    Edit the following in the package.json

    1. name
    2. description
    3. scripts
    4. author
    5. license
    6. gitRepository

    and do npm publish. It'll publish your library in npm

提交回复
热议问题