1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 11:24:35 +00:00

chore(lint): added lint scripts

This commit is contained in:
Yury Shkoda
2021-06-09 15:26:45 +03:00
parent 6b8ef6c55a
commit fafd8afe49

View File

@@ -7,7 +7,9 @@
"start": "nodemon ./src/index.ts",
"build": "tsc --project ./",
"semantic-release": "semantic-release -d",
"postinstall": "[ -d .git ] && git config core.hooksPath ./.git-hooks || true"
"postinstall": "[ -d .git ] && git config core.hooksPath ./.git-hooks || true",
"lint:fix": "npx prettier --write \"src/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\"",
"lint": "npx prettier --check \"src/**/*.{ts,tsx,js,jsx,html,css,sass,less,yml,md,graphql}\""
},
"author": "Analytium",
"dependencies": {