pob-babel
Build and watch with babel and typescript
Last updated 21 days ago by churpeau .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pob-babel 
SYNC missed versions from official npm registry.

pob-babel

Build and watch with babel and typescript

What it does

  • Transpiles js and jsx files for specific envs (pre-node6, node6, webpack 2, modern browsers webpack 2)
  • Transform yml files to json (for faster load)
  • Allow you to register plugins to transform more files by extension
  • watch returns an EventEmitter to allow you to restart your server if needed.

Install

npm install --save-dev pob-babel

Also install babel plugins and presets

Create .pob.json

{
  "react": false,
  "envs": ["node6", "webpack", "webpack-modern-browsers"],
}

How to use

Direct use

node_modules/.bin/pob-build
node_modules/.bin/pob-watch

With npm scripts npm run build

Edit your package.json:

{
    "scripts": {
        "build": "pob-build",
        "watch": "pob-watch"
    }
}

Current Tags

  • 23.19.0                                ...           latest (21 days ago)

181 Versions

  • 23.19.0                                ...           21 days ago
  • 23.18.0                                ...           22 days ago
  • 23.17.1                                ...           22 days ago
  • 23.17.0                                ...           22 days ago
  • 23.16.1                                ...           a month ago
  • 23.16.0                                ...           4 months ago
  • 23.15.0                                ...           4 months ago
  • 23.14.1                                ...           4 months ago
  • 23.14.0                                ...           4 months ago
  • 23.13.0                                ...           4 months ago
  • 23.12.0                                ...           4 months ago
  • 23.11.0                                ...           4 months ago
  • 23.10.1                                ...           4 months ago
  • 23.10.0                                ...           4 months ago
  • 23.9.0                                ...           4 months ago
  • 23.8.0                                ...           5 months ago
  • 23.7.1                                ...           5 months ago
  • 23.7.0                                ...           5 months ago
  • 23.6.7                                ...           6 months ago
  • 23.6.6                                ...           6 months ago
  • 23.6.5                                ...           6 months ago
  • 23.6.4                                ...           6 months ago
  • 23.6.3                                ...           6 months ago
  • 23.6.2                                ...           6 months ago
  • 23.6.1                                ...           7 months ago
  • 23.6.0                                ...           7 months ago
  • 23.5.5                                ...           8 months ago
  • 23.5.4                                ...           8 months ago
  • 23.5.3                                ...           8 months ago
  • 23.5.2                                ...           8 months ago
  • 23.5.1                                ...           8 months ago
  • 23.5.0                                ...           9 months ago
  • 23.4.0                                ...           9 months ago
  • 23.3.1                                ...           10 months ago
  • 23.3.0                                ...           10 months ago
  • 23.2.3                                ...           a year ago
  • 23.2.2                                ...           a year ago
  • 23.2.1                                ...           a year ago
  • 23.2.0                                ...           a year ago
  • 23.1.0                                ...           a year ago
  • 23.0.0                                ...           a year ago
  • 22.4.0                                ...           a year ago
  • 22.3.2                                ...           a year ago
  • 22.3.1                                ...           a year ago
  • 22.3.0                                ...           a year ago
  • 22.2.6                                ...           a year ago
  • 22.2.5                                ...           a year ago
  • 22.2.4                                ...           a year ago
  • 22.2.3                                ...           a year ago
  • 22.2.2                                ...           a year ago
  • 22.2.1                                ...           a year ago
  • 22.1.0                                ...           a year ago
  • 22.0.3                                ...           a year ago
  • 22.0.2                                ...           a year ago
  • 22.0.1                                ...           a year ago
  • 22.0.0                                ...           a year ago
  • 21.2.4                                ...           a year ago
  • 21.2.3                                ...           a year ago
  • 21.2.2                                ...           a year ago
  • 21.2.1                                ...           a year ago
  • 21.2.0                                ...           a year ago
  • 21.1.1                                ...           a year ago
  • 21.1.0                                ...           a year ago
  • 21.0.1                                ...           a year ago
  • 21.0.0                                ...           a year ago
  • 20.2.0                                ...           a year ago
  • 20.1.1                                ...           a year ago
  • 20.1.0                                ...           a year ago
  • 20.0.0                                ...           a year ago
  • 19.1.6                                ...           a year ago
  • 19.1.5                                ...           a year ago
  • 19.1.4                                ...           a year ago
  • 19.1.3                                ...           a year ago
  • 19.1.2                                ...           a year ago
  • 19.1.1                                ...           a year ago
  • 19.1.0                                ...           a year ago
  • 19.0.4                                ...           a year ago
  • 19.0.3                                ...           a year ago
  • 19.0.2                                ...           a year ago
  • 19.0.1                                ...           2 years ago
  • 19.0.0                                ...           2 years ago
  • 18.2.0                                ...           2 years ago
  • 18.1.5                                ...           2 years ago
  • 18.1.4                                ...           2 years ago
  • 18.1.3                                ...           2 years ago
  • 18.1.2                                ...           2 years ago
  • 18.1.1                                ...           2 years ago
  • 18.1.0                                ...           2 years ago
  • 18.0.4                                ...           2 years ago
  • 18.0.3                                ...           2 years ago
  • 18.0.2                                ...           2 years ago
  • 18.0.1                                ...           2 years ago
  • 18.0.0                                ...           2 years ago
  • 17.6.1                                ...           2 years ago
  • 17.6.0                                ...           2 years ago
  • 17.5.1                                ...           2 years ago
  • 17.5.0                                ...           2 years ago
  • 17.4.0                                ...           2 years ago
  • 17.3.0                                ...           2 years ago
  • 17.2.0                                ...           2 years ago
  • 17.1.1                                ...           2 years ago
  • 17.1.0                                ...           2 years ago
  • 17.0.2                                ...           2 years ago
  • 17.0.1                                ...           2 years ago
  • 17.0.0                                ...           2 years ago
  • 16.4.0                                ...           2 years ago
  • 16.3.0                                ...           2 years ago
  • 16.2.3                                ...           2 years ago
  • 16.2.2                                ...           2 years ago
  • 16.2.1                                ...           2 years ago
  • 16.2.0                                ...           2 years ago
  • 16.1.0                                ...           2 years ago
  • 16.0.0                                ...           2 years ago
  • 15.0.1                                ...           2 years ago
  • 15.0.0                                ...           2 years ago
  • 14.2.0                                ...           2 years ago
  • 14.1.0                                ...           3 years ago
  • 14.0.0                                ...           3 years ago
  • 13.0.1                                ...           3 years ago
  • 13.0.0                                ...           3 years ago
  • 12.11.0                                ...           3 years ago
  • 12.10.0                                ...           3 years ago
  • 12.9.0                                ...           3 years ago
  • 12.8.1                                ...           3 years ago
  • 12.8.0                                ...           3 years ago
  • 12.7.2                                ...           3 years ago
  • 12.7.1                                ...           3 years ago
  • 12.7.0                                ...           3 years ago
  • 12.6.0                                ...           3 years ago
  • 12.5.5                                ...           3 years ago
  • 12.5.4                                ...           3 years ago
  • 12.5.3                                ...           3 years ago
  • 12.5.2                                ...           3 years ago
  • 12.5.1                                ...           3 years ago
  • 12.5.0                                ...           3 years ago
  • 12.4.0                                ...           3 years ago
  • 12.3.0                                ...           3 years ago
  • 12.2.0                                ...           3 years ago
  • 12.1.1                                ...           3 years ago
  • 12.1.0                                ...           3 years ago
  • 12.0.0                                ...           3 years ago
  • 11.0.1                                ...           3 years ago
  • 11.0.0                                ...           3 years ago
  • 9.0.1                                ...           3 years ago
  • 9.0.0                                ...           3 years ago
  • 8.3.2                                ...           3 years ago
  • 8.3.1                                ...           3 years ago
  • 8.3.0                                ...           3 years ago
  • 8.2.0                                ...           3 years ago
  • 8.1.0                                ...           3 years ago
  • 8.0.4                                ...           3 years ago
  • 8.0.3                                ...           3 years ago
  • 8.0.2                                ...           3 years ago
  • 8.0.1                                ...           3 years ago
  • 8.0.0                                ...           3 years ago
  • 7.3.0                                ...           3 years ago
  • 7.2.1                                ...           3 years ago
  • 7.2.0                                ...           3 years ago
  • 7.1.2                                ...           3 years ago
  • 7.1.1                                ...           3 years ago
  • 7.1.0                                ...           3 years ago
  • 7.0.2                                ...           3 years ago
  • 7.0.1                                ...           3 years ago
  • 7.0.0                                ...           3 years ago
  • 6.0.2                                ...           3 years ago
  • 6.0.1                                ...           3 years ago
  • 6.0.0                                ...           3 years ago
  • 5.0.0                                ...           3 years ago
  • 4.0.2                                ...           3 years ago
  • 4.0.1                                ...           3 years ago
  • 4.0.0                                ...           3 years ago
  • 3.1.0                                ...           3 years ago
  • 3.0.0                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.4.1                                ...           3 years ago
  • 0.4.0                                ...           3 years ago
  • 0.3.0                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 182
Last Day 181
Last Week 182
Last Month 348
Dev Dependencies (4)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |