@orchatect/leonardo
`leonardo` is a CLI tool that aides in developing components for DS bundles.
Last updated 2 months ago by colshacol .
MIT · Bugs · Original npm · Tarball · package.json
$ cnpm install @orchatect/leonardo 
SYNC missed versions from official npm registry.

leonardo

leonardo is a CLI tool that aides in developing components for DS bundles.

Installation

yarn add -D @orchatect/leonardo

Overview

leonardo is a tool that makes developing DS bundles easier and less opinionated. It is a transpiler, a bundler, and a provider of cleaner and simpler API wrappers around APIs provided by DS.

Given this setup:

You get this output:

Rules

A component's source directory can be named whatever you like. You have the freedom to choose camel casing or snake casing the name. /source/components/MyComp or /source/components/my_comp, it is your choice.

Inside of your component's source directory, there are only four requirements in order for leonardo to work properly.

  1. You should have a .dsconfig.json file. This JSON data is only slightly different than the data you would find in the various configuration elements within a standard DS Client.html file. The main differences, other than the filetype, are as follows:
  • Instead of className, you will use the sensible and intuitive alternative: serverName. The value of serverName applies exactly how you would expect it to: It becomes the name of your component's server.

[WIP]

Development Instructions

yarn scripts build

Current Tags

  • 0.0.12                                ...           latest (2 months ago)

13 Versions

  • 0.0.12                                ...           2 months ago
  • 0.0.11                                ...           2 months ago
  • 0.0.10                                ...           2 months ago
  • 0.0.9                                ...           2 months ago
  • 0.0.8                                ...           2 months ago
  • 0.0.7                                ...           2 months ago
  • 0.0.6                                ...           2 months ago
  • 0.0.5                                ...           2 months ago
  • 0.0.4                                ...           2 months ago
  • 0.0.3                                ...           2 months ago
  • 0.0.2                                ...           2 months ago
  • 0.0.1                                ...           2 months ago
  • 0.0.0                                ...           2 months ago
Maintainers (2)
Downloads
Today 0
This Week 1
This Month 14
Last Day 0
Last Week 13
Last Month 189
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |