refactor: updated lint script

This commit is contained in:
liyasthomas
2021-10-05 21:48:10 +05:30
parent d5123c793a
commit 3f5fcae280
4 changed files with 10 additions and 6 deletions

View File

@@ -12,11 +12,13 @@
"scripts": {
"demo": "esrun src/demo.ts",
"lint": "eslint --ext .ts,.js --ignore-path .gitignore",
"lintfix": "eslint --ext .ts,.js --ignore-path .gitignore --fix",
"test": "npx jest",
"build": "npx tsc",
"clean": "npx tsc --build --clean",
"prepublish": "pnpm run build",
"do-lintfix": "pnpm run lint",
"do-lint": "pnpm run lint",
"do-lintfix": "pnpm run lintfix",
"do-build-prod": "pnpm run build",
"do-test": "pnpm run test"
},