mirror of
https://github.com/edward-shen/MMM-pages.git
synced 2025-05-31 16:23:36 -07:00
chore: use node --run
instead of npm run
to run scripts
This commit is contained in:
parent
516e78ceb9
commit
a9981b8852
3 changed files with 4 additions and 4 deletions
2
.github/workflows/automated-tests.yaml
vendored
2
.github/workflows/automated-tests.yaml
vendored
|
@ -23,4 +23,4 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Check linting
|
||||
run: npm run lint
|
||||
run: node --run lint
|
||||
|
|
|
@ -285,8 +285,8 @@ See also FAQ below.
|
|||
If you want to contribute to this project, pleases use the following commands to maintain code quality:
|
||||
|
||||
- `npm install` - Install development dependencies for linting.
|
||||
- `npm run lint` - Run linting checks.
|
||||
- `npm run lint:fix` - Fix linting issues. Please run this before committing.
|
||||
- `node --run lint` - Run linting checks.
|
||||
- `node --run lint:fix` - Fix linting issues. Please run this before committing.
|
||||
|
||||
[mm]: https://github.com/MagicMirrorOrg/MagicMirror
|
||||
[page indicator]: https://github.com/edward-shen/MMM-page-indicator
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
"scripts": {
|
||||
"lint": "eslint",
|
||||
"lint:fix": "eslint --fix",
|
||||
"test": "npm run lint"
|
||||
"test": "node --run lint"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.27.0",
|
||||
|
|
Loading…
Reference in a new issue