-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
78 lines (78 loc) · 2 KB
/
package.json
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
68
69
70
71
72
73
74
75
76
77
78
{
"name": "web-vitals-reporter",
"version": "1.0.0",
"description": "Report Web Vitals to your API with one POST request per session",
"repository": "treosh/web-vitals-reporter",
"bugs": "https://github.com/treosh/web-vitals-reporter/issues",
"license": "MIT",
"sideEffects": false,
"source": "src/index.js",
"module": "src/index.js",
"main": "dist/web-vitals-reporter.js",
"types": "dist/web-vitals-reporter.d.ts",
"unpkg": "dist/web-vitals-reporter.umd.js",
"files": [
"dist",
"src"
],
"scripts": {
"build": "rm -rf dist && microbundle build --no-sourcemap --format=cjs,umd && yarn build:tsc",
"build:tsc": "tsc --declaration --noEmit false --outDir dist/ --allowJs src/index.js && rm dist/index.js && mv dist/index.d.ts dist/web-vitals-reporter.d.ts",
"test": "prettier -c src README.md && tsc -p . && size-limit && ava -t",
"prepack": "yarn build"
},
"dependencies": {
"web-vitals": "^1.0.1"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^10.0.0",
"@size-limit/preset-small-lib": "^4.8.0",
"@types/canvas-confetti": "^1.3.0",
"@types/express": "^4.17.9",
"ava": "^3.13.0",
"body-parser": "^1.19.0",
"canvas-confetti": "^1.3.2",
"esm": "^3.2.25",
"express": "^4.17.1",
"first-input-delay": "^0.1.3",
"microbundle": "^0.12.4",
"playwright": "^1.6.2",
"prettier": "^2.2.0",
"rollup": "^2.33.3",
"size-limit": "^4.8.0",
"typescript": "^4.1.2"
},
"keywords": [
"web vitals",
"api",
"metrics",
"FCP",
"LCP",
"FID",
"CLS",
"CrUX",
"chrome user experience report",
"web performance",
"time to first byte",
"first contentful paint",
"largest contentful paint",
"first input delay",
"cumulative layout shift",
"network connection",
"device memory"
],
"size-limit": [
{
"limit": "800B",
"path": "./src/index.js"
}
],
"ava": {
"require": [
"esm"
],
"files": [
"test/index.js"
]
}
}