diff --git a/package.json b/package.json index b42633d7..52a60eab 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "clean": "gulp clean && gulp link --clean", "update": "npm install --save-dev git+https://git.f3l.de/dungeonslayers/foundry-pc-types.git#f3l-fixes", "lint": "eslint 'src/**/*.ts' --cache", - "lint:fix": "eslint 'src/**/*.ts' --cache --fix" + "lint:fix": "eslint 'src/**/*.ts' --cache --fix", + "format": "prettier --write 'src/**/*.(ts|json|scss)'" }, "author": "", "license": "", @@ -45,7 +46,6 @@ }, "lint-staged": { "*.ts": "eslint --cache --fix", - "*.json": "prettier --write", - "*.scss": "prettier --write" + "*.(json|scss)": "prettier --write" } }