UNPKG

preload-links-by-lighthouse

Version:

Generate html with embedded preload links using lighthouse

60 lines (59 loc) 1.83 kB
{ "name": "preload-links-by-lighthouse", "description": "Generate html with embedded preload links using lighthouse", "version": "0.1.0", "repository": "https://github.com/mizdra/preload-links-by-lighthouse.git", "author": "mizdra <pp.mizdra@gmail.com>", "license": "MIT", "private": false, "main": "dist/umd/index.js", "module": "dist/esm/index.js", "sideEffects": false, "scripts": { "start": "node dist/index.js", "build": "run-s build:*", "build:umd": "tsc -p tsconfig.json --module UMD --outDir dist/umd", "build:esm": "tsc -p tsconfig.json --module ESNext --outDir dist/esm", "dev": "yarn run ts-node --files example/1-print-preload-links.ts", "check": "run-s check:*", "check:tsc": "run-s check:tsc:*", "check:tsc:src": "tsc -p tsconfig.json --noEmit", "check:tsc:example": "tsc -p example/tsconfig.json --noEmit", "check:eslint": "eslint src", "check:prettier": "prettier --check ." }, "devDependencies": { "@mizdra/eslint-config-mizdra": "^0.7.0", "@mizdra/prettier-config-mizdra": "^0.3.0", "@types/node": "^14.14.10", "@typescript-eslint/eslint-plugin": "^4.10.0", "@typescript-eslint/parser": "^4.10.0", "eslint": "^7.16.0", "eslint-config-prettier": "^7.1.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-prettier": "^3.3.0", "npm-run-all": "^4.1.5", "piscina": "^2.1.0", "prettier": "2.2.1", "ts-node": "^9.0.0", "typescript": "^4.1.2" }, "dependencies": { "chrome-launcher": "^0.13.4", "devtools-protocol": "^0.0.852555", "lighthouse": "^7.0.1" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "keywords": [ "lighthouse", "performance", "dynamic-analysis" ], "files": [ "src", "dist" ] }