generator-smartthings
v1.5.0
Published
Generates a SmartThings app
Downloads
16
Readme
generator-smartthings
Generates a SmartThings SmartApp application
Getting started
The No-Install Way 👌
If you have NPM install (5.2.0
+), just run the following command from a root repository directory:
npx yo smartthings
or,
npm init yo smartthings
Take note of the name, missing the
generator-
prefix. This is intentional.
Or, with Yeoman globally installed
First, install Yeoman and generator-smartthings using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-smartthings
Then generate your new project:
yo smartthings
Developing
Debugging guide
- From the source directory:
npm link
- From anywhere:
node --inspect `which yo` smartthings
- For additional debug logging from Yeoman itself:
DEBUG=yeoman:generator node --inspect `which yo` smartthings
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.
More about SmartThings
If you are not familiar with SmartThings, we have extensive on-line documentation.
To create and manage your services and devices on SmartThings, create an account in the Developer Workspace.
The SmartThings Community is a good place share and ask questions.
There is also a SmartThings reddit community where you can read and share information.
License and Copyright
Licensed under the Apache License, Version 2.0
Copyright 2019 SmartThings, Inc.