start-rebem-preset
v0.3.0
Published
Start preset for reBEM
Downloads
6
Readme
start-rebem-preset
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