Skip to content

jamiely/citethis

Repository files navigation

Installation

  • Install the addon
  • Open the CiteThis! Sidebar from View > Sidebar > CiteThis!
    • On Windows, you might have to press the ALT key to see the View menu.
    • On Windows, you may need to click the Show Sidebars icon at the top right. The Show Sidebars button looks like a square with a vertical dividing line, with text on the left side.

Source

https://github.com/jamiely/citethis

Developing

This project uses Yarn.

Install on macOS using Homebrew.

brew install yarn

Create a new Firefox profile for development by opening Firefox and navigating to about:profiles. Create a new profile called extension-developer.

Then, start webpack in watch mode, and open a Firefox browser using the profile we created above, which will also watch changes, using:

# Do this on your first usage and when dependencies change.
yarn install

# Do this whenever you develop
yarn run develop:watch

It is useful to run tests while you are doing development (TDD-style). To do this, use:

yarn run test:watch

Testing

You can run tests a single time using:

yarn run test

or watch file changes using:

yarn run test:watch

Support

Open an issue at:

https://github.com/jamiely/citethis

Site

https://github.com/jamiely/citethis

Date Formatters

Uses DateJS format specified https://github.com/datejs/Datejs/wiki/Format-Specifiers

Packaging

yarn dist