-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.8 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "@irisfield/loopwatch",
"version": "0.0.1",
"description": "Event-loop lag measurement and CI enforcement for Playwright and React.",
"type": "module",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs"
},
"./assert": {
"types": "./dist/assert.d.ts",
"import": "./dist/assert.mjs"
},
"./summary": {
"types": "./dist/summary.d.ts",
"import": "./dist/summary.mjs"
},
"./serialization": {
"types": "./dist/serialization.d.ts",
"import": "./dist/serialization.mjs"
}
},
"sideEffects": false,
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "rollup -c",
"type-check": "tsc --noEmit",
"test": "vitest run",
"test:browser": "playwright test",
"test:browser:install": "playwright install chromium",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint --cache src test browser-smoke playwright.config.ts",
"format": "prettier --write \"{src,test,browser-smoke}/**/*.ts\" \"playwright.config.ts\" --list-different",
"test:pack": "bun run build && node scripts/smoke-dist.mjs && bun pm pack --dry-run",
"prepublishOnly": "bun run lint && bun run type-check && bun run test && bun run test:pack"
},
"engines": {
"node": ">=22"
},
"license": "MIT",
"homepage": "https://github.com/irisfield/loopwatch#readme",
"bugs": {
"url": "https://github.com/irisfield/loopwatch/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/irisfield/loopwatch.git"
},
"keywords": [
"event-loop",
"performance",
"playwright",
"ci",
"testing",
"inp",
"long-task",
"performance-observer",
"typescript"
]
}