Swiftpack.co - Package - dart-lang/pana

Build Status

A library for analyzing Dart packages.

  • Validates the code using Dart Analyzer.
  • Checks code formatting.
  • Checks for outdated dependencies.
  • Infers supported platforms: Flutter, web, and/or server.

Used by the Dart Package site.

Use as an executable

Installation

> pub global activate pana

Usage

You can specify either a package (+ version) or a local directory to analyze:

Usage: pana [<options>] <package> [<version>]
       pana [<options>] --source path <directory>

Options:
  -j, --json            Output log items as JSON.
  -s, --source          The source used to find the package.
                        [hosted (default), path]
  
      --hosted-url      The server that hosts <package>.
                        (defaults to "https://pub.dartlang.org")
  
      --[no-]warning    Shows the warning message before potentially destructive operation.
                        (defaults to on)

Github

link
Stars: 12
Help us keep the lights on

Dependencies

Used By

Total: 0

Releases

0.10.0 - Jan 19, 2018