coach-core
Version:
Core package for the Coach.
90 lines (89 loc) • 2.65 kB
JSON
{
"name": "coach-core",
"version": "9.2.1",
"description": "Core package for the Coach.",
"keywords": [
"performance",
"web",
"advice",
"webperf",
"perfmatters",
"coach"
],
"main": "./lib/index.js",
"type": "module",
"exports": {
".": {
"import": "./lib/index.js"
}
},
"engines": {
"node": ">=20.0.0"
},
"files": [
"lib",
"dist"
],
"repository": {
"type": "git",
"url": "git://github.com/sitespeedio/coach-core.git"
},
"bugs": {
"url": "https://github.com/sitespeedio/coach-core/issues"
},
"ava": {
"files": [
"test/api/harTest.js",
"test/api/mergeTest.js",
"test/api/splitTest.js",
"test/dom/idTest.js",
"test/har/**/*Test.js",
"test/merge/**/*Test.js"
]
},
"scripts": {
"combine": "node tools/combine.js dist/coach.js",
"test:api": "ava test/api/harTest.js test/api/mergeTest.js test/api/splitTest.js",
"test:dom": "ava test/dom/idTest.js test/dom/adviceTest.js test/dom/combinedTest.js \"test/dom/bestpractice/**/*Test.js\" \"test/dom/info/**/*Test.js\" \"test/dom/performance/**/*Test.js\" \"test/dom/privacy/**/*Test.js\" \"test/dom/timings/**/*Test.js\"",
"test:har": "ava \"test/har/**/*Test.js\"",
"test:merge": "ava \"test/merge/**/*Test.js\"",
"pretest": "npm run combine && npm run terser",
"test": "ava",
"test:browser": "ava test/api/domTest.js test/dom/adviceTest.js test/dom/combinedTest.js \"test/dom/bestpractice/**/*Test.js\" \"test/dom/info/**/*Test.js\" \"test/dom/performance/**/*Test.js\" \"test/dom/privacy/**/*Test.js\" \"test/dom/timings/**/*Test.js\"",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepare": "npm run combine && npm run terser",
"gen-dist": "npm run combine && npm run terser",
"terser": "terser dist/coach.js --compress negate_iife=false --mangle --format wrap_iife=true --parse acorn > dist/coach.min.js"
},
"devDependencies": {
"@eslint/js": "10.0.1",
"ava": "6.4.1",
"browsertime": "27.0.0",
"eslint": "10.4.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-unicorn": "64.0.0",
"globals": "17.6.0",
"prettier": "^3.4.2",
"terser": "^5.37.0"
},
"homepage": "https://www.sitespeed.io/documentation/coach/",
"license": "MIT",
"author": {
"name": "Peter Hedenskog",
"url": "https://www.peterhedenskog.com"
},
"contributors": [
{
"name": "Tobias Lidskog"
},
{
"name": "Jonathan Lee"
}
],
"dependencies": {
"pagexray": "5.0.0",
"third-party-web": "0.29.2"
}
}