Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rukus

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rukus

rukus provides some helpers and patterns for using riot.js

  • 1.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source
                                     _              
                                    | |                     ,--.!,  
                          _ __ _   _| | ___   _ ___      __/   -*-      
                         | '__| | | | |/ / | | / __|   ,d08b.  '|`     
                         | |  | |_| |   <| |_| \__ \   0088MM     
                         |_|   \__,_|_|\_\\__,_|___/   `9MMP'    
                                        by iflix.com

Rukus is a project skeleton, webpack loader and helpers for building riot.js web applications in the iflix style.

Riot Tag files are replaced with components defined in directories with an index.html template, an index.js (which exports a component handler), and a test.js file which validates the component.

Rukus is an opinionated pattern for building apps with riot.js

getting started

$ npm install -g rukus
$ rukus newproject <yourproject>
$ cd <yourproject>
$ npm start

And point your browser to http://localhost:8080

Running tests

Rukus tests use mocha and feryt by default, tests can be run by typing:

$ npm test

Components

The rukus webpack loader searches directories (./components by default) for rukus components and manually registers them as riot tags. A rukus component is a directory with an index.html, index.js and test.js file:

yourcomponent/
    index.html
    index.js
    test.js

To create a new component, cd into the components directory and run:

$ rukus newcomponent <yourcomponent>

Keywords

FAQs

Package last updated on 28 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc