UNPKG

perf-lens

Version:

AI-powered frontend performance optimizer

126 lines (125 loc) 3.14 kB
{ "name": "perf-lens", "version": "1.5.1", "description": "AI-powered frontend performance optimizer", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "bin": { "perf-lens": "./dist/index.js" }, "scripts": { "clean": "rm -rf dist", "copy-templates": "cp -r src/prompts/templates dist/prompts/", "build": "npm run clean && tsc && npm run copy-templates", "start": "tsx src/index.ts", "prepublishOnly": "npm run clean && npm run build", "dev": "tsc -w", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"", "format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\"", "typecheck": "tsc --noEmit", "prepare": "husky", "semantic-release": "semantic-release" }, "files": [ "dist", "dist/prompts/templates", "README.md", "LICENSE" ], "keywords": [ "performance", "optimization", "frontend", "react", "vue", "next.js", "nuxt", "astro", "remix", "ai", "analysis", "cli" ], "author": "Moiz Imran", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/moiz-imran/perf-lens.git" }, "engines": { "node": ">=18" }, "dependencies": { "@anthropic-ai/sdk": "^0.39.0", "@google/generative-ai": "^0.24.0", "@types/inquirer": "^9.0.7", "axios": "^1.8.3", "chalk": "^5.4.1", "commander": "^13.1.0", "cosmiconfig": "^9.0.0", "dotenv": "^16.4.7", "inquirer": "^12.5.0", "lighthouse": "^12.4.0", "openai": "^4.87.3", "ora": "^8.2.0", "zod": "^3.24.2" }, "devDependencies": { "@eslint/js": "^9.22.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^11.0.1", "@semantic-release/npm": "^12.0.1", "@types/node": "^22.13.10", "@typescript-eslint/eslint-plugin": "^8.26.1", "@typescript-eslint/parser": "^8.26.1", "eslint": "^9.22.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-prettier": "^5.2.3", "globals": "^16.0.0", "husky": "^9.1.7", "jest": "^29.7.0", "prettier": "^3.5.3", "semantic-release": "^24.2.3", "ts-node": "^10.9.2", "tsx": "^4.19.3", "typescript": "^5.8.2", "typescript-eslint": "^8.26.1" }, "release": { "branches": [ "main" ], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/changelog", "@semantic-release/npm", [ "@semantic-release/github", { "assets": [ { "path": "dist/index.js", "label": "Distribution file" } ] } ], [ "@semantic-release/git", { "assets": [ "package.json", "CHANGELOG.md" ], "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" } ] ] } }