From 22d0968af514ddcca3f7a05c888c9b6300724e5f Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Mon, 22 Apr 2024 10:05:53 -0400 Subject: [PATCH] feat(ci): setup linters (#128) --- frontend/package.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 32aeb6cf..120d757a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -4,14 +4,16 @@ "version": "1.0.0", "type": "module", "scripts": { - "dev": "vite --host", - "clean": "rimraf ./node_modules/.vite", + "build": "vite build", "build:analyze": "vite build --mode analyze", "build:clean": "rimraf dist", + "clean": "rimraf ./node_modules/.vite", + "dev": "vite --host", + "lint": "eslint --ext .ts,.tsx .", + "lint:fix": "npm run lint -- --fix", "preview": "vite preview", "test:unit": "vitest --mode test", - "test:cov": "vitest run --mode test --coverage", - "build": "vite build" + "test:cov": "vitest run --mode test --coverage" }, "dependencies": { "@bcgov/bc-sans": "^2.1.0",