chore(package): Add new package scripts for linting and formatting
- lint - lint-fix - format - format-check
This commit is contained in:
1 parent
f9874d33fc
commit
a8a36dac1b
1 file changed
+5
-1
+5
-1
@@ -6,7 +6,11 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "c8 mocha",
|
"test": "c8 mocha",
|
||||||
"dev": "nodemon index.js"
|
"dev": "nodemon index.js",
|
||||||
|
"lint": "eslint .",
|
||||||
|
"lint-fix": "eslint --fix .",
|
||||||
|
"format": "prettier --write .",
|
||||||
|
"format-check": "prettier --check ."
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|||||||
Reference in new issue
Block a user