feat: add lint script

master
ogomez92 2022-02-25 04:51:24 +01:00
parent 8d105f07bc
commit 4451979a47
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"dev": "nodemon src/server.ts", "dev": "nodemon src/server.ts",
"build": "rm -rf build/ && prettier --write src && tsc" "lint": "prettier --write src",
"build": "rm -rf build/ && tsc"
}, },
"dependencies": { "dependencies": {
"@nodelib/fs.walk": "^1.2.8", "@nodelib/fs.walk": "^1.2.8",