1.3.2 • Published 8 years ago

babel-preset-lb v1.3.2

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
8 years ago

babel-preset-lb

Linear Bit's Babel presets

install

npm i -S babel-runtime;
npm i -D babel-preset-lb webpack@2.2.0 babel-loader

add the following to package.json

{
  "babel": {
    "presets": ["lb"]
  }
}

environments

NODE_ENV=XXX

namedescription
testfor testing (Jest)
development
production

Scripts

Use the following scripts in package.json

{
  "scripts": {
    "precompile": "rm -f -r ./build/*",
    "compile": "babel src --out-dir build"
  }
}