1.0.0 • Published 7 months ago

flex_offers_api v1.0.0

Weekly downloads
-
License
Unlicense
Repository
-
Last release
7 months ago

flex_offers_api@1.0.0

This generator creates Flow typed JavaScript client that utilizes Fetch API. The generated Node module can be used in the following environments:

Environment

  • Node.js
  • Webpack
  • Browserify

Language level

  • ES6

Module system

  • ES6 module system

Building

To build and compile the flow typed sources to javascript use:

npm install
# The dependency `babel-preset-react-app` requires that you specify `NODE_ENV` or `BABEL_ENV` environment variables
env BABEL_ENV={YOUR_ENV} npm run build

Publishing

First build the package then run npm publish

Consuming

navigate to the folder of your consuming project and run one of the following commands.

published:

npm install flex_offers_api@1.0.0 --save

unPublished (not recommended):

npm install PATH_TO_GENERATED_PACKAGE --save