Skip to content

Commit

Permalink
Rename engines npm script to postlint
Browse files Browse the repository at this point in the history
  • Loading branch information
kemitchell committed Sep 3, 2024
1 parent 1201552 commit f7445b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f7445b0

Please sign in to comment.