generator-smartthings

1.5.0 • Public • Published

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.

Dependencies (7)

Dev Dependencies (18)

Package Sidebar

Install

npm i generator-smartthings

Weekly Downloads

121

Version

1.5.0

License

Apache-2.0

Unpacked Size

159 kB

Total Files

53

Last publish

Collaborators

  • smartthingspi