migrations: Add independent yarn prettier script

This commit is contained in:
F. Eugene Aumson 2020-04-15 13:03:55 -04:00
parent 513ddb4cca
commit 1da8f68871
No known key found for this signature in database
GPG Key ID: 23E6737B1374A24A

View File

@ -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",