add package update check to package scripts and readme

This commit is contained in:
mahula 2024-02-25 12:05:37 +01:00
parent c217df52f8
commit f3b51d82fd
2 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,8 @@ Building this project requires `nodejs` (`>= v20`) and `npm`.
| **Documentation** | | | **Documentation** | |
| `npm run docs:dev` | Run documentation locally in development mode | | `npm run docs:dev` | Run documentation locally in development mode |
| `npm run docs:build` | Build static documentation | | `npm run docs:build` | Build static documentation |
| **Maintenance** | |
| `npm run update` | Check for updates |
### Update ### Update

View File

@ -29,7 +29,8 @@
"cypress:run": "cypress run --e2e --browser electron", "cypress:run": "cypress run --e2e --browser electron",
"docs:dev": "vuepress dev .", "docs:dev": "vuepress dev .",
"docs:build": "vuepress build .", "docs:build": "vuepress build .",
"test:lint:eslint": "eslint --ext .ts,.tsx,.js,.jsx,.cjs,.json,.yml,.yaml --max-warnings 0 ." "test:lint:eslint": "eslint --ext .ts,.tsx,.js,.jsx,.cjs,.json,.yml,.yaml --max-warnings 0 .",
"update": "npx npm-check-updates"
}, },
"devDependencies": { "devDependencies": {
"@badeball/cypress-cucumber-preprocessor": "^20.0.1", "@badeball/cypress-cucumber-preprocessor": "^20.0.1",