-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
122 lines (122 loc) · 2.22 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
114
115
116
117
118
119
120
121
122
{
"name": "@guardian/ab-react",
"version": "8.0.2",
"private": false,
"description": "A React library for A/B & multivariate testing",
"license": "Apache-2.0",
"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/ab-core": "7.0.0",
"@testing-library/react": "14.2.1",
"@types/jest": "29.5.8",
"@types/react": "18.2.11",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"rollup": "4.18.0",
"ts-jest": "29.1.1",
"tslib": "2.6.2",
"typescript": "5.3.3",
"wireit": "0.14.4"
},
"peerDependencies": {
"@guardian/ab-core": "^7.0.0",
"@types/react": "^18.2.11",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tslib": "^2.6.2",
"typescript": "~5.3.3"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"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": []
}
}
}