-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
97 lines (97 loc) · 2.65 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
{
"name": "puppeteer-intercept-and-modify-requests",
"keywords": [
"puppeteer",
"intercept",
"modify",
"request",
"chromium",
"devtools-protocol",
"network",
"fetch",
"mock",
"stub",
"testing",
"utility"
],
"bugs": {
"url": "https://github.com/niieani/puppeteer-intercept-and-modify-requests/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/niieani/puppeteer-intercept-and-modify-requests.git"
},
"license": "Apache-2.0",
"author": "Bazyli Brzoska <[email protected]> (https://invent.life)",
"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": "yarn rrun tsc --outDir cjs --module commonjs --target es2018",
"build:esm": "yarn rrun tsc --outDir esm --module esnext --target es2018 && echo '{\"name\": \"puppeteer-intercept-and-modify-requests\", \"type\": \"module\"}' > esm/package.json",
"clean": "git clean -dfX --exclude=node_modules src && beemo typescript:sync-project-refs",
"format": "yarn rrun prettier --write \"./{src,tests,.config}/**/!(*.d).{.js,jsx,ts,tsx,json,md}\"",
"postinstallDev": "yarn prepare",
"prepare": "rrun husky install .config/husky && beemo create-config",
"release": "beemo run-script release",
"test": "yarn test:format && yarn test:types && yarn test:lint && yarn test:code",
"test:code": "yarn rrun jest",
"test:format": "yarn rrun prettier --check \"./{src,tests,.config}/**/!(*.d).{.js,jsx,ts,tsx,json,md}\"",
"test:lint": "rrun eslint 'src/**/*.{js,jsx,ts,tsx}'",
"test:types": "yarn rrun tsc --noEmit"
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"master",
{
"name": "main",
"channel": false
},
"next",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"tagFormat": "${version}"
},
"devDependencies": {
"@niieani/scaffold": "^1.7.11",
"get-port": "^5.0.0",
"puppeteer": "^21.5.0",
"puppeteer-core": "^21.5.0"
},
"packageManager": "[email protected]",
"publishConfig": {
"access": "public"
},
"dependencies": {
"escape-string-regexp": "^4.0.0"
}
}