UNPKG

beam-cli

Version:

A beautifully simple CLI for running Lighthouse audits on a statically generated (SSG) website

126 lines (125 loc) 3.04 kB
{ "name": "beam-cli", "version": "1.2.0", "description": "A beautifully simple CLI for running Lighthouse audits on a statically generated (SSG) website", "repository": "slicedsilver/beam", "license": "MIT", "bin": { "beam": "dist/cli.js" }, "engines": { "node": "^14.13.1 || >=16.0.0" }, "type": "module", "scripts": { "generate-schema": "npx ts-json-schema-generator --path './src/options/types.ts' --type 'Options'", "generate-schema:mac": "npx ts-json-schema-generator --path './src/options/types.ts' --type 'Options' | pbcopy", "build": "tsc && chmod +x dist/cli.js", "start": "npm run build && dist/cli.js", "pretest": "npm run build", "test": "xo && ava", "ava": "ava", "xo": "xo", "xo:fix": "xo --fix", "format": "./node_modules/.bin/prettier --write ./.prettierrc.json --check \"./src/**/*.{js,ts,tsx,jsx,md}\"" }, "files": [ "dist/**/*.*", "docs/**/*.*", "CHANGELOG.md" ], "keywords": [ "lighthouse", "cli", "tui", "terminal", "term", "command-line", "console", "ink", "react-ink", "webperf" ], "dependencies": { "@web/dev-server": "^0.1.32", "@web/dev-server-esbuild": "^0.3.1", "ajv": "^8.11.0", "console-table-printer": "^2.11.0", "enquirer": "^2.3.6", "figures": "^4.0.1", "globby": "^13.1.2", "gradient-string": "^2.0.1", "htm": "^3.1.1", "ink": "^3.2.0", "ink-big-text": "^1.2.0", "ink-box": "^1.0.0", "ink-gradient": "^2.0.0", "ink-use-stdout-dimensions": "^1.0.5", "koa-cash": "^4.1.0", "koa-compress": "^5.1.0", "lighthouse": "^9.6.3", "meow": "^10.1.3", "multimatch": "^6.0.0", "open": "^8.4.0", "ora": "^6.1.2", "ow": "^0.28.1", "portscanner": "^2.2.0", "puppeteer": "^15.3.0", "react": "^18.2.0", "speakingurl": "^14.0.1" }, "ava": { "typescript": { "extensions": [ "tsx", "ts" ], "rewritePaths": { "src/": "dist/" }, "compile": false } }, "xo": { "extends": "xo-react", "rules": { "import/extensions": "off", "@typescript-eslint/object-curly-spacing": "off", "@typescript-eslint/comma-dangle": "off", "react/jsx-tag-spacing": "off", "react/function-component-definition": "off", "operator-linebreak": "off", "curly": "off", "@typescript-eslint/quotes": [ "error", "single", { "avoidEscape": true } ] } }, "devDependencies": { "@ava/typescript": "^3.0.1", "@sindresorhus/tsconfig": "^3.0.1", "@types/chrome-remote-interface": "^0.31.4", "@types/gradient-string": "^1.1.2", "@types/ink-big-text": "^1.2.1", "@types/ink-box": "^1.0.2", "@types/ink-gradient": "^2.0.1", "@types/koa-compress": "^4.0.3", "@types/portscanner": "^2.1.1", "@types/react": "^18.0.14", "@types/speakingurl": "^13.0.3", "ava": "^4.3.0", "chalk": "^5.0.1", "eslint-config-xo-react": "^0.27.0", "eslint-plugin-react": "^7.30.1", "eslint-plugin-react-hooks": "^4.6.0", "ink-testing-library": "^2.1.0", "prettier": "^2.7.1", "type-fest": "^2.16.0", "typescript": "^4.7.4", "xo": "^0.50.0" } }