Content Lake - Extractors Shared
npm install @adobe/content-lake-extractors-sharedShared libraries for extractors
``bash`
$ npm install @adobe/content-lake-extractors-shared
See the API documentation.
This library provides mocks. Mocks can be imported and used as follows:
`
import { mocks } from '@adobe/content-lake-extractors-shared';
[...]
const mockSettingsStore = new mocks.MockSettingsStore();
`
`bash`
$ npm install
`bash`
$ npm test
The integration tests require the following environment variables which can be set via a .env file:
``
AWS_REGION=
AWS_ACCESS_KEY_ID=
AWS_ACCESS_SECRET_KEY=
QUEUE_URL=
QUEUE_STORAGE_BUCKET=
`bash`
$ npm run test:integration
`bash`
$ npm run lint
Optionally you can use Make to run all the local build commands:
`bash``
$ make
Make is available on most *nix environments can be installed on Mac via homebrew