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

start-runner/start-preset

Repository files navigation

start-start-preset

npm linux build windows build deps

Start preset for Start.

recursion

Install

npm install --save-dev start-start-preset
# or
yarn add --dev start-start-preset

Usage

See documentation and source tasks file for details.

Simple

// 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

Extend

// 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