@browsermation/browser-engine 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "@browsermation/browser-engine",
3
+ "version": "0.0.4",
4
+ "private": false,
5
+ "license": "",
6
+ "main": "./dist/server.obf.js",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "exports": {
11
+ "*": "./src/server.ts"
12
+ },
13
+ "devDependencies": {
14
+ "@tsconfig/node22": "^22.0.5",
15
+ "@types/node": "^25.0.3",
16
+ "esbuild": "^0.27.2",
17
+ "tsx": "^4.21.0",
18
+ "typescript": "^5.9.3"
19
+ },
20
+ "dependencies": {
21
+ "chalk": "^5.6.2",
22
+ "hono": "^4.11.3"
23
+ },
24
+ "peerDependencies": {
25
+ "playwright": ">=1.57.0",
26
+ "playwright-core": ">=1.57.0",
27
+ "@sparticuz/chromium": ">=143.0.0"
28
+ },
29
+ "peerDependenciesMeta": {
30
+ "playwright": {
31
+ "optional": true
32
+ },
33
+ "playwright-core": {
34
+ "optional": true
35
+ },
36
+ "@sparticuz/chromium": {
37
+ "optional": true
38
+ }
39
+ },
40
+ "scripts": {
41
+ "dev": "DEBUG_FILE=debug.log DEBUG=server:channel IS_DEV=true tsx watch src/server.ts",
42
+ "build": "rm -rf dist && esbuild src/server.ts --bundle --platform=node --target=node22 --outfile=dist/server.js --external:playwright --external:playwright-core --external:@sparticuz/chromium --loader:.node=file --minify && npm run obfuscate",
43
+ "start": "node dist/server.obf.js",
44
+ "obfuscate": "npx javascript-obfuscator dist/server.js --output dist/server.obf.js && rm dist/server.js",
45
+ "publishPackage": "npm run build && npm publish --access public",
46
+ "publishBetaPackage": "npm run build && npm publish --access public --tag beta"
47
+ }
48
+ }