-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.32 KB
/
package.json
File metadata and controls
80 lines (80 loc) · 2.32 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
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "@bbc/web-vitals",
"version": "2.6.0",
"main": "dist/cjs.js",
"module": "dist/esm.js",
"exports": {
".": {
"require": "./dist/cjs.js",
"import": "./dist/esm.js"
}
},
"files": [
"dist"
],
"sideEffects": false,
"description": "Generic hook for reporting web vitals metrics to an endpoint",
"scripts": {
"build": "rollup -c",
"prepublishOnly": "rm -rf dist && npm run build",
"test": "yarn test:lint && yarn test:unit",
"test:ci": "yarn test:lint && yarn test:unit:ci",
"test:lint": "eslint --ext .js,jsx,json ./scripts",
"test:unit": "yarn build && jest --verbose --coverage",
"test:unit:ci": "jest --verbose --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bbc/web-vitals.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"author": {
"name": "BBC"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/bbc/web-vitals/issues"
},
"homepage": "https://github.com/bbc/web-vitals/blob/main/README.md",
"dependencies": {
"web-vitals": "^3.3.2"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.0",
"@babel/plugin-proposal-export-default-from": "7.14.5",
"@babel/plugin-transform-modules-commonjs": "7.14.5",
"@babel/plugin-transform-runtime": "7.14.5",
"@babel/preset-env": "7.14.5",
"@babel/preset-react": "7.14.5",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-terser": "^0.4.4",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^15.0.0",
"@testing-library/user-event": "^14.6.1",
"babel-eslint": "10.1.0",
"babel-plugin-add-import-extension": "^1.6.0",
"eslint": "^7.10.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-es5": "^1.5.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-json": "4.0.1",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.22.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "3.6.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"rollup": "^4.32.1",
"rollup-plugin-auto-external": "^2.0.0",
"shelljs": "^0.8.5"
},
"packageManager": "yarn@3.8.2"
}