treats
Tokopedia React Development Kits
Last updated 3 months ago by tokopedia .
Apache-2.0 · Original npm · Tarball · package.json
$ cnpm install treats 
SYNC missed versions from official npm registry.

Tokopedia React Development Kits (Treats)

Software development kits for Tokopedia Frontend-engineering with React. Learn more on our documentation.

Getting Started

To get started with Treats, you can simply do the following:

> npm install -g create-treats-app
> create-treats-app
> cd /YOUR/APP/DIRECTORY
> yarn start

You don't need to configure webpack, babel, or any other build tools by yourself

What's in the box?

  1. React, JSX, ES6, and Flow (or TypeScript) syntax support.
  2. Preconfigured Redux, GraphQL client and i18n out-of-the-box. (You can disable Redux/GraphQL client if you're not using it, it'll only leave minimum trace in your build)
  3. Server-side rendering, code-splitting and hot-module replacement configured out-of-the-box.
  4. CSS Modules support with CSS, LESS, or SASS syntax with autoprefixer, or use any CSS-in-JS library that you like!
  5. A build script to bundle JS, CSS, images and other medias for production.
  6. Built-in code generator so you wouldn't need to wrote another boilerplate codes.
  7. Work out of the box with zero configuration for light usage, but easily customizable for power users. Treats is customizable with:
    • Custom Helpers (Server-side)
    • Custom Middlewares (Server-side)
    • Custom React App, Server App, GraphQL client & Redux Implementation, etc
    • Custom Webpack, Babel & PostCSS Config
  8. Filesystem as your API (all entry hooks file and folder are under src/_**)

Requirements

  1. Node > 8.00

License

Apache 2.0

Current Tags

  • 0.4.3                                ...           latest (3 months ago)

8 Versions

  • 0.4.3                                ...           3 months ago
  • 0.4.2                                ...           3 months ago
  • 0.4.1                                ...           4 months ago
  • 0.4.0                                ...           5 months ago
  • 0.3.0                                ...           8 months ago
  • 0.2.0                                ...           9 months ago
  • 0.1.1                                ...           10 months ago
  • 0.1.0-alpha                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (109)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2017 © taobao.org |