diff --git a/package.json b/package.json index fcb60d4..72778cf 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "clear": "rm -rf dist/ && mkdir dist/", "lint:staged": "lint-staged", "prepublish": "npm run build", - "test": "xo && flow --show-all-errors" + "test": "xo && flow --show-all-errors", + "format": "prettier --write --single-quote --trailing-comma all --tab-width 4 src/**/*.js" }, "lint-staged": { "*.js": [