juttle / juttle-viz

Juttle Visualization Library
Apache License 2.0
11 stars 4 forks source link

Add npm prepublish support #2

Closed mattnibs closed 8 years ago

mattnibs commented 8 years ago

With our current setup we were running into a couple issues when importing juttle-viz into other libraries. 1) We couldn't import and browserify the library because we weren't babelify the source and 2) We weren't generating a javascript blob that I can throw into my browser.

What I did here:

Moving forward: Kind of weird that babel has two different libraries: gulp-babel and gulp-babelify. Ideally we create the artifact and lib using the same babel lib. In a future pr we might want to use webpack while might give us the flexibility that we need.

mattnibs commented 8 years ago

@rlgomes @demmer (if @go-oleg is still around)

go-oleg commented 8 years ago

@mnibecker, thanks...definitely need to have build artifacts that can be included in the browser or required.

Some thoughts/questions:

mattnibs commented 8 years ago

Thanks for your feedback @go-oleg.

mattnibs commented 8 years ago

@go-oleg I got rid of the whole ext business.

go-oleg commented 8 years ago

snds good!