0.0.5 • Published 8 months 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 login
in 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.json
andindex.js
files as needed. - Run
npm run build
to build the plugin. This will generate abuild.js
file that can be imported by the Fruity chat app.
Happy coding!