generator-zumata-chatbot
Yet another generator to scaffold your chatbot application.
!NPMnodei-badgenodei-url
!Versionversion-badgeversion-url !Downloadsdownloads-badgedownloads-url !MIT Licensemit-license-badgemit-license-url !Code of Conductcoc-badgecoc-url
!Build Statustravis-badgetravis-url !Dependency Statusdaviddm-badgedaviddm-url !NSP Statusnsp-badgensp-url !codecovcodecov-badgecodecov-url !Coverage percentagecoveralls-badgecoveralls-url
!Codacy Badgecodacy-badgecodacy-url !codebeat badgecodebeat-badgecodebeat-url
Zumata-specific yeoman generator for scaffolding a chatbot application using Facebook Messengerfacebook-messenger-url and Dialogflowdialogflow-url.
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:carbonnode-releases-url) for all our Node.js applications.)npm >= 5.5.1
(The minimum NPM version for node:carbonnode-releases-url.)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 editoreslint-url
Installation
NPM
First, installgenerator-zumata-chatbot
using npmnpm-url (we assume you have pre-installed node.jsnodejs-url).# 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
npxnpx-url comes in a package as of nodenodejs-url8.9.0
. This means that you can run any CLI written in Node.jsnodejs-url 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 Yeomanyeoman-url.