Skip to content
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.

OneJSToolkit/generator-onejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OneJS generator

The Yeoman generator for OneJS will do all the heavy lifting so you can stay focused on building amazing tools!

Usage

  1. Install generator-onejs npm install -g generator-onejs
  2. Make a new directory, and cd into it mkdir my-onejs-project && cd $_
  3. Run the generator and follow the prompts to create a new "app" yo onejs
  4. Run the initial build gulp
  5. Spin up a server/browser with watch/livereload support, which will auto build your stuff and refresh your page: gulp watch

yo onejs

You can use yo onejs to follow prompts to scaffold anything that we have a generator for. Alternately, power users may want to skip the prompts in order to scaffold with just command line arguments.

App

Use this as a starting point for a brand new app. Scaffolds an app root, a controller with example data, and test framework.

yo onejs --app --name=MyAppName

Control

Generates a the control source with the name passed in and a test stub.

yo onejs --control --name=FavoritesPane

Test Framework

Sets up a Karma test runner with Mocha and Chai library and a PhantomJS browser to run tests in. Already included in the app scaffolding, so only run this if you didn't use the app generator to create your project.

yo onejs --testFramework

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published