diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..840b50d --- /dev/null +++ b/.prettierignore @@ -0,0 +1,6 @@ +node_modules/ +bower_components/ +dist/ +package-lock.json +# npm install will reformat package.json which can conflict with prettier +package.json diff --git a/package.json b/package.json index fbc463b..250c15a 100644 --- a/package.json +++ b/package.json @@ -70,6 +70,6 @@ "BABEL_ENV=production webpack --config webpack.config.production.js && node pre-render.js", "lint": "eslint .", "test": "karma start --single-run --browsers PhantomJS", - "pretty": "prettier --write \"app/scripts/**/*.js\"" + "pretty": "prettier --write '**/*.{js,jsx,ts,css,less,scss,json}'" } }