From f7445b0f2dad49452d8c7bda6bcefb76cfca3412 Mon Sep 17 00:00:00 2001 From: "Kyle E. Mitchell" Date: Mon, 2 Sep 2024 21:31:53 -0700 Subject: [PATCH] Rename `engines` npm script to `postlint` --- .github/workflows/ci.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9585a73..70cd71e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,4 +10,4 @@ jobs: uses: ljharb/actions/.github/workflows/node-majors.yml@main with: range: '^18.12 || ^20.9 || >= 22.7' - command: 'npm run engines && npm run tests-only && npm run licenses' + command: 'npm run tests-only && npm run licenses' diff --git a/package.json b/package.json index 4098392..4727afe 100644 --- a/package.json +++ b/package.json @@ -39,10 +39,10 @@ "license": "Apache-2.0", "repository": "jslicense/licensee.js", "scripts": { - "engines": "ls-engines --current", "licenses": "./licensee --errors-only", "lint": "standard index.js licensee tests/**/*.js", "pretest": "npm run lint", + "postlint": "ls-engines --current", "tests-only": "tap --no-check-coverage tests/unit.test.js tests/**/test.js", "test": "npm run tests-only", "posttest": "aud --production"