mirror of
https://github.com/sasjs/server.git
synced 2026-01-09 15:30:05 +00:00
chore(lint): added lint scripts
This commit is contained in:
@@ -7,7 +7,9 @@
|
|||||||
"start": "nodemon ./src/index.ts",
|
"start": "nodemon ./src/index.ts",
|
||||||
"build": "tsc --project ./",
|
"build": "tsc --project ./",
|
||||||
"semantic-release": "semantic-release -d",
|
"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",
|
"author": "Analytium",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user