create-snips-action
v1.0.6
Published
Generator for writing Snips action code in Javascript.
Downloads
16
Readme
create-snips-action
Generator for writing Snips action code in Javascript/Typescript.
Prerequisites
node.js
must be installed with a version greater or equal than 8.
Installing the snips platform on the same machine is also recommended in order to have a fast development cycle.
Usage
# Run this in your favourite terminal.
npm init snips-action
Related packages and documentation
The bootstraped action have the following dependencies. Please refer to their respective repositories for the full documentation.
Used for building, testing, launching the action and contains a bunch of helpers.
Used to communicate with the platform.
Features
📦Uses the javascript-toolkit package under the hood.
- 🐚 Action code template (folder structure & files) fully commented
- ⚚ Platform interactions going through hermes-javascript
- 💬 Internationalization (i18n) using i18next
- 📞 Api calls using wretch and wretch-middlewares
- ✍️ Logger with debug
- ✔️ Flows testing using jest and mqtt.
- ✅ Linter with eslint