0.0.5 • Published 2 years ago
fruity-ai v0.0.5
@fruity/plugin
This is a tool to create and build plugins for the Fruity chat app.
Deployment
To deploy this package to npm, follow these steps:
- Make sure you have an npm account and are logged in on your local machine. If not, create an account on npmjs.com and then run
npm loginin your terminal. - Navigate to the package directory and run
npm publish. This will publish the package to the npm registry.
Usage
To use this tool to create a new plugin for the Fruity chat app, follow these steps:
- Run
npx fruity-ai create <plugin-name>. This will create a new directory with the name<plugin-name>and generate the necessary files for the plugin. - Navigate to the new plugin directory and customize the
config.jsonandindex.jsfiles as needed. - Run
npm run buildto build the plugin. This will generate abuild.jsfile that can be imported by the Fruity chat app.
Happy coding!