@icmaa/data-pump
v1.2.15
Published
## Installation
Downloads
50
Readme
@icmaa/data-pump
Installation
yarn global add @icmaa/data-pump
// or
npm i -g @icmaa/data-pump
Usage
Use the cli's help fo detailed description like:
$ icmaa-data-pump --help
Use it with Google Cloud Storage (GCP)
To use it with Google Cloud Storage outside of a cloud-function or the GCP universe, you'll need to add a Google Service Account JSON file in a environment variable. You can export a global one using export GOOGLE_APPLICATION_CREDENTIALS=credentials.json
or prepend your command with GOOGLE_APPLICATION_CREDENTIALS=credentials.json
.
Publish package
npm login
npm version [patch | minor | major]
npm run build
npm publish --access public
Troubleshooting
TypeScript compiler and Cannot find module '@src/...'
error
We are using tsc-alias
to get hang of correct paths in the declaration files during module compilation, to get intellisense working for this module. Otherwise the type-definitions won't work if you use it as a module include.
More details here: https://medium.com/@phongtlam/stop-using-relative-paths-use-import-aliases-for-a-typescript-web-application-45ea8984fd8