diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 3f4ec7b..c6ccad5 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -19,4 +19,4 @@ jobs: - name: Install Dependencies run: npm ci - name: Run ESLint - run: npm run lint-js + run: npm run lint:js diff --git a/.github/workflows/markdownlint.yml b/.github/workflows/markdownlint.yml index 75c51ad..f23745b 100644 --- a/.github/workflows/markdownlint.yml +++ b/.github/workflows/markdownlint.yml @@ -19,4 +19,4 @@ jobs: - name: Install Dependencies run: npm ci - name: Run markdownlint - run: npm run lint-md + run: npm run lint:md diff --git a/.github/workflows/stylelint.yml b/.github/workflows/stylelint.yml index 34fa5b1..b562079 100644 --- a/.github/workflows/stylelint.yml +++ b/.github/workflows/stylelint.yml @@ -19,4 +19,4 @@ jobs: - name: Install Dependencies run: npm ci - name: Run Stylelint - run: npm run lint-css + run: npm run lint:css diff --git a/package.json b/package.json index 2dc8e56..602d6d9 100644 --- a/package.json +++ b/package.json @@ -6,12 +6,12 @@ "main": "index.js", "type": "module", "scripts": { - "lint": "npm-run-all lint-js lint-css lint-md", - "lint-js": "eslint routes/* util/*", - "lint-css": "stylelint stylelint public/css/*.css", - "lint-md": "markdownlint *.md", - "minify": "npm-run-all minify-css", - "minify-css": "cleancss --batch --batch-suffix '' public/css/*.css", + "lint": "npm-run-all --parallel lint:*", + "lint:js": "eslint routes/* util/*", + "lint:css": "stylelint stylelint public/css/*.css", + "lint:md": "markdownlint *.md", + "minify": "npm-run-all --parallel minify:*", + "minify:css": "cleancss --batch --batch-suffix '' public/css/*.css", "start": "NODE_ENV=production node index.js", "dev": "nodemon index.js" },