From ec47ddc6915462781eea4395dbc0d61f01fd2633 Mon Sep 17 00:00:00 2001 From: Michele Pozzi <123.mpozzi@gmail.com> Date: Wed, 29 Nov 2023 11:52:57 +0100 Subject: [PATCH] feat(more-npm-commands): add new commands to package.json --- package.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 33c7284e..459200c3 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,15 @@ "husky": "^8.0.3" }, "scripts": { - "prepare": "husky install" + "prepare": "husky install", + "lint": "flutter analyze && ktlint && swiftlint --strict", + "build": "dart run build_runner build", + "build:clean": "npm run build -- --delete-conflicting-outputs", + "install": "flutter pub get", + "install:clean": "flutter clean && npm run install", + "start": "(cd example && flutter run)", + "test:integration": "(cd example && flutter test integration_test)", + "docs": "dart doc .", + "fix:caching": "npm run install:clean && npm run build:clean && npm run build:clean" } }