|
1 | 1 | { |
2 | | - "name": "@mercuryworkshop/scramjet", |
3 | | - "version": "2.0.0-alpha", |
4 | | - "description": "An experimental web proxy that aims to be the successor to Ultraviolet", |
5 | | - "type": "module", |
6 | | - "types": "./dist/types/index.d.ts", |
7 | | - "repository": { |
8 | | - "type": "git", |
9 | | - "url": "https://github.com/MercuryWorkshop/scramjet" |
10 | | - }, |
| 2 | + "name": "browser.js", |
| 3 | + "version": "1.0.0", |
| 4 | + "description": "", |
11 | 5 | "scripts": { |
12 | | - "build": "rspack build --mode production", |
13 | | - "build:types": "rslib build && rm -rf dist/temp", |
14 | | - "build:all": "npm run build && npm run build:types", |
15 | | - "rewriter:build": "cd rewriter/wasm/ && bash build.sh && cd ../../", |
16 | | - "dev": "node server.js", |
17 | | - "dev:debug": "DEBUG=1 node server.js", |
18 | | - "prepack": "RELEASE=1 npm run rewriter:build && npm run build:all", |
19 | | - "pub": "npm publish --no-git-checks --access public", |
20 | | - "format": "prettier --write .", |
21 | | - "format:docs": "remark \"docs/**/*.{md,mdx}\" --output", |
22 | | - "lint": "eslint ./src/", |
23 | | - "lint:fix": "eslint ./src/ --fix", |
24 | | - "lint:workflows": "actionlint .github/workflows/*.yml", |
25 | | - "lint:all": "npm run lint && npm run lint:workflows", |
26 | | - "test": "npm run test:package && npm run test:integration", |
27 | | - "test:package": "ava tests/ci/packageValidation.js", |
28 | | - "test:integration": "npx playwright test", |
29 | | - "preinstall": "npx only-allow pnpm", |
30 | | - "docs": "typedoc", |
31 | | - "docs:dev": "typedoc --options typedoc.dev-facing.json", |
32 | | - "docs:serve": "npx serve _docs; typedoc --watch" |
33 | | - }, |
34 | | - "exports": { |
35 | | - ".": { |
36 | | - "types": "./dist/types/types.d.ts", |
37 | | - "default": "./lib/noop.js" |
38 | | - }, |
39 | | - "./path": { |
40 | | - "types": "./lib/index.d.ts", |
41 | | - "default": "./lib/index.cjs" |
42 | | - }, |
43 | | - "./bundled": { |
44 | | - "types": "./dist/types/index.d.ts", |
45 | | - "default": "./dist/scramjet.bundle.js" |
46 | | - } |
| 6 | + "build:dreamland": "cd external/dreamlandjs && pnpm build", |
| 7 | + "dev:chrome": "cd packages/chrome && pnpm dev", |
| 8 | + "build:chrome": "cd packages/chrome && pnpm build", |
| 9 | + "build": "rspack build", |
| 10 | + "watch": "rspack build --watch" |
47 | 11 | }, |
48 | | - "files": [ |
49 | | - "dist", |
50 | | - "lib" |
51 | | - ], |
| 12 | + "type": "module", |
52 | 13 | "keywords": [], |
53 | 14 | "author": "", |
54 | | - "license": "MIT", |
55 | | - "ava": { |
56 | | - "files": [ |
57 | | - "tests/ci/**/*.js" |
58 | | - ], |
59 | | - "verbose": true |
60 | | - }, |
| 15 | + "license": "AGPL-3.0-only", |
| 16 | + "packageManager": "[email protected]", |
61 | 17 | "devDependencies": { |
62 | | - "@8hobbies/typedoc-plugin-404": "^3.2.1", |
63 | | - "@8hobbies/typedoc-plugin-plausible": "^2.2.0", |
64 | | - "@catppuccin/vscode": "^3.18.0", |
65 | | - "@eslint/eslintrc": "^3.3.1", |
66 | | - "@eslint/js": "^9.35.0", |
67 | | - "@estruyf/github-actions-reporter": "^1.10.0", |
68 | | - "@fastify/static": "^8.2.0", |
69 | | - "@giancosta86/typedoc-readonly": "^1.0.1", |
70 | | - "@mercuryworkshop/bare-as-module3": "^2.2.5", |
71 | | - "@mercuryworkshop/epoxy-transport": "^2.1.28", |
72 | | - "@mercuryworkshop/libcurl-transport": "^1.5.0", |
73 | | - "@mercuryworkshop/wisp-js": "^0.3.3", |
74 | | - "@nebula-services/bare-server-node": "^2.0.4", |
75 | | - "@playwright/test": "^1.55.0", |
76 | | - "@reside-ic/typedoc-plugin-copy-doc": "^1.1.2", |
77 | 18 | "@rsdoctor/rspack-plugin": "^1.2.3", |
78 | | - "@rslib/core": "^0.13.2", |
79 | | - "@rspack/cli": "^1.5.3", |
80 | | - "@rspack/core": "^1.5.3", |
81 | | - "@shipgirl/typedoc-plugin-versions": "^0.3.2", |
82 | | - "@stephansama/catppuccin-typedoc": "^1.0.1", |
83 | | - "@types/eslint": "^9.6.1", |
84 | | - "@types/estree": "^1.0.8", |
85 | | - "@types/node": "^24.3.1", |
86 | | - "@types/serviceworker": "^0.0.152", |
87 | | - "@typescript-eslint/eslint-plugin": "^8.43.0", |
88 | | - "@typescript-eslint/parser": "^8.43.0", |
89 | | - "actionlint": "^2.0.6", |
90 | | - "ava": "^6.4.1", |
91 | | - "dotenv": "^17.2.2", |
92 | | - "eslint": "^9.35.0", |
93 | | - "fastify": "^5.6.0", |
94 | | - "glob": "^11.0.3", |
95 | | - "playwright": "^1.55.0", |
96 | | - "prettier": "^3.6.2", |
97 | | - "remark": "^15.0.1", |
98 | | - "remark-cli": "^12.0.1", |
99 | | - "remark-frontmatter": "^5.0.0", |
100 | | - "remark-mdx": "^3.1.1", |
101 | | - "remark-stringify": "^11.0.0", |
102 | | - "ts-checker-rspack-plugin": "^1.1.5", |
103 | | - "tsc-alias": "^1.8.16", |
104 | | - "tslib": "^2.8.1", |
105 | | - "typedoc": "^0.28.12", |
106 | | - "typedoc-material-theme": "^1.4.0", |
107 | | - "typedoc-plugin-frontmatter": "^1.3.0", |
108 | | - "typedoc-plugin-include-example": "^2.1.2", |
109 | | - "typedoc-plugin-markdown": "^4.8.1", |
110 | | - "typedoc-plugin-mdn-links": "^5.0.9", |
111 | | - "typescript": "^5.9.2" |
112 | | - }, |
113 | | - "dependencies": { |
114 | | - "@mercuryworkshop/epoxy-tls": "2.1.18-1", |
115 | | - "dom-serializer": "^2.0.0", |
116 | | - "domhandler": "^5.0.3", |
117 | | - "domutils": "^3.2.2", |
118 | | - "htmlparser2": "10.0.0", |
119 | | - "libcurl.js": "^0.7.2", |
120 | | - "idb": "^8.0.3", |
121 | | - "parse-domain": "^8.2.2", |
122 | | - "set-cookie-parser": "^2.7.1" |
| 19 | + "@rslib/core": "^0.13.3", |
| 20 | + "@rspack/cli": "^1.5.6", |
| 21 | + "@rspack/core": "^1.5.6", |
| 22 | + "bufferutil": "^4.0.9", |
| 23 | + "ts-checker-rspack-plugin": "^1.1.5" |
123 | 24 | } |
124 | 25 | } |
0 commit comments