pubspec_doctor 0.10.0 copy "pubspec_doctor: ^0.10.0" to clipboard
pubspec_doctor: ^0.10.0 copied to clipboard

Audit pubspec.yaml dependencies and assets: unused, discontinued and stale packages, wrong sections, leftover overrides, missing assets. Built for CI.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate pubspec_doctor

Use it

The package has the following executables:

$ pubspec_doctor

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pubspec_doctor

With Flutter:

 $ flutter pub add pubspec_doctor

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  pubspec_doctor: ^0.10.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:pubspec_doctor/pubspec_doctor.dart';
3
likes
160
points
799
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Audit pubspec.yaml dependencies and assets: unused, discontinued and stale packages, wrong sections, leftover overrides, missing assets. Built for CI.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, http, pub_semver, yaml, yaml_edit

More

Packages that depend on pubspec_doctor