FLUTTER ECOSYSTEM

dart-lang/pana

Dart用パッケージ分析

パナ のプロジェクト画像
Stars
223
Forks
47
最終プッシュ(UTC)
2026/09/17
プロジェクト状態
公開中
Dart GitHub avatar
GITHUB Organization

Dart ↗

Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.

United States of America公式サイト ↗
言語DartShell

技術トピック

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 37 件

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

Build Status

A library for analyzing Dart packages. It invokes executables from the Dart SDK (or from the Flutter SDK if the package uses Flutter).

Reports are created in the following categories:

Used by the Dart Package site.

Use as an executable

Installation
dart pub global activate pana
Usage

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

Usage: pana [<options>] --hosted <published package name> [<version>]
       pana [<options>] <local directory>

Options:
      --dart-sdk               The directory of the Dart SDK.
      --flutter-sdk            The directory of the Flutter SDK.
      --exit-code-threshold    The exit code will indicate if (max - granted points) > threshold.
  -j, --json                   Output log records and full report as JSON.
      --hosted-url             The server that hosts <package>.
                               (defaults to "https://pub.dev")
      --hosted                 Download and analyze a hosted package (from https://pub.dev).
      --[no-]dartdoc           Run dartdoc and score the package on documentation coverage.
                               (defaults to on)
      --dartdoc-version        The dartdoc version to use: `sdk`, `latest` (default) or `<version constraint>`.
      --license-data           The path to the directory containing the SPDX license data.
      --project-root           The root directory path of the project (pub workspace or otherwise). Use this when the package is located in a subdirectory so pana can copy and analyze the entire project tree.