Allow prettier to check more files that it's capable of handling

This commit is contained in:
James M. Greene
2022-09-16 20:35:47 -05:00
parent 45efe60937
commit b030b061cb
3 changed files with 8 additions and 3 deletions

View File

@@ -5,8 +5,8 @@
"description": "A GitHub Action to enable Pages and extract various metadata about a site. It can also be used to configure various static site generators we support as starter workflows.",
"main": "./dist/index.js",
"scripts": {
"format": "prettier --write 'src/**/*.js'",
"format:check": "prettier --check 'src/**/*.js'",
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepare": "npm run format && ncc build src/index.js -o dist --source-map --license licenses.txt",
"test": "jest"
},