UNPKG

crux-lookup

Version:

A simple CLI utility for grabbing URL-/origin-level Core Web Vitals using the Chrome User Experience Report (CrUX) API

59 lines (58 loc) 1.66 kB
{ "name": "crux-lookup", "version": "0.8.0", "description": "A simple CLI utility for grabbing URL-/origin-level Core Web Vitals using the Chrome User Experience Report (CrUX) API", "type": "module", "main": "lib/index.js", "types": "lib/index.d.ts", "bin": { "crux-lookup": "lib/index.js" }, "scripts": { "test": "jest --config jestconfig.json", "build": "tsc", "format": "prettier --write \"src/**/*.ts\" \"lib/**/*.js\"", "lint": "tslint -p tsconfig.json", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "version": "npm run format && git add -A src", "preversion": "npm run lint", "postversion": "git push && git push --tags", "postinstall": "echo \"Successfully nstalled crux-lookup v$(crux-lookup --version)\" && crux-lookup config" }, "files": [ "lib/**/*" ], "repository": { "type": "git", "url": "git+https://github.com/ilyamotamedi/CrUX-Lookup.git" }, "keywords": [ "CrUX", "Chrome User Experience Report", "CWV", "Core Web Vitals" ], "author": "Ilya Motamedi", "license": "GPL-3.0-or-later", "bugs": { "url": "https://github.com/ilyamotamedi/CrUX-Lookup/issues" }, "homepage": "https://github.com/ilyamotamedi/CrUX-Lookup#readme", "devDependencies": { "@types/jest": "^27.4.1", "jest": "^27.5.1", "prettier": "^2.5.1", "ts-jest": "^27.1.3", "tslint": "^6.1.3", "tslint-config-prettier": "^1.18.0", "typescript": "^4.6.2" }, "dependencies": { "commander": "^9.4.0", "crux-api": "^2.0.0", "dotenv": "^16.0.2", "node-fetch": "^3.2.10", "ora": "^6.1.2" } }