Bring back the formatter

This commit is contained in:
Yoann Chaudet
2022-08-23 17:19:21 -07:00
parent b627026553
commit 4865e84b02
14 changed files with 588 additions and 544 deletions

View File

@@ -27,7 +27,9 @@
"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",
"all": "npm run lint && npm run prepare && npm run test"
"format": "prettier --write 'src/**/*.js'",
"format:check": "prettier --check 'src/**/*.js'",
"all": "npm run format && npm run lint && npm run prepare && npm run test"
},
"repository": {
"type": "git",