sentinel-scanner 1.0.0-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
package/src/index.ts ADDED
@@ -0,0 +1,13 @@
1
+ import { Command } from "commander";
2
+ // @ts-ignore
3
+ import packageData from "../package.json";
4
+
5
+ const program = new Command();
6
+
7
+ program.version(packageData.version);
8
+ program.name(packageData.name);
9
+ program.description(packageData.description);
10
+
11
+ program.helpCommand(true);
12
+
13
+ program.parse();
@@ -0,0 +1,4 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "exclude": ["./src/**/__tests__"]
4
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "include": ["./src/**/*.ts"],
3
+ "compilerOptions": {
4
+ "lib": ["es2023"],
5
+ "module": "nodenext",
6
+ "target": "es2022",
7
+ "moduleResolution": "nodenext",
8
+
9
+ "rootDir": "./src",
10
+ "outDir": "build",
11
+ "resolvePackageJsonImports": true,
12
+
13
+ "strict": true,
14
+ "noUncheckedIndexedAccess": true,
15
+ "sourceMap": true,
16
+ "esModuleInterop": true,
17
+ "skipLibCheck": true,
18
+ "forceConsistentCasingInFileNames": true,
19
+ "declaration": true,
20
+ "resolveJsonModule": true,
21
+ "emitDeclarationOnly": true,
22
+ "allowImportingTsExtensions": true
23
+ }
24
+ }