Create a fully fledged Snips action in a single command.
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.
# Run this in your favourite terminal.
npm init snips-action
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.
📦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