forked from browserless/browserless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
169 lines (169 loc) · 4.76 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
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "@browserless.io/browserless",
"version": "2.24.2",
"license": "SSPL",
"description": "The browserless platform",
"author": "browserless.io",
"type": "module",
"types": "./src/exports.ts",
"main": "./build/exports.js",
"exports": {
".": "./build/exports.js"
},
"bin": {
"browserless": "./bin/browserless.js"
},
"scripts": {
"build": "npm run clean && npm run build:ts && npm run install:adblock && npm run build:schemas && npm run build:devtools && npm run build:openapi",
"build:dev": "npm run build && npm run build:function && npm run install:debugger",
"build:devtools": "node scripts/install-devtools.js",
"build:function": "node scripts/build-function.js",
"build:schemas": "node scripts/build-schemas.js",
"build:openapi": "node scripts/build-open-api.js",
"build:ts": "tsc",
"clean": "node scripts/clean.js",
"dev": "npm run build:dev && env-cmd -f .env node build",
"install:adblock": "node scripts/install-adblock.js",
"install:debugger": "node scripts/install-debugger.js",
"install:browsers": "node node_modules/playwright-core/cli.js install chromium firefox webkit",
"install:dev": "npm run install:browsers && npm run install:debugger",
"lint": "cross-env ESLINT_USE_FLAT_CONFIG=false eslint . --ext .ts --fix",
"prepack": "npm run build:dev",
"prettier": "prettier '{src,functions,scripts,bin,external,.github}/**/*.{js,ts,json,yml,yaml,md}' --log-level error --write",
"test": "cross-env DEBUG=quiet mocha",
"start": "env-cmd -f .env node build"
},
"files": [
"assets/*",
"bin/*",
"build/*",
"docker/*",
"extensions/*",
"external/*",
"fonts/*",
"scripts/*",
"src/*",
"static/*",
"CHANGELOG.md",
"tsconfig.json"
],
"dependencies": {
"debug": "^4.4.0",
"del": "^8.0.0",
"enjoi": "^9.0.1",
"file-type": "^19.6.0",
"get-port": "^7.1.0",
"gradient-string": "^3.0.0",
"http-proxy": "^1.18.1",
"lighthouse": "^12.3.0",
"micromatch": "^4.0.8",
"playwright-1.45": "npm:playwright-core@1.45.3",
"playwright-1.46": "npm:playwright-core@1.46.1",
"playwright-1.47": "npm:playwright-core@1.47.2",
"playwright-1.48": "npm:playwright-core@1.48.2",
"playwright-core": "^1.49.1",
"puppeteer-core": "^24.0.0",
"puppeteer-extra": "^3.3.6",
"puppeteer-extra-plugin-stealth": "^2.11.2",
"queue": "^7.0.0",
"systeminformation": "^5.25.9",
"tar-fs": "^3.0.6"
},
"optionalDependencies": {
"@types/chai": "^5.0.1",
"@types/debug": "^4.1.12",
"@types/gradient-string": "^1.1.6",
"@types/http-proxy": "^1.17.15",
"@types/micromatch": "^4.0.9",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.5",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^8.19.1",
"@typescript-eslint/parser": "^8.19.1",
"assert": "^2.0.0",
"chai": "^5.1.2",
"cross-env": "^7.0.3",
"env-cmd": "^10.1.0",
"esbuild": "^0.24.2",
"esbuild-plugin-polyfill-node": "^0.3.0",
"eslint": "^9.17.0",
"extract-zip": "^2.0.1",
"gunzip-maybe": "^1.4.2",
"marked": "^15.0.6",
"mocha": "^11.0.1",
"move-file": "^3.1.0",
"prettier": "^3.4.2",
"sinon": "^19.0.2",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"typescript-json-schema": "^0.65.1"
},
"playwrightVersions": {
"default": "playwright-core",
"1.49": "playwright-core",
"1.48": "playwright-1.48",
"1.47": "playwright-1.47",
"1.46": "playwright-1.46",
"1.45": "playwright-1.45"
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"ignorePatterns": [
"node_modules/*",
"static/*",
"**.spec.ts",
"build/*",
".DS_Store",
".no-git/*",
"*.log"
],
"rules": {
"semi": [
2,
"always"
],
"no-async-promise-executor": 0,
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-var-requires": 0,
"sort-imports": [
"error",
{
"ignoreCase": false,
"ignoreDeclarationSort": false,
"ignoreMemberSort": false,
"memberSyntaxSortOrder": [
"none",
"all",
"multiple",
"single"
],
"allowSeparatedGroups": true
}
]
}
},
"mocha": {
"extension": [
"ts"
],
"loader": "ts-node/esm",
"spec": "src/**/*.spec.ts",
"timeout": 30000,
"slow": 5000
},
"prettier": {
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"printWidth": 80
}
}