Add scripts directory

This commit is contained in:
Mathieu Strypsteen 2024-03-11 15:21:10 +01:00
parent 7e0859230f
commit 9407c65663
9 changed files with 1675 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
node_modules
out

18
scripts/eslint.config.js Normal file
View file

@ -0,0 +1,18 @@
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
{
languageOptions: {
parserOptions: {
project: true
}
}
},
{
files: ['*.js'],
...tseslint.configs.disableTypeChecked,
}
);

1632
scripts/package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

11
scripts/package.json Normal file
View file

@ -0,0 +1,11 @@
{
"name": "frida-scripts",
"type": "module",
"devDependencies": {
"@types/frida-gum": "^18.7.0",
"@types/node": "~20.9.5",
"eslint": "^8.57.0",
"typescript": "^5.4.2",
"typescript-eslint": "^7.1.1"
}
}

12
scripts/tsconfig.json Normal file
View file

@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "es2022",
"module": "es2022",
"outDir": "out",
"strict": true,
"moduleResolution": "node",
"lib": [
"es2022"
]
}
}