From 1da8f6887177629b9c6099dad84f8c348113a4ab Mon Sep 17 00:00:00 2001 From: "F. Eugene Aumson" Date: Wed, 15 Apr 2020 13:03:55 -0400 Subject: [PATCH] migrations: Add independent `yarn prettier` script --- packages/migrations/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/migrations/package.json b/packages/migrations/package.json index c69c31dd55..0d6377128a 100644 --- a/packages/migrations/package.json +++ b/packages/migrations/package.json @@ -11,7 +11,8 @@ "build": "tsc -b", "build:ci": "yarn build", "clean": "shx rm -rf lib ${npm_package_config_snapshot_name} ${npm_package_config_snapshot_name}-*.zip", - "lint": "tslint --format stylish --project . && prettier --check 'src/**/*.{ts,tsx,json,md}' --config ../../.prettierrc", + "prettier": "prettier --check 'src/**/*.{ts,tsx,json,md}' --config ../../.prettierrc", + "lint": "tslint --format stylish --project . && yarn prettier", "fix": "tslint --fix --format stylish --project .", "test": "yarn run_mocha", "test:circleci": "yarn test",