How to use
First make sure you have Yeoman running, if not get it by running this command in your terminal:
npm install -g yo
To install generator-spider from npm, run:
npm install -g generator-spider
Finally, initiate the generator:
yo spider
Dependencies
In order for the whole thing to work, the project root has to contain spidersock.json file, which should look like this:
Few things to note:
- marker value defaults to what's shown above, so it's technically optional.
- your controller SCSS should follow this or similar structure:
/* COMPONENTS: ATOMS */;/* --spiders:atoms-- */ /* COMPONENTS: MOLECULES */;/* --spiders:molecules-- */ /* COMPONENTS: ORGANISMS */;/* --spiders:organisms-- */
License
MIT