1.1.5 • Published 3 years ago

front-end-dev-tools v1.1.5

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
3 years ago

Front End Developer Tools

Usage

npm install front-end-dev-tools --save-dev npm install front-end-dev-tools -g --save-dev

fedt prepush-check
fedt update-mock

prepush-check looks up the ticket in Jira and checks that a fix version has at least one value.

update-mock will update mocks based on the configuration file. (explained below)

Git hooks via husky

Update the .huskyrc config by adding or updating prepare-commit-msg and pre-push as follows:

{
  "prepare-commit-msg": "fedt precommit-check",
  "pre-push": "fedt prepush-check"
}

Configuration

interface MockMetaData {
  swaggerUrl: string;
  path: string;
  data: any;
  filePath: string;
  custom:(info:MockMetaData) => void;
}

{
  "get": MockMetaData[],
  "post": MockMetaData[],
  "put": MockMetaData[],
  "del": MockMetaData[]
}

Links

npm package

ELDash

1.2.0

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago