Skip to content

IndifferentDisdain/availity-workflow

 
 

Repository files navigation

availity-workflow

Upgradable workflow for Availity Toolkit projects

License NPM

Table of Contents

Intro

The Availity Workflow provides Gulp, Karma and Webpack tasks needed to build and maintain a availity-toolkit projects.

Installation

  • Install using NPM
npm install availity-workflow --save-dev
  • Integrate with Gulp
var gulp = require('gulp');

var workflow = require('availity-workflow');

workflow.use({
  gulp: gulp
});

gulp.task('default', ['av:default']);
gulp.task('lint', ['av:lint']);
gulp.task('test', ['av:test']);

Gulp

By default all Gulp tasks are prefixed by av: to prevent name clashes with your own Gulp tasks.

Default
gulp av:default

Runs the default task, which runs these tasks:

  • cleans the destination directory ./build or ./dist
  • av:copy
  • av:concat
  • av:server
  • av:watch
Clean
gulp av:clean

Clears the build/dist environment

Build
gulp av:build

Builds your latest code for development|staging|production.

By default development builds are created. To build assets for staging or production:

  • NODE_ENV=staging gulp av:release
  • NODE_ENV=production gulp av:release
Copy
gulp av:copy

Copies templates into the build/dist folder. Setting NODE_ENV environment variable determines the output path.

Lint
gulp av:lint

Checks for stylistic and programming errors using ESLint

Server
av:server
  • av:server:web is a hapi server that proxies requests to the Ekko server
  • av:server:rest starts the Availity Ekko server, which is a json mock server that simulates REST APIs.
  • av:open opens the system default browser and loads the web application

Authors

Kasey Powers

Robert McGuinness

Disclaimer

Open source software components distributed or made available in the Availity Materials are licensed to Company under the terms of the applicable open source license agreements, which may be found in text files included in the Availity Materials.

License

Copyright (c) 2016 Availity, LLC. Code released under the the MIT license

About

Upgradable workflow for Availity Toolkit projects

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%