Skip to content
This repository has been archived by the owner on Aug 19, 2019. It is now read-only.
/ start-preset Public archive

📦 Shareable Start preset for all reBEM modules

License

Notifications You must be signed in to change notification settings

rebem/start-preset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

start-rebem-preset

maintenance npm travis deps gitter

Start preset for reBEM.

Install

npm i -D start-rebem-preset

Usage

See documentation and source tasks file for details.

Simple

// package.json
"devDependencies": {
  "start-babel-cli": "0.x.x",
  "start-rebem-preset": "0.x.x"
},
"scripts": {
  "start": "start-runner start-rebem-preset"
}

Available commands:

npm start build
npm start dev
npm start lint
npm start test
npm start tdd
npm start coverage
npm start ci

Extend

// tasks.js
import start from 'start-rebem-preset';

export * from 'start-rebem-preset';

export function myTasksRunner() {
    return start(
        ...
    );
}

* example is rely on babel-plugin-transform-export-extensions from babel-preset-stage-1

// package.json
"devDependencies": {
  "start-babel-cli": "0.x.x",
  "start-rebem-preset": "0.x.x"
},
"scripts": {
  "start": "start-runner ./tasks"
}

Available commands:

npm start build
npm start dev
npm start lint
npm start test
npm start tdd
npm start coverage
npm start ci
npm start myTasksRunner