Modify 'lint' cmd - Run eslint for jsx.tsx also

This commit is contained in:
2019-08-10 13:04:17 +05:30
parent 5a33b3272e
commit 6cd41bc4bd
+1 -1
View File
@@ -24,7 +24,7 @@
"compile": "tsc -p tsconfig.base.json",
"docs": "npx typedoc ./src/",
"format": "prettier --write \"**/*.{js,ts,tsx}\"",
"lint": "eslint . --ext .js,.ts",
"lint": "eslint . --ext .js,.ts,.jsx,.tsx",
"postbundle": "del compiled && cp-cli ./index.js ./dist/index.js",
"postversion": "git push && git push --tags && npm publish",
"release": "npm version -m 'Release v%s'",