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