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/.cspell.json +24 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
- package/.github/ISSUE_TEMPLATE/config.yml +5 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +19 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +7 -0
- package/.github/assets/header.png +0 -0
- package/.github/workflows/webapp-scanner.yml +108 -0
- package/.releaserc.json +31 -0
- package/CHANGELOG.md +6 -0
- package/CODE_OF_CONDUCT.md +128 -0
- package/CONTRIBUTING.md +33 -0
- package/LICENSE +203 -0
- package/README.md +55 -0
- package/api-extractor.json +33 -0
- package/biome.json +40 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +3116 -0
- package/build/index.js.map +7 -0
- package/package.json +64 -0
- package/scripts/build.ts +79 -0
- package/scripts/test.ts +58 -0
- package/src/__tests__/index.test.ts +0 -0
- package/src/index.ts +13 -0
- package/tsconfig.build.json +4 -0
- package/tsconfig.json +24 -0
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();
|
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
|
+
}
|