An open API service indexing awesome lists of open source software.

https://github.com/ivanheral/taskr-build

Builder plugin for Taskr.
https://github.com/ivanheral/taskr-build

angular build-tool builder-plugin bundler hyperapp inferno javascript preact taskr typescript vue

Last synced: 3 months ago
JSON representation

Builder plugin for Taskr.

Awesome Lists containing this project

README

        

# taskr-build

> Builder plugin for [Taskr](https://github.com/lukeed/taskr).


NPM Version


NPM Downloads

## About
Plugin to build web apps with popular frameworks using javascript/typescript.
In short, Browserify + Babel 7 in 202X :sweat_smile:

## Reason
I was tired of using plugins and loaders depending on the javascript framework that I had to use in each project. Using Babel 7 and some transformations is enough. Less time to set up new projects (10-30 lines).

It has been fun to develop this.

## Prerequisites

## Install
Install with yarn.


yarn add taskr taskr-build @taskr/{esnext,watch} --dev

## Usage

List of frameworks supported with the key to use:
- [React](https://github.com/facebook/react) ("react")
- [Vue 2.x](https://github.com/vuejs/vue) ("vue")
- [Preact](https://github.com/developit/preact) ("preact")
- [Inferno](https://github.com/infernojs/inferno) ("inferno")
- [Hyperapp](https://github.com/hyperapp/hyperapp) ("hyperapp")
- [Angular 1 / Angular JS](https://github.com/angular/angular.js) ("angularjs")
- [Angular 2,4,7,8...](https://github.com/angular/angular) (not (AOT) compiler) ("angular")

## Examples

- [To-Do List Marvel with Preact X](https://github.com/ivanheral/To-Do-List-Marvel)
- [Vue Giphy Element UI](https://github.com/ivanheral/vue_giphy_taskr)
- [Angular 8 with Drag&drop](https://github.com/ivanheral/angular8_taskr)
- [Inferno/Typescript and Server Side Rendering](https://github.com/ivanheral/inferno_ts_ssr)
- [React/Typescript/Hooks with tests](https://github.com/ivanheral/react_ts_hooks)
- [Vue Giphy Element UI with TypeScript](https://github.com/ivanheral/vue_giphy_taskr_ts)

## Code Splitting

## Not build

## Thanks

[Taskr](https://github.com/lukeed/taskr): [Luke Edwards](https://lukeed.com) and [Jorge Bucaran](https://github.com/JorgeBucaran)

[Servør](https://github.com/lukejacksonn/servor): [Luke Jackson](https://github.com/lukejacksonn)

## Benchmark

Time to build a project with react and redux:

| Tool | Dev Build 1º | Dev Build 2º | Dev Build 3º |
| :--- | :---: | :---: | :---: |
| [webpack](https://webpack.js.org/) | 8.02s | 2.11s | 2.9s |
| [parcel](https://parceljs.org/) | 3.67s | 1.89s | 1.81s |
| taskr-build (browserify) | 2.42s | 0.327s | 0.331s |