Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 872 Bytes

CONTRIBUTE.md

File metadata and controls

43 lines (28 loc) · 872 Bytes

MTW - Contributing

This package uses jspm to manage modules for javascript.

To have a development copy of the code, clone the repository. Run the following commands in your cloned directory.

npm install -g jspm gulp gulp-cli jsdoc karma-cli
npm install
jspm install

If above commands throw an exception, then

LINUX/UNIX : Run the commands as 'super user'/'root'

WINDOWS : Run cmd prompt as Administrator

Install the extension in Chrome as an unpacked extension. Install the folder which has manifest.json

To start the chrome application, run

gulp watch

To generate docs, run

jsdoc -c config.json

To build deployment copy

gulp build

This will generate a dist folder containing deployment code.

Content Script: mtw.js

Event Page (background script): eventPage.js