To install the package, run the following command in your terminal:
npm install --dev github:anvil-solutions/lighthouse-crawler
To use the package in your project, you can follow the example below:
npx lighthouse-crawler --help
Run npm install
in the project's root directory to install all required
dependencies. Additionally, make sure you have npm (Node Package Manager) and
Node.js installed on your system before running this command.
To maintain code quality and adhere to coding standards, you can use linting tools in your project's root directory. Follow the instructions below for each language.
npm run lint
Run the following commands in your project's root directory to utilize ESLint and TypeScript:
npm run eslint
npm run tsc
Run the following commands in your project's root directory to utilize Stylelint:
npm run stylelint
To ensure your code is functioning correctly and to catch any potential issues early, you can use the following command to run tests using Vitest:
npm run test