From a0bbbba7f180d777232f4e9d0d11aebbf37160ac Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Sun, 12 Nov 2023 20:27:31 +0100 Subject: [PATCH] updated package.json scripts --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index cd60e68d..76a4d5b8 100644 --- a/package.json +++ b/package.json @@ -10,9 +10,10 @@ "scripts": { "build": "flutter pub run build_runner build --delete-conflicting-outputs", "watch": "flutter pub run build_runner watch --delete-conflicting-outputs", - "publish:dry": "npm run build && flutter pub publish --dry-run", - "publish": "npm run build && flutter pub publish", + "publish:dry": "flutter pub publish --dry-run", + "publish": "flutter pub publish", "format": "dart format lib example/integration_test", + "build:publish": "npm run format && npm run build && flutter pub publish", "docs:gen": "flutter pub global activate dartdoc && flutter pub global run dartdoc:dartdoc", "docs:serve": "flutter pub global activate dhttpd && flutter pub global run dhttpd:dhttpd --path doc/api" },