add build step
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
bundle.js
|
||||
venv
|
||||
node_modules
|
||||
build
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
.PHONY: run hook install-wireshark-dissector test
|
||||
.PHONY: run hook install-wireshark-dissector test build
|
||||
|
||||
bundle.js: frida-hooks.js func_replacements.js
|
||||
~/node_modules/.bin/frida-compile -o $@ frida-hooks.js
|
||||
@@ -8,6 +8,10 @@ venv: requirements.txt
|
||||
./venv/bin/pip install -r requirements.txt
|
||||
touch venv
|
||||
|
||||
build: node_modules
|
||||
./node_modules/.bin/tsc
|
||||
tar czf build.tar.gz build package.json
|
||||
|
||||
run: node_modules
|
||||
./node_modules/.bin/ts-node --esm http_server.ts
|
||||
|
||||
|
||||
+8
-2
@@ -1,10 +1,16 @@
|
||||
{
|
||||
|
||||
"include": ["*.ts"],
|
||||
"compilerOptions": {
|
||||
"target": "es6",
|
||||
"module": "esnext",
|
||||
"module": "es6",
|
||||
"moduleResolution": "node",
|
||||
"esModuleInterop": true,
|
||||
"moduleResolution": "node"
|
||||
"preserveConstEnums": true,
|
||||
"outDir": "./build/",
|
||||
"rootDir": "./",
|
||||
"strict": false,
|
||||
"sourceMap": false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user