@pixeloven/tasks

6.0.0-beta.22 • Public • Published

@pixeloven/tasks

Pixel Oven tasks

See our website pixeloven-tasks for more information or the issues associated with this package.

Install

Using npm:

npm install --save-dev @pixeloven/tasks

or using yarn:

yarn add --dev @pixeloven/tasks

Usage

Note this package was originally created to encapsulate common dependencies and scripts used during the development of PixelOven. For a full public CLI experience please see @pixeloven/cli.

When making a libraries similar to the ones seen in PixelOven we can use this simple wrapper for common tasks like linting, compiling and testing.

Example of usage in package.json

  "scripts": {
    "clean": "pixeloven-tasks clean",
    "compile": "pixeloven-tasks compile:ts",
    "precompile": "pixeloven-tasks compile:clean",
    "document": "pixeloven-tasks document:ts src",
    "predocument": "pixeloven-tasks document:clean",
    "lint": "yarn lint:ts",
    "lint:ts": "pixeloven-tasks lint:ts src/**/*.{ts,tsx}",
    "pretest": "pixeloven-tasks test:clean",
    "pretty": "pixeloven-tasks pretty src/**/*.{ts,tsx}",
    "pretty:ts": "pixeloven-tasks pretty:ts src/**/*.{ts,tsx}",
    "test": "pixeloven-tasks test --color --coverage",
    "test:ci": "pixeloven-tasks test --ci --coverage",
    "test:watch": "pixeloven-tasks test:watch"
  }

Readme

Keywords

none

Package Sidebar

Install

npm i @pixeloven/tasks

Weekly Downloads

36

Version

6.0.0-beta.22

License

MIT

Unpacked Size

7.93 kB

Total Files

4

Last publish

Collaborators

  • briangeb