Skip to content

lanceli/generator-safari-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Safari Extension generator Build Status download

Yeoman generator for Safari Extensions inspired by Chrome Extension generator

Getting Started

  • First make a new directory, and cd into it: mkdir my-new-safari-extension && cd $_
  • Install the generator: npm install -g generator-safari-extension
  • Run: yo safari-extension

Need more information about Safari Extension? Please visit Safari Extensions Development Guide

Debug

$ grunt debug

Build

$ grunt

Options

  • --skip-install

Skips the automatic execution of bower and npm after scaffolding has finished.

  • --test-framework=[framework]

Defaults to mocha. Can be switched for another supported testing framework like jasmine.

  • --coffee

Add support for CoffeeScript.

  • --compass

Add support for Compass.

WARN, Compiled files that generated by coffee or compass will be remained if your extension is running on with grunt debug. You should remove or ignore that files if you don't want to commit to repo.

License

MIT