generator-price-finder-site

1.3.0 • Public • Published

generator-price-finder-site

NPM Version NPM Downloads Build Status

Generates a Site for the price-finder module. Please see the documentation on price-finder for more information: https://github.com/dylants/price-finder

Specifically the section on adding sites: https://github.com/dylants/price-finder#adding-sites

Installation

Assuming Node is installed, run the following command to install Yeoman and the generator:

$ npm install -g yo
$ npm install -g generator-price-finder-site

Generate Site

From the root of the price-finder project directory, execute the following command:

$ yo price-finder-site

Answer the questions, and once complete the generator will create the following files:

  • lib/sites/<site-name>.js
  • test/unit/sites/<site-name>-test.js
  • test/e2e/<site-name>-uris-test.js

The attempt here is to generate not only the files, but most of the content necessary to use the site within price-finder. But know that your job is not complete! Please look through the files created and add selectors, update any incorrect information, and add test data. Running the unit and end to end tests should answer any questions on if the code is working correctly.

Etc

Package Sidebar

Install

npm i generator-price-finder-site

Weekly Downloads

1

Version

1.3.0

License

MIT

Last publish

Collaborators

  • dylants