-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
113 lines (113 loc) · 2.04 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@guardian/core-web-vitals",
"version": "6.0.1",
"private": false,
"description": "Methods to help with the implementation of Google's Core Web Vitals",
"sideEffects": false,
"type": "module",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "wireit",
"dev": "jest --watch",
"fix": "wireit",
"lint": "wireit",
"test": "wireit",
"verify-dist": "wireit"
},
"devDependencies": {
"@guardian/libs": "16.0.0",
"@types/jest": "29.5.8",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"rollup": "4.18.0",
"ts-jest": "29.1.1",
"tslib": "2.6.2",
"typescript": "5.3.3",
"web-vitals": "3.5.0",
"wireit": "0.14.4"
},
"peerDependencies": {
"@guardian/libs": "^16.0.0",
"tslib": "^2.6.2",
"typescript": "~5.3.3",
"web-vitals": "^3.5.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"publishConfig": {
"access": "public"
},
"wireit": {
"build": {
"command": "rollup -c",
"files": [
"src/**",
"package.json",
"tsconfig.json",
"rollup.config.js",
"../../../configs/rollup/rollup.config.js"
],
"output": [
"dist"
]
},
"fix": {
"command": "eslint --cache --color . --fix",
"files": [
"**",
"../../../.eslint*",
"!(dist)/**",
"!.eslintcache"
],
"clean": false,
"output": [
"."
]
},
"lint": {
"command": "eslint --cache --color .",
"files": [
"**",
"../../../.eslint*",
"!(dist)/**",
"!.eslintcache"
],
"output": []
},
"test": {
"command": "jest",
"files": [
"**",
"../../../configs/jest.*",
"!(dist)/**",
"!.eslintcache"
],
"output": []
},
"verify-dist": {
"command": "jest --setupFilesAfterEnv ./jest.dist.setup.js",
"dependencies": [
"build"
],
"files": [
"**",
"../../../configs/jest.*",
"!(dist)/**",
"!.eslintcache"
],
"output": []
}
}
}