-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.78 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (49 loc) · 1.78 KB
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
{
"name": "compiler",
"version": "1.0.0",
"description": "",
"license": "GPL-3.0",
"author": "0xfffb",
"type": "module",
"main": "dist/cli.js",
"bin": {
"twisted": "dist/cli.js"
},
"scripts": {
"cli": "node --import tsx src/cli.ts",
"test": "node --import tsx --test tests/compiler.test.ts tests/vm.test.ts tests/obfuscator.test.ts",
"test:watch": "node --import tsx --test --watch tests/compiler.test.ts tests/vm.test.ts tests/obfuscator.test.ts",
"debugger": "tsx src/debugger.ts",
"typecheck": "tsc --noEmit",
"build:ts": "tsc",
"build": "npm run build:ts",
"build:bundle": "npm run cli -- build files/fingerprint.js dist/browser/bundle.json",
"build:runtime": "npm run cli -- runtime dist/browser/bundle.json dist/browser/runtime.js",
"build:all": "npm run cli -- all example/fingerprint.js dist/browser/bundle.json dist/browser/runtime.js --obfuscate",
"build:all:plain": "npm run cli -- all example/fingerprint.js dist/browser/bundle.json dist/browser/runtime.js",
"dump": "npm run cli -- dump example/fingerprint.js dist/browser",
"format": "prettier --write \"src/**/*.{js,ts}\"",
"format:check": "prettier --check \"src/**/*.{ts,js}\""
},
"devDependencies": {
"@babel/generator": "^7.28.3",
"@babel/parser": "^7.24.7",
"@babel/traverse": "^7.24.7",
"@babel/types": "^7.24.7",
"@types/babel__core": "^7.20.5",
"@types/babel__generator": "^7.6.8",
"@types/babel__traverse": "^7.20.5",
"@types/jsdom": "^27.0.0",
"@types/node": "^24.10.1",
"esbuild": "^0.27.4",
"javascript-obfuscator": "^5.4.1",
"jsdom": "^27.3.0",
"prettier": "^3.7.4",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
},
"dependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.2"
}
}