Start preset for Start.
npm install --save-dev start-start-preset
# or
yarn add --dev start-start-preset
See documentation and source tasks file for details.
// package.json
"scripts": {
"start": "start-runner --preset start-start-preset"
}
Available commands:
npm start build
npm start dev
npm start lint
npm start test
npm start tdd
npm start coverage
npm start ci
# or
yarn start build
yarn start dev
yarn start lint
yarn start test
yarn start tdd
yarn start coverage
yarn start ci
// tasks.js
import start from 'start-start-preset';
export * from 'start-start-preset';
export const myTasksRunner = () => start(
// ...
);
Example relies on babel-plugin-transform-export-extensions.
// package.json
"scripts": {
"start": "start-runner --file tasks.js"
}
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
# or
yarn start build
yarn start dev
yarn start lint
yarn start test
yarn start tdd
yarn start coverage
yarn start ci
yarn start myTasksRunner