npm i -D start-rebem-preset
See documentation and source tasks file for details.
// 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
// 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