mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-26 11:44:53 +00:00
* lerna link convert * ci: use npm ci * update lockfile * companion: set `bin` to source file Since typescript doesn't actually transform anything, we can just use this. In a next major version we could set `noEmit: true` in the tsconfig and stop publishing `lib`. * companion: do chmod +x on start-server.js * build: remove obsolete lerna config * build: explicitly install latest versions when building e2e tests for ci * Remove versions from private packages * fix regex * try fix * ci: force npm to install to endtoend folder * ci: fold up e2e build output * Update netlify deploy preview command * Remove mentions of npm run bootstrap * Edit .github/CONTRIBUTING.md instead * companion: add proxy executable * companion: fix publish * Downgrade jest to appease create-react-app |
||
|---|---|---|
| .. | ||
| src | ||
| types | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
@uppy/provider-views
View library for Uppy remote provider plugins.
Uppy is being developed by the folks at Transloadit, a versatile file encoding service.
Example
const Plugin = require('@uppy/core/lib/plugin')
const ProviderViews = require('@uppy/provider-views')
class GoogleDrive extends Plugin {
constructor () { /* snip */ }
install () {
this.view = new ProviderViews(this)
// snip
}
render (state) {
return this.view.render(state)
}
}
Installation
Unless you are creating a custom provider plugin, you do not need to install this.
$ npm install @uppy/provider-views --save