现代化的上传组件。 https://uppy.io/

Kevin van Zonneveld 08b2270a44 Add a bit about the Travis unclarity vor 9 Jahren
bin 6ee50f3f00 Install the artifacts into the example projects after every build vor 9 Jahren
build d87f73a6bc added examples folder vor 9 Jahren
examples 783a7fa26a Testing this vor 9 Jahren
src 667c01007e Lib restructured vor 9 Jahren
test 689ecc18a3 changed test name vor 9 Jahren
.babelrc a57389fdc8 Styles and babel config for the future vor 9 Jahren
.editorconfig d257f8ff52 Add tests and eslint vor 9 Jahren
.eslintrc a57389fdc8 Styles and babel config for the future vor 9 Jahren
.gitignore 6ee50f3f00 Install the artifacts into the example projects after every build vor 9 Jahren
.travis.yml 6ee50f3f00 Install the artifacts into the example projects after every build vor 9 Jahren
.zuul.yml d257f8ff52 Add tests and eslint vor 9 Jahren
ARCHITECTURE.md dad0da1611 Minor architecture changes vor 9 Jahren
CONTRIBUTING.md eb8a772540 Added to example vor 9 Jahren
LICENSE 320c8a16ef Getting a sandbox going with the worst possible layout vor 9 Jahren
README.md 08b2270a44 Add a bit about the Travis unclarity vor 9 Jahren
bs-config.js df1648aad3 Refactored npm scripts. vor 9 Jahren
classes.es6 49c7c7e085 Files can be objects. Container can be initialized at runtime vor 9 Jahren
package.json 711dc27961 Fix && syntax /cc @hedgerh vor 9 Jahren

README.md

transloadit-js-client

A work in progress - nothing to see here.

Design Goals

  • Support for IE10+??
  • Lightweight / easy on dependencies
  • tus.io enabled
  • ES6
  • Robust (retries / resumes for all the things), avoid showing 'weird errors'
  • Themable UI with a beautiful default
  • Compatible with React
  • Small core, modular plugin architecture for everything: (modal / dragdrop / themes/ webcam / google drive / dropbox / etc)
  • Offering sugared shortcuts for novice users

Check open issues for our Minimum Viable Product.

Local Development

First clone and install the project:

git clone git@github.com:transloadit/transloadit-js-client.git
cd transloadit-js-client
npm install

Now to get a sandbox environment set up, type:

npm run preview

This will npm run build the project into ./build, and then serve that directory using a simple static http server.

What does Travis do?

Travis should:

  • check out code
  • build project
  • run unit tests
  • run acceptance tests
  • copy/install the built project into any examples/*/
  • deploy the examples to our hackathon S3 bucket in a folder named by branch (http://hackathon.transloadit.com/transloadit-js-client/master/index.html), so we can all play with the current state of the project & examples per branch, without installing everything locally.