forked from ulixee/hero
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 3.49 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
{
"name": "@ulixee/hero-monorepo",
"private": true,
"description": "The Web Browser Built for Scraping",
"scripts": {
"prepare": "husky",
"build": "yarn --frozen-lockfile && yarn tsc && cd ./build && cross-env ULX_MITM_REBUILD_SOCKET=1 yarn && pwd && yarn workspace @double-agent/config sync",
"build:docs": "ts-node ./docs/scripts/generateAwaitedDOM.ts",
"build:dist": "shx rm -rf build-dist && tsc -b tsconfig.dist.json && yarn copy:dist",
"build:simple": "yarn --frozen-lockfile && yarn tsc && cd ./build && yarn && pwd && yarn workspace @double-agent/config sync",
"build:dist-local": "yarn build:dist && cd build-dist && yarn",
"build:docker": "yarn build:dist && docker build -t hero .",
"copy:build": "ulx-repo-after-build && ulx-repo-adjust-paths && node alsoCopy.js",
"copy:dist": "ulx-repo-after-build --dist && shx cp -r \"browser-emulator-builder/data\" \"build-dist/plugins/default-browser-emulator\" && ulx-repo-adjust-paths build-dist",
"clean": "tsc -b --clean tsconfig.json",
"da:start": "cd build && yarn workspace @double-agent/collect-controller start",
"tsc": "tsc -b -i tsconfig.json && yarn copy:build",
"watch": "yarn tsc && tsc -b -w tsconfig.json",
"publish:all": "yarn workspaces foreach --topological-dev npm publish --access public",
"watch:dist": "tsc -b -w tsconfig.dist.json",
"test": "yarn copy:build && yarn test:build",
"test:build": "cd ./build && cross-env ULX_DATA_DIR=.data-test NODE_ENV=test jest",
"test:debug": "yarn build && yarn copy:build && cd ./build && cross-env ULX_DATA_DIR=.data-test NODE_ENV=test node --inspect node_modules/.bin/jest --runInBand",
"test:debug:fast": "yarn tsc && cd ./build && cross-env ULX_DATA_DIR=.data-test NODE_ENV=test node --inspect node_modules/.bin/jest --runInBand",
"lint": "eslint --cache ./",
"version:check": "ulx-repo-version-check fix",
"version:bump": "ulx-repo-version-bump"
},
"repository": "[email protected]:ulixee/hero.git",
"author": "Data Liberation Foundation",
"license": "MIT",
"bugs": {
"url": "https://github.com/ulixee/hero/issues"
},
"homepage": "https://ulixee.org",
"engines": {
"node": ">=18"
},
"devDependencies": {
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@types/jest": "^29.5.11",
"@types/node": "^18.19.10",
"@ulixee/awaited-dom": "1.4.2",
"@ulixee/repo-tools": "^1.0.33",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"decamelize": "^4.0.0",
"husky": "^9.0.7",
"jest": "^29.7.0",
"json2md": "^1.7.0",
"@lerna-lite/version": "^3.9.1",
"@lerna-lite/publish": "^3.9.1",
"lint-staged": "^13.2.2",
"noderdom-detached": "https://github.com/ulixee/noderdom-detached.git#dist",
"prettier": "^3.2.4",
"shx": "^0.3.3"
},
"workspaces": {
"packages": [
"agent/*",
"browser-emulator-builder",
"browser-profiler/*",
"client",
"commons",
"core",
"end-to-end",
"interfaces",
"js-path",
"net",
"playground",
"plugin-utils",
"plugins/*",
"real-user-agents",
"specification",
"testing",
"timetravel",
"double-agent/*",
"double-agent/collect/plugins/*",
"double-agent/analyze/plugins/*",
"double-agent-stacks"
],
"nohoist": [
"@ulixee/repo-tools"
]
},
"lint-staged": {
"*.ts": [
"eslint --fix"
],
"*.json": [
"prettier --write"
]
},
"packageManager": "[email protected]"
}