@knit/mittens-develop
Development tasks
Last updated 4 years ago by knit .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @knit/mittens-develop 
SYNC missed versions from official npm registry.

Develop


Pair of Mittens to help develop your applications

Install

This is a cli addon for KnitJS and expects the knit-cli to be installed.

yarn add @knit/mittens-develop

Commands

We will assume that knit has been installed locally for these examples. If knit is installed globally replace with yarn knit -- with knit.

server

❯ yarn knit -- dev server
Usage: server [options]

start a dev server

Options:

  -h, --help           output usage information
  -p, --port <port>    set server port
  -h, --host <host>    set server host
  -r, --proxy <proxy>  set proxy uri

test

❯ yarn knit -- dev test
Usage: test -- [jestOptions]

run tests

Options:

  -h, --help  output usage information

The test command will run all *.test.js files found under a __tests__ folder across all your modules. It passes all flags to jest directly:

❯ yarn knit -- dev test -- --watch

relay

❯ yarn knit -- dev relay
Usage: relay [options]

update relay schema

Options:

  -h, --help  output usage information

This command will call out to a GraphQL server to fetch its schema and save it locally. Useful for running query validation without a live server (tests, travis etc.)

Current Tags

  • 0.0.34                                ...           latest (4 years ago)

16 Versions

  • 0.0.34                                ...           4 years ago
  • 0.0.33                                ...           4 years ago
  • 0.0.32                                ...           4 years ago
  • 0.0.30                                ...           4 years ago
  • 0.0.28                                ...           4 years ago
  • 0.0.27                                ...           4 years ago
  • 0.0.26                                ...           4 years ago
  • 0.0.25                                ...           4 years ago
  • 0.0.23                                ...           4 years ago
  • 0.0.22                                ...           4 years ago
  • 0.0.21                                ...           4 years ago
  • 0.0.20                                ...           4 years ago
  • 0.0.16                                ...           4 years ago
  • 0.0.5                                ...           4 years ago
  • 0.0.4                                ...           4 years ago
  • 0.0.3                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 17
This Month 28
Last Day 0
Last Week 4
Last Month 9
Dependencies (14)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |