lerna-tools

Set of tools to manage a Lerna repository 🐉

This project is no longer maintained
Last updated 2 years ago by neoziro .
MIT · Original npm · Tarball · package.json
$ cnpm install lerna-tools 
SYNC missed versions from official npm registry.

lerna-tools

Set of tools to manage a Lerna repository ????

Build Status version MIT License

npm install lerna-tools

Usage

This set of tools gives you command to build (using Babel) and watch all your packages. It is opinionated and not yet configurable:

  • Packages must be located in <rootDir>/packages
  • Source files must be located in <rootDir>/packages/<package>/src
  • Build files must be located in <rootDir>/packages/<package>/lib
  • Babel config must be located in <rootDir>/.babelrc
  • You must run lerna-watch and lerna-build in the root of your project

Watch All packages

$ lerna-watch

-> Watching for changes...

-> change: a.js
  • a/src/a.js ⇒ a/lib/a.js

Build all packages

$ lerna-build

Building packages
h2x-core..................................................... DONE
h2x-jsx...................................................... DONE

Inspiration

Inspired from Jest scripts.

License

MIT

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

4 Versions

  • 1.0.0 [deprecated]           ...           2 years ago
  • 0.0.3 [deprecated]           ...           3 years ago
  • 0.0.2 [deprecated]           ...           3 years ago
  • 0.0.1 [deprecated]           ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 4
Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |