-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
152 lines (152 loc) · 4.13 KB
/
package.json
File metadata and controls
152 lines (152 loc) · 4.13 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
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "@zendesk/laika",
"version": "0.0.0-development",
"description": "Test, mock, intercept and modify Apollo Client's operations — in both browser and unit tests!",
"keywords": [
"apollo",
"apollo-client",
"graphql",
"mock",
"testing",
"test",
"apollo-link",
"link"
],
"bugs": {
"url": "https://github.com/zendesk/laika/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/zendesk/laika.git"
},
"engines": {
"node": "24.x"
},
"license": "Apache-2.0",
"author": "Zendesk <pingu-npm@zendesk.com>",
"sideEffects": false,
"exports": {
".": {
"import": "./esm/main.js",
"require": "./cjs/main.js"
},
"./*": {
"import": "./esm/*.js",
"require": "./cjs/*.js"
},
"./cjs": {
"require": "./cjs/main.js"
},
"./cjs/*": {
"require": "./cjs/*.js"
},
"./esm/*": {
"import": "./esm/*.js"
},
"./package.json": "./package.json"
},
"main": "cjs/main.js",
"module": "esm/main.js",
"source": "src/main.ts",
"scripts": {
"build": "yarn build:cjs && yarn build:esm",
"build:cjs": "tsc --outDir cjs --module commonjs --target es2015",
"build:esm": "tsc --outDir esm --module esnext --target es2015",
"clean": "rm -rf build cjs coverage dist dts esm lib mjs umd *.tsbuildinfo",
"format": "prettier --write \"./{scripts,src,tests}/**/*.{js,jsx,cjs,mjs,ts,tsx,json,md}\"",
"release": "node ./scripts/release.mjs",
"test": "yarn test:format && yarn test:types && yarn test:lint && yarn test:compat && yarn test:code",
"test:compat": "yarn build && yarn test:compat:consumer && yarn test:compat:jest",
"test:compat:consumer": "node ./scripts/test-apollo-compat.mjs",
"test:compat:jest": "node ./scripts/test-apollo-jest-compat.mjs",
"test:code": "jest",
"test:format": "prettier --check \"./{scripts,src,tests}/**/!(*.d).{js,jsx,cjs,mjs,ts,tsx,json,md}\"",
"test:lint": "eslint 'src/**'",
"test:types": "tsc --noEmit"
},
"dependencies": {
"lodash": "^4.18.1"
},
"devDependencies": {
"@apollo/client": "^4.1.9",
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.2",
"@commitlint/config-conventional": "^20.5.0",
"@eslint/js": "^10.0.1",
"@semantic-release/exec": "^7.1.0",
"@swc/core": "^1.15.32",
"@swc/jest": "^0.2.39",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.24",
"commitlint": "^20.5.2",
"eslint": "^10.2.1",
"eslint-plugin-import": "^2.32.0",
"globals": "^17.5.0",
"graphql": "^16.13.2",
"graphql-tag": "^2.12.6",
"jest": "^30.3.0",
"prettier": "^3.8.3",
"rxjs": "^7.8.2",
"semantic-release": "^25.0.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.0",
"wait-for-observables": "^1.0.3"
},
"peerDependencies": {
"@apollo/client": ">=3.2.5 <5",
"graphql": "^15.0.0 || ^16.0.0",
"rxjs": "^7.3.0"
},
"peerDependenciesMeta": {
"rxjs": {
"optional": true
}
},
"publishConfig": {
"access": "public"
},
"collaborators": [
"Bazyli Brzóska <bbrzoska@zendesk.com>"
],
"release": {
"tagFormat": "${version}",
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"master",
{
"name": "main",
"channel": false
},
"next",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"npmPublish": false,
"tarballDir": "dist"
}
],
[
"@semantic-release/exec",
{
"verifyConditionsCmd": "node ./scripts/npm-release-with-totp.mjs verify",
"publishCmd": "node ./scripts/npm-release-with-totp.mjs publish \"${nextRelease.version}\" \"${branch.name}\"",
"addChannelCmd": "node ./scripts/npm-release-with-totp.mjs add-channel \"${nextRelease.version}\" \"${branch.name}\""
}
],
"@semantic-release/github"
]
},
"packageManager": "yarn@4.14.1"
}