Generator to scaffold an atom and corresponding scss in Pattern Lab
$ npm install -g slush-atom
Create a new atom for your Pattern Lab:
$ slush atom
You will be prompted for several things including the name of your atom. Your answers will dictate how items get scaffolded into Pattern Lab.
Command to see which generators are installed:
Uninstall Slush Molecule:
$ sudo npm uninstall slush-atom -g
You can configure filepaths and templates used by adding a
slush-atom-config.json file in the same place that you run the
slush atom command from.
The default configuration is included in this project. Your local configuration will override and merge with that file. See below for an explaination of each value:
Slush is a tool that uses Gulp for project scaffolding.
Slush does not contain anything "out of the box", except the ability to locate installed slush generators and to run them with liftoff.
To find out more about Slush, check out the documentation.
See the CONTRIBUTING Guidelines
If you have any problem or suggestion please open an issue here.
Copyright (c) 2016, Carlos Picart