@ybroeker/aware-webserver-api@1.0.0-SNAPSHOT.201910281251
Usage
//return bearer token
};
let configuration = new Configuration({
basePath: /*BASE_PATH*/,
apiKey: getAuthToken,
});
const assemblyDrawingApi = AssemblyDrawingApi(configuration);
Building
To build an 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 @ybroeker/aware-webserver-api@1.0.0-SNAPSHOT.201910281251 --save
unPublished (not recommended):
npm install PATH_TO_GENERATED_PACKAGE --save