Expand Prettier coverage

This commit is contained in:
James M. Greene
2022-09-16 22:36:35 -05:00
parent 44d4246912
commit 1996917397
3 changed files with 9 additions and 4 deletions

View File

@@ -1 +1,6 @@
node_modules/
# Ignore build artifacts
/dist/
/pre/
# Ignore all Markdown files
*.md

View File

@@ -7,4 +7,4 @@ semi: false
singleQuote: true
trailingComma: none
bracketSpacing: true
arrowParens: avoid
arrowParens: avoid

View File

@@ -27,8 +27,8 @@
"lint": "eslint src",
"prepare": "ncc build src/index.js -o dist --source-map --license licenses.txt && ncc build src/pre.js -o pre --source-map --license licenses.txt",
"test": "jest",
"format": "prettier --write 'src/**/*.js'",
"format:check": "prettier --check 'src/**/*.js'",
"format": "prettier --write .",
"format:check": "prettier --check .",
"all": "npm run format && npm run lint && npm run prepare && npm run test"
},
"repository": {