diff --git a/services/web/package.json b/services/web/package.json index d11d992816..cdaa3cfa57 100644 --- a/services/web/package.json +++ b/services/web/package.json @@ -22,8 +22,8 @@ "webpack": "webpack-dev-server --config webpack.config.dev.js", "webpack:production": "webpack --config webpack.config.prod.js", "webpack:profile": "webpack --config webpack.config.prod.js --profile --json > stats.json", - "format": "prettier --list-different $PWD/'**/*.js'", - "format:fix": "prettier --write $PWD/'**/*.js'", + "format": "prettier --list-different $PWD/'**/*.{js,ts,tsx}'", + "format:fix": "prettier --write $PWD/'**/*.{js,ts,tsx}'", "format:styles": "prettier --list-different $PWD/'**/*.less'", "format:styles:fix": "prettier --write $PWD/'**/*.less'", "lint": "eslint --max-warnings 0 --format unix .",