-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Folders | ||
|
||
* /js contains the uncompressed javascript for the content-script | ||
* /less contains the sources for the content-styles | ||
* /plugin contains the plugin which gets bundled and installed in firefox | ||
|
||
# Development | ||
|
||
Requirements: | ||
* browserify | ||
* nodejs / npm | ||
* jpm | ||
|
||
## Build the contentscript | ||
|
||
``` | ||
$ cd /js | ||
$ npm install | ||
$ browserify index.js -t babelify -t [hbsfy -t] -o ../plugin/data/contentscript.js | ||
``` | ||
|
||
## Build the contentstyle | ||
|
||
``` | ||
$ cd /less | ||
$ npm install | ||
$ grunt less | ||
``` | ||
|
||
## Bundle the plugin | ||
|
||
``` | ||
cd /plugin | ||
jpm xpi | ||
``` |