Split lint script

This commit is contained in:
Abdón Rodríguez Davila
2020-04-07 11:54:22 +02:00
committed by Justin Fagnani
parent 30cdf4be9f
commit f28a35d88a

View File

@@ -8,7 +8,9 @@
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"build:watch": "tsc --watch", "build:watch": "tsc --watch",
"lint": "lit-analyzer && eslint 'src/**/*.ts'", "lint": "npm run lint:lit-analyzer && npm run lint:eslint",
"lint:eslint": "eslint 'src/**/*.ts'",
"lint:lit-analyzer": "lit-analyzer",
"format": "prettier src/* --write", "format": "prettier src/* --write",
"docs": "npm run build && npm run analyze && npm run docs:build && npm run docs:assets && npm run docs:gen", "docs": "npm run build && npm run analyze && npm run docs:build && npm run docs:assets && npm run docs:gen",
"docs:gen": "eleventy --config=.eleventy.cjs", "docs:gen": "eleventy --config=.eleventy.cjs",