Package Exports
- generator-safari-extension
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (generator-safari-extension) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Safari Extension generator

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.