0.1.0 • Published 8 years ago

generator-appfolio-js v0.1.0

Weekly downloads
6
License
MIT
Repository
github
Last release
8 years ago

Appfolio JS app Yeoman generator

Dependency Tracker Dependency Tracker

This template can be used directly for the creation of new JavaScript apps in APM.

Includes

This generator is written in ES2015. This means it is not compatible with node.js versions before 4.0.


Installation

npm install -g yo
npm install -g generator-appfolio-js

Setting up projects

Create a new directory, and cd into it:

mkdir my-app
cd my-app

Run the generator

yo appfolio-js

and follow the prompts

Using

The sample code under /src is a basic vanilla JS example to ensure bundling works correctly. No UI or other frameworks have been included and need to be added by you.

Uses appfolio-js-template as the file and config template.


Setup

npm install

Develop

npm run

Open http://localhost:8080 in browser

Test

npm test
  • Runs unit tests using Mocha
  • Runs headless browser tests using Mocha and Nightmare
  • Shows code coverage using nyc/Istanbul. A coverage report will also be written in the ./coverage/ directory.

Lint

npm run lint

Contributors

  • Gary Thomas
  • Michael Jewell
  • Li Zhang
  • Aaron Panchal