Skip to content

Commit

Permalink
Add tsconfig.json for suricata ingestor.
Browse files Browse the repository at this point in the history
  • Loading branch information
AHarmlessPyro committed Aug 9, 2022
1 parent 310ce62 commit 41077eb
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ingestors/suricata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
"axios": "^0.27.2",
"commander": "^9.4.0",
"ts-node": "^10.9.1",
"tsc": "^2.0.4",
"typescript": "^4.7.4"
},
"scripts": {
"run": "ts-node index.ts /tmp/eve.sock"
"run": "ts-node index.ts /tmp/eve.sock",
"build": "tsc"
}
}
38 changes: 38 additions & 0 deletions ingestors/suricata/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"compileOnSave": false,
"compilerOptions": {
"target": "es6",
"lib": [
"dom",
"es6",
"es2017",
"esnext.asynciterable"
],
"typeRoots": [
"node_modules/@types"
],
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"module": "commonjs",
"pretty": true,
"sourceMap": true,
"declaration": true,
"outDir": "dist",
"allowJs": true,
"noEmit": false,
"skipLibCheck": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"importHelpers": true,
"baseUrl": "./src",
},
"include": [
"*.ts",
],
"exclude": [
"node_modules",
]
}
5 changes: 5 additions & 0 deletions ingestors/suricata/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ ts-node@^10.9.1:
v8-compile-cache-lib "^3.0.1"
yn "3.1.1"

tsc@^2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/tsc/-/tsc-2.0.4.tgz#5f6499146abea5dca4420b451fa4f2f9345238f5"
integrity sha512-fzoSieZI5KKJVBYGvwbVZs/J5za84f2lSTLPYf6AGiIf43tZ3GNrI1QzTLcjtyDDP4aLxd46RTZq1nQxe7+k5Q==

typescript@^4.7.4:
version "4.7.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235"
Expand Down

0 comments on commit 41077eb

Please sign in to comment.