Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ulixee
GitHub Repository: ulixee/secret-agent
Path: blob/main/replay/package.json
1028 views
1
{
2
"name": "@secret-agent/replay",
3
"author": "Data Liberation Foundation",
4
"contributors": [
5
"Caleb Clark",
6
"Blake Byrnes"
7
],
8
"bin": {
9
"replay": "./bin.js"
10
},
11
"repository": "[email protected]:ulixee/secret-agent.git",
12
"description": "A browser for visually replaying your scraper scripts",
13
"version": "1.6.5",
14
"main": "./app.js",
15
"files": [
16
"index.js",
17
"bin.js",
18
"install/*"
19
],
20
"build": {
21
"appId": "dev.secretagent.replay",
22
"productName": "SecretAgentReplay",
23
"mac": {
24
"target": {
25
"target": "dir",
26
"arch": [
27
"arm64",
28
"x64"
29
]
30
},
31
"artifactName": "replay-${version}-${os}${ext}"
32
},
33
"win": {
34
"target": "dir",
35
"artifactName": "replay-${version}-${os}${ext}"
36
},
37
"linux": {
38
"executableName": "secretagentreplay",
39
"category": "Network",
40
"target": "dir",
41
"artifactName": "replay-${version}-${os}${ext}"
42
},
43
"publish": [
44
{
45
"provider": "github",
46
"releaseType": "prerelease"
47
}
48
]
49
},
50
"scripts": {
51
"build:frontend": "cd frontend && yarn build",
52
"build:backend-paths": "tscpaths -p tsconfig.json -s ./ -o ../build/replay",
53
"build:backend": "tsc -b tsconfig.json && yarn build:backend-paths && shx cp package.json ../build/replay && shx cp -r *.png ../build/replay",
54
"build:icons": "electron-icon-builder -f --input=./[email protected] --output=../build/replay/build",
55
"build:dist": "yarn build:frontend && yarn build:backend",
56
"build:dist-local": "yarn build:dist && shx cp pack-local.sh ../build/replay/ && cd ../build/replay && electron-builder && ./pack-local.sh && shx cp -r dist ../../build-dist/replay",
57
"build": "yarn build:dist",
58
"build:pack": "yarn build:icons && shx cp pack.sh pack-local.sh ../build/replay/ && cd ../build/replay && electron-builder -mwl && ./pack.sh",
59
"clean": "shx rm -rf ../build/replay/static && shx rm -rf ../build/replay/dist && tsc -b --clean tsconfig.json && tsc -b --clean frontend/tsconfig.json",
60
"dev": "yarn build:backend && concurrently -k -n backend,frontend -c blue,green \"yarn start:backend\" \"cd frontend && yarn dev\"",
61
"start:backend": "cross-env CLEAR_LOGS=true WEBPACK_DEV_SERVER_URL=http://localhost:8080 NODE_ENV=development electron ../build/replay",
62
"start:frontend": "cd frontend && yarn dev",
63
"start": "electron ../build/replay",
64
"logs": "touch ~/Library/Logs/@secret-agent/replay/main.log && tail -f -100 ~/Library/Logs/@secret-agent/replay/main.log"
65
},
66
"license": "MIT",
67
"dependencies": {
68
"@babel/runtime-corejs3": "^7.11.2",
69
"@secret-agent/commons": "1.6.5",
70
"compare-versions": "^3.6.0",
71
"core-js": "^3.6.5",
72
"electron-log": "^4.3.2",
73
"moment": "^2.29.3",
74
"progress": "^2.0.3",
75
"proper-lockfile": "^4.1.1",
76
"source-map-support": "^0.5.19",
77
"tar": "^6.1.11",
78
"uuid": "^8.3.2",
79
"ws": "^7.4.6"
80
},
81
"devDependencies": {
82
"@types/chrome": "^0.0.113",
83
"@types/fs-extra": "9.0.7",
84
"@types/node": "^13.13.34",
85
"@types/proper-lockfile": "^4.1.1",
86
"@types/tar": "^4.0.4",
87
"concurrently": "^5.2.0",
88
"core-js": "^3.6.5",
89
"cross-env": "^7.0.3",
90
"electron": "12.1.2",
91
"electron-builder": "^22.10.5",
92
"electron-icon-builder": "^1.0.2",
93
"shx": "^0.3.3",
94
"tscpaths": "^0.0.9",
95
"typescript": "~4.1.2"
96
}
97
}
98
99