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