@availity/workflow
Upgradable workflow for Availity boilerplate projects
Last updated 8 days ago by availity-bot-cicd .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @availity/workflow 
SYNC missed versions from official npm registry.

CLI

Table of Contents

NPM

NPM requires -- between the command and options

npm run <command> -- <options>

Commands

help

Show help menu for all CLI options.

init <projectName>

Positionals

projectName Required. The name of the project you want to create.

Options

  • --version, -v: Specify which version of the plugin project you want. [default: "latest"]
  • --current-dir, -c: If you want the project to be created in the current directory
  • --template, -t: The template you want to initialize the projec with

Examples

  • npx @availity/workflow init my-package-name
  • npx @availity/workflow init my-package-name --template https://github.com/Availity/availity-starter-angular
  • npx @availity/workflow init my-package-name --version 4.0.0-alpha.4

start

Start the development server and watches for file changes. Hot-reloading is enabled for React projects. Angular projects hot reload CSS only.

options

--dry-run

Start the development server using production settings. Example:

npm start -- --dry-run

lint

Lint project files using EsLint.

options

--include

Include additional glob patterns for linting.

--ignore-git-untracked

Ignore files that are not indexed by git.

--disable-linter

Disable linter when creating bundles for production or staging.

build

  • Cleans up /dist folder
  • Bundles project assets into the /dist folder

release

  • Prompts the user for a version
  • Cleans up /dist folder
  • Bundles project assets into the /dist folder
  • Tags the version in Git

--no-optimize

-Bundles javascript assets without minifying

npm run production --no-optimize

NODE_ENV

production

Minifies the javascript assets.

staging

No minification is done on javascript assets

options

--dry-run
  • Disables committing files to git
  • Disables creating a git tag

Skipped tasks will print a message in the console

ℹ [ Dry Run ] Skipping version bump

profile

Analyze Webpack bundles and find what is contributing their sizes. This command generates an html graphical chart that automatically opens in the browser as well as a text summary report in the console.

› Webpack profile:

react-dom: 533.24 KB (39.1%)
availity-uikit: 242.86 KB (17.8%)
reactstrap: 152.56 KB (11.2%)
react: 130.38 KB (9.56%)
react-select: 89.44 KB (6.56%)
tether: 55.04 KB (4.03%)
buffer: 47.47 KB (3.48%)
lodash.omit: 36.87 KB (2.70%)
fbjs: 30.45 KB (2.23%)
style-loader: 11.25 KB (0.824%)
process: 5.17 KB (0.379%)
react-input-autosize: 4.54 KB (0.333%)
react-hot-loader: 3.95 KB (0.289%)
lodash.tonumber: 3.91 KB (0.286%)
base64-js: 3.4 KB (0.249%)
css-loader: 2.14 KB (0.157%)
<self>: 11.71 KB (0.859%)

test

Run the tests for your project. The behavior of the test are determined by the plugin used in the workflow engine. The engine supports @availity/workflow-plugin-react (Jest) and @availity/workflow-plugin-angular (Karma and Chrome|Firefox|IE) plugins.

options

--coverage

Indicates that test coverage information should be collected and reported in the output. React project leverage the --coverage option from Jest. Angular projects use Instanbul to collect coverage metrics. Angular projects output coverage statistics to the console as well as html files in the {workspaces}/coverage folder.

› Started testing
Chrome 59.0.3071 (Mac OS X 10.12.5): Executed 3 of 3 SUCCESS (0.706 secs / 0.082 secs)

=============================== Coverage summary ===============================
Statements   : 27.69% ( 8620/31134 )
Branches     : 9.81% ( 1980/20189 )
Functions    : 22.15% ( 1381/6235 )
Lines        : 27.23% ( 7955/29217 )
================================================================================
✔ Finished testing

about

Awesomeness.

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

MIT

Current Tags

  • 8.0.1-alpha.15                                ...           canary (11 days ago)
  • 8.1.0                                ...           latest (8 days ago)
  • 5.2.6-alpha.1                                ...           next (2 years ago)

145 Versions

  • 8.1.0                                ...           8 days ago
  • 8.0.1-alpha.15                                ...           11 days ago
  • 8.0.1-alpha.14                                ...           11 days ago
  • 8.0.1-alpha.13                                ...           11 days ago
  • 8.0.1-alpha.11                                ...           11 days ago
  • 8.0.1-alpha.9                                ...           11 days ago
  • 8.0.1-alpha.8                                ...           11 days ago
  • 8.0.1-alpha.5                                ...           11 days ago
  • 8.0.0                                ...           a month ago
  • 7.5.26                                ...           2 months ago
  • 7.5.25                                ...           2 months ago
  • 7.5.24                                ...           2 months ago
  • 7.5.23                                ...           2 months ago
  • 7.5.22                                ...           2 months ago
  • 7.5.21                                ...           3 months ago
  • 7.5.20                                ...           3 months ago
  • 7.5.19                                ...           3 months ago
  • 7.5.19-alpha.2                                ...           3 months ago
  • 7.5.18                                ...           3 months ago
  • 7.5.17                                ...           3 months ago
  • 7.5.16                                ...           3 months ago
  • 7.5.15                                ...           5 months ago
  • 7.5.14                                ...           7 months ago
  • 7.5.13                                ...           7 months ago
  • 7.5.12                                ...           7 months ago
  • 7.5.11                                ...           7 months ago
  • 7.5.10                                ...           7 months ago
  • 7.5.9                                ...           8 months ago
  • 7.5.8                                ...           9 months ago
  • 7.5.7                                ...           9 months ago
  • 7.5.6                                ...           9 months ago
  • 7.5.5                                ...           9 months ago
  • 7.5.3                                ...           10 months ago
  • 7.5.2                                ...           a year ago
  • 7.5.1                                ...           a year ago
  • 7.5.0                                ...           a year ago
  • 7.4.0                                ...           a year ago
  • 7.3.2-alpha.0                                ...           a year ago
  • 7.3.1                                ...           a year ago
  • 7.3.0                                ...           a year ago
  • 7.2.3                                ...           a year ago
  • 7.2.2                                ...           a year ago
  • 7.2.1                                ...           a year ago
  • 7.2.0                                ...           a year ago
  • 7.1.1-zeta.11                                ...           a year ago
  • 7.1.1-epsilon.10                                ...           a year ago
  • 7.1.1-delta.9                                ...           a year ago
  • 7.1.1-gamma.7                                ...           a year ago
  • 7.1.1-beta.7                                ...           a year ago
  • 7.1.1-alpha.7                                ...           a year ago
  • 7.1.1-alpha.6                                ...           a year ago
  • 7.1.1-next.5                                ...           a year ago
  • 7.1.2                                ...           a year ago
  • 7.1.1-alpha.5                                ...           a year ago
  • 7.1.1-alpha.4                                ...           a year ago
  • 7.1.1                                ...           a year ago
  • 7.1.1-alpha.0                                ...           a year ago
  • 7.1.0                                ...           a year ago
  • 7.0.6-alpha.0                                ...           a year ago
  • 7.0.5                                ...           a year ago
  • 7.0.4                                ...           a year ago
  • 7.0.3                                ...           a year ago
  • 7.0.2                                ...           a year ago
  • 7.0.1                                ...           a year ago
  • 7.0.0                                ...           a year ago
  • 7.0.0-alpha.30                                ...           a year ago
  • 7.0.0-alpha.29                                ...           a year ago
  • 6.0.4                                ...           a year ago
  • 6.0.3                                ...           a year ago
  • 6.0.1                                ...           a year ago
  • 6.0.1-alpha.1                                ...           a year ago
  • 5.3.10                                ...           a year ago
  • 6.0.0                                ...           a year ago
  • 5.4.0                                ...           a year ago
  • 5.3.10-alpha.52                                ...           a year ago
  • 5.3.9                                ...           a year ago
  • 5.3.8                                ...           a year ago
  • 5.3.7                                ...           a year ago
  • 5.3.5                                ...           a year ago
  • 5.3.5-alpha.11                                ...           a year ago
  • 5.3.5-alpha.10                                ...           a year ago
  • 5.3.5-alpha.8                                ...           a year ago
  • 5.3.5-alpha.7                                ...           a year ago
  • 5.3.5-alpha.6                                ...           a year ago
  • 5.3.5-alpha.5                                ...           a year ago
  • 5.3.5-alpha.4                                ...           a year ago
  • 5.3.5-alpha.3                                ...           a year ago
  • 5.3.5-alpha.2                                ...           a year ago
  • 5.3.5-alpha.1                                ...           a year ago
  • 5.3.4                                ...           a year ago
  • 5.3.4-alpha.2                                ...           a year ago
  • 6.0.0-alpha.3                                ...           a year ago
  • 6.0.0-alpha.2                                ...           a year ago
  • 5.3.3                                ...           a year ago
  • 5.3.1                                ...           2 years ago
  • 5.3.0                                ...           2 years ago
  • 5.2.8                                ...           2 years ago
  • 5.2.7                                ...           2 years ago
  • 5.2.6-alpha.1                                ...           2 years ago
  • 5.2.5                                ...           2 years ago
  • 5.2.4                                ...           2 years ago
  • 5.2.3                                ...           2 years ago
  • 5.2.1                                ...           2 years ago
  • 5.2.0                                ...           2 years ago
  • 5.1.0                                ...           2 years ago
  • 5.0.2                                ...           2 years ago
  • 5.0.2-alpha.5                                ...           2 years ago
  • 5.0.2-alpha.4                                ...           2 years ago
  • 5.0.2-alpha.3                                ...           2 years ago
  • 5.0.2-alpha.2                                ...           2 years ago
  • 5.0.2-alpha.1                                ...           2 years ago
  • 5.0.1                                ...           2 years ago
  • 5.0.0                                ...           2 years ago
  • 5.0.0-alpha.8                                ...           2 years ago
  • 5.0.0-alpha.7                                ...           2 years ago
  • 5.0.0-alpha.6                                ...           2 years ago
  • 5.0.0-alpha.5                                ...           2 years ago
  • 5.0.0-alpha.4                                ...           2 years ago
  • 5.0.0-alpha.3                                ...           2 years ago
  • 5.0.0-alpha.2                                ...           2 years ago
  • 5.0.0-alpha.1                                ...           2 years ago
  • 5.0.0-alpha.0                                ...           2 years ago
  • 4.0.4                                ...           2 years ago
  • 4.0.3                                ...           2 years ago
  • 4.0.2                                ...           2 years ago
  • 4.0.1                                ...           2 years ago
  • 4.0.0-alpha.18                                ...           2 years ago
  • 4.0.0-alpha.17                                ...           2 years ago
  • 4.0.0-alpha.16                                ...           2 years ago
  • 4.0.0-alpha.15                                ...           2 years ago
  • 4.0.0-alpha.14                                ...           3 years ago
  • 4.0.0-alpha.13                                ...           3 years ago
  • 4.0.0-alpha.12                                ...           3 years ago
  • 4.0.0-alpha.11                                ...           3 years ago
  • 4.0.0-alpha.10                                ...           3 years ago
  • 4.0.0-alpha.9                                ...           3 years ago
  • 4.0.0-alpha.8                                ...           3 years ago
  • 4.0.0-alpha.7                                ...           3 years ago
  • 4.0.0-alpha.6                                ...           3 years ago
  • 4.0.0-alpha.5                                ...           3 years ago
  • 4.0.0-alpha.4                                ...           3 years ago
  • 4.0.0-alpha.3                                ...           3 years ago
  • 4.0.0-alpha.2                                ...           3 years ago
  • 4.0.0-alpha.1                                ...           3 years ago
  • 4.0.0-alpha.0                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 157
Last Month 373
Dependencies (83)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |