generator-zumata-chatbot

Generator for chatbot development using Facebook Messenger and Dialogflow

Usage no npm install needed!

<script type="module">
  import generatorZumataChatbot from 'https://cdn.skypack.dev/generator-zumata-chatbot';
</script>

README

generator-zumata-chatbot

Yet another generator to scaffold your chatbot application.


NPM

Version Downloads MIT License Code of Conduct

Build Status Dependency Status NSP Status codecov Coverage percentage

Codacy Badge codebeat badge

Zumata-specific yeoman generator for scaffolding a chatbot application using Facebook Messenger and Dialogflow.

Setup

Pre-requisites

Please make sure that you have the followings installed on your machine:

  • node >= 8.9.0 (In Zumata, we internally use the latest LTS version (node:carbon) for all our Node.js applications.)
  • npm >= 5.5.1 (The minimum NPM version for node:carbon.)
  • eslint >= 4.0.0 (No guarantee it will work below the version specified here)
  • eslint-plugin-import >= 2.0.1 (No guarantee it will work below the version specified here)
  • ESLint extension for your favorite text editor

Installation

NPM

First, install generator-zumata-chatbot using npm (we assume you have pre-installed node.js).

# Install with NPM
$ npm install -g yo generator-zumata-chatbot

Then generate your new project:

# Create a new directory if you haven't already.
# Then change to that new directory.
$ mkdir my-chatbot-app && cd my-chatbot-app

# Init with yo
$ yo zumata-chatbot

NPX

npx comes in a package as of node 8.9.0. This means that you can run any CLI written in Node.js without globally installing it.

# Create a new directory if you haven't already.
# Then change to that new directory.
$ mkdir my-chatbot-app && cd my-chatbot-app

# Install packages with NPX and execute the CLI with this one-liner
$ npx -p yo -p generator-zumata-chatbot -- yo zumata-chatbot

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

MIT License © The Zumata Team