Media viewer for content within Artstor Image Workspace
This repository is open sourced by Ithaka as part of our initiative to increase transparency and contribute to the community. This particular repository is a working repository not intended as software available for consumption.
Learn more about our open source initiative
Copyright 2018 Ithaka Harbors, Inc.
Commands use yarn
, which we recommend, but can be replaced with npm
Using this repo:
yarn start
to run a live-reload server with the demo appyarn run test
to test in watch mode, oryarn run test:once
to only run onceyarn run build
to build the libraryyarn run lint
to lintyarn run clean
to cleanyarn run integration
to run the integration e2e testsyarn install ./relative/path/to/lib
afteryarn run build
to test locally in another app
To publish a new version:
yarn release
to increment versiongit commit
to commit the versionyarn build
to build with new versionnpm publish dist
to publish to yarn/npmgit push
to push version to master
Used to test the viewer, and provides multiple asset ids to test different use cases.
- Clone or download the artstor-viewer.
- Install npm packages with
yarn install
. - Run
npm start
to launch the sample application.
src/
├── demo/
| └── app/
| ├── app.component.ts
| └── app.module.ts
└── lib/
├── index.ts
└── src/
├── component/
| └── artstor-viewer.component.ts
├── service/
| └── lib.service.ts
└── module.ts