chore(package): Add new package scripts for linting and formatting

- lint
- lint-fix
- format
- format-check
This commit is contained in:
Mert Şişmanoğlu committed 2024-12-20 23:49:54 +03:00
1 parent f9874d33fc
commit a8a36dac1b
1 file changed
+5 -1
+5 -1
View File
@@ -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": "",