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

Kevin van Zonneveld 86e587149a Don't make exceptions for API navigation %!s(int64=9) %!d(string=hai) anos
bin 1f8cf50da8 Updated build system %!s(int64=9) %!d(string=hai) anos
examples 40d50b58ec Modified build system. Added dist build script %!s(int64=9) %!d(string=hai) anos
src 21b9228e46 Removed console logs %!s(int64=9) %!d(string=hai) anos
test d07360a207 Rename to uppy %!s(int64=9) %!d(string=hai) anos
website 86e587149a Don't make exceptions for API navigation %!s(int64=9) %!d(string=hai) anos
.babelrc a57389fdc8 Styles and babel config for the future %!s(int64=9) %!d(string=hai) anos
.editorconfig d257f8ff52 Add tests and eslint %!s(int64=9) %!d(string=hai) anos
.eslintrc a57389fdc8 Styles and babel config for the future %!s(int64=9) %!d(string=hai) anos
.gitignore afa382bdc9 removed build/ from gitignore %!s(int64=9) %!d(string=hai) anos
.travis.yml cdab835310 Automatically deploy website onto gh-pages (if master and not PR). Fixes #34 %!s(int64=9) %!d(string=hai) anos
.zuul.yml d257f8ff52 Add tests and eslint %!s(int64=9) %!d(string=hai) anos
ARCHITECTURE.md d07360a207 Rename to uppy %!s(int64=9) %!d(string=hai) anos
CONTRIBUTING.md 8a5ead84ee Markdown fixes %!s(int64=9) %!d(string=hai) anos
LICENSE 320c8a16ef Getting a sandbox going with the worst possible layout %!s(int64=9) %!d(string=hai) anos
Makefile e1a36bcf67 Automatically update the website with ./dist information %!s(int64=9) %!d(string=hai) anos
README.md 4958cffb44 Design goals %!s(int64=9) %!d(string=hai) anos
bs-config.js 2c8930c706 Playground fixes %!s(int64=9) %!d(string=hai) anos
classes.es6 49c7c7e085 Files can be objects. Container can be initialized at runtime %!s(int64=9) %!d(string=hai) anos
core.js 5014604589 added root core/plugins indexes %!s(int64=9) %!d(string=hai) anos
package.json 3b0ba67991 fix dev:examples %!s(int64=9) %!d(string=hai) anos
plugins.js 5014604589 added root core/plugins indexes %!s(int64=9) %!d(string=hai) anos

README.md

uppy

A work in progress - nothing to see here.

Check open issues for our Minimum Viable Product.

Uppy Development

First clone and install the project:

git clone git@github.com:transloadit/uppy.git
cd uppy
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.

Website Development

We keep the uppyjs.io website in ./website for so it's easy to keep docs & code in sync as we're still iterating at high velocity. For those reading this and screaming murder, HashiCorp does this for all their projects, and it working well for them on a scale vastly more impressive than ours.

The site is built with Hexo, and Travis automatically deploys this onto GitHub Pages (it overwrites the gh-pages branch at every deploy).

Content is written in Markdown and located in ./website/src. Pull requests welcome!

The website is currently a clone of Yuxi Evan You's Vue.js website (view license) - just so we can hit the ground rolling in terms of setting up Haxo etc. Obviously as soon as possible, we should start rolling out our own layout & content.

./website/update.js is called during website builds to inject the Uppy versions & filesizes into the documentation. website in an independent folder and so it cannot rely on anything from the root project, without update.js explicitly making it available (copying).

It's recommended to exclude ./website/public/ from your editor if you want efficient searches.

For local previews on http://127.0.0.1:4000 type:

make website-preview

FAQ

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/uppy/master/index.html), so we can all play with the current state of the project & examples per branch, without installing everything locally.