node-sarif-builder
Advanced tools
Comparing version 0.1.1-alpha202201100723.0 to 0.1.2-alpha202201100743.0
{ | ||
"name": "node-sarif-builder", | ||
"version": "0.1.1-alpha202201100723.0", | ||
"version": "0.1.2-alpha202201100743.0", | ||
"description": "Module to help building SARIF log files", | ||
"main": "build/main/index.js", | ||
"typings": "build/main/index.d.ts", | ||
"module": "build/module/index.js", | ||
"main": "dist/lib/index.js", | ||
"typings": "dist/lib/index.d.ts", | ||
"module": "dist/lib/index.js", | ||
"repository": "https://github.com/nvuillam/node-sarif-builder", | ||
@@ -12,5 +12,2 @@ "license": "MIT", | ||
"scripts": { | ||
"build": "run-p build:*", | ||
"build:main": "tsc -p tsconfig.json", | ||
"build:module": "tsc -p tsconfig.module.json", | ||
"fix": "run-s fix:*", | ||
@@ -23,4 +20,2 @@ "fix:prettier": "prettier \"src/**/*.ts\" --write", | ||
"test:unit": "nyc --silent ava", | ||
"check-cli": "run-s test diff-integration-tests check-integration-tests", | ||
"check-integration-tests": "run-s check-integration-test:*", | ||
"diff-integration-tests": "mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'", | ||
@@ -33,12 +28,6 @@ "watch:build": "tsc -p tsconfig.json -w", | ||
"cov:send": "run-s cov:lcov && codecov", | ||
"cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100", | ||
"doc": "run-s doc:html && open-cli build/docs/index.html", | ||
"doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs", | ||
"doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json", | ||
"doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs", | ||
"reset-hard": "git clean -dfx && git reset --hard && yarn", | ||
"prepare-release": "run-s reset-hard test cov:check doc:html doc:publish" | ||
"cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100" | ||
}, | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=14" | ||
}, | ||
@@ -59,3 +48,2 @@ "dependencies": { | ||
"cspell": "^4.1.0", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^7.8.0", | ||
@@ -65,14 +53,9 @@ "eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-import": "^2.22.0", | ||
"gh-pages": "^3.1.0", | ||
"npm-run-all": "^4.1.5", | ||
"nyc": "^15.1.0", | ||
"open-cli": "^6.0.1", | ||
"prettier": "^2.1.1", | ||
"ts-node": "^9.0.0", | ||
"typedoc": "^0.19.0", | ||
"typescript": "^4.0.2" | ||
}, | ||
"files": [ | ||
"build/main", | ||
"build/module", | ||
"dist", | ||
"!**/*.spec.*", | ||
@@ -79,0 +62,0 @@ "!**/*.json", |
@@ -1,3 +0,3 @@ | ||
import os from 'os'; | ||
import path from 'path'; | ||
import * as os from 'os'; | ||
import * as path from 'path'; | ||
@@ -4,0 +4,0 @@ import test from 'ava'; |
{ | ||
"compilerOptions": { | ||
"incremental": true, | ||
"target": "es2017", | ||
"outDir": "build/main", | ||
"rootDir": "src", | ||
"moduleResolution": "node", | ||
"module": "commonjs", | ||
"target": "ES2019", | ||
"declaration": true, | ||
"inlineSourceMap": true, | ||
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, | ||
"resolveJsonModule": true /* Include modules imported with .json extension. */, | ||
// "strict": true /* Enable all strict type-checking options. */, | ||
/* Strict Type-Checking Options */ | ||
// "noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */, | ||
// "strictNullChecks": true /* Enable strict null checks. */, | ||
// "strictFunctionTypes": true /* Enable strict checking of function types. */, | ||
// "strictPropertyInitialization": true /* Enable strict checking of property initialization in classes. */, | ||
// "noImplicitThis": true /* Raise error on 'this' expressions with an implied 'any' type. */, | ||
// "alwaysStrict": true /* Parse in strict mode and emit "use strict" for each source file. */, | ||
/* Additional Checks */ | ||
"noUnusedLocals": true /* Report errors on unused locals. */, | ||
"noUnusedParameters": true /* Report errors on unused parameters. */, | ||
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */, | ||
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */, | ||
/* Debugging Options */ | ||
"traceResolution": false /* Report module resolution log messages. */, | ||
"listEmittedFiles": false /* Print names of generated files part of the compilation. */, | ||
"listFiles": false /* Print names of files part of the compilation. */, | ||
"pretty": true /* Stylize errors and messages using color and context. */, | ||
/* Experimental Options */ | ||
// "experimentalDecorators": true /* Enables experimental support for ES7 decorators. */, | ||
// "emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */, | ||
"lib": ["es2017"], | ||
"types": ["node"], | ||
"typeRoots": ["node_modules/@types", "src/types"] | ||
"outDir": "./dist" | ||
}, | ||
"include": ["src/**/*.ts"], | ||
"exclude": ["node_modules/**"], | ||
"compileOnSave": false | ||
} | ||
"include": [ | ||
"src/**/*" | ||
] | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15
247415
26
706