@mizchi/crater-browser 0.0.1 → 0.0.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mizchi/crater-browser",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "Experimental TUI browser in MoonBit - renders web pages in the terminal",
5
5
  "type": "commonjs",
6
6
  "bin": {
@@ -13,10 +13,15 @@
13
13
  "build:moon": "moon build --target js",
14
14
  "build:minify": "rolldown target/js/release/build/src/main/main.js --platform=node --format=cjs --minify --file=dist/crater-browser.js --banner='#!/usr/bin/env node'",
15
15
  "build": "npm run build:moon && npm run build:minify",
16
- "prepublishOnly": "npm run build"
16
+ "prepublishOnly": "npm run build",
17
+ "test:webdriver": "tsx tests/webdriver-e2e-test.ts",
18
+ "cdp:server": "tsx tools/cdp-server.ts",
19
+ "test:cdp": "tsx tests/cdp-e2e-test.ts",
20
+ "test:cdp:navigate": "tsx tests/cdp-e2e-test-navigate.ts",
21
+ "test": "vitest run tests/cdp.test.ts"
17
22
  },
18
23
  "keywords": [
19
- "browser",
24
+ "b4rowser",
20
25
  "tui",
21
26
  "terminal",
22
27
  "moonbit",
@@ -33,6 +38,11 @@
33
38
  "node": ">=24"
34
39
  },
35
40
  "devDependencies": {
36
- "rolldown": "^1.0.0-beta.58"
41
+ "puppeteer-core": "^24.8.0",
42
+ "rolldown": "^1.0.0-beta.58",
43
+ "tsx": "^4.19.0",
44
+ "vitest": "^4.0.16",
45
+ "webdriver": "^9.23.0",
46
+ "ws": "^8.18.0"
37
47
  }
38
48
  }