@saucelabs/sauce-json-reporter
Advanced tools
Comparing version 1.1.0 to 2.0.0
{ | ||
"name": "@saucelabs/sauce-json-reporter", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"files": [ | ||
"dist/**" | ||
"lib/**" | ||
], | ||
"scripts": { | ||
"build": "node scripts/rmdir.js dist && tsc", | ||
"build": "node scripts/rmdir.js lib && tsc", | ||
"lint": "eslint src/", | ||
@@ -23,14 +23,14 @@ "test": "jest", | ||
"devDependencies": { | ||
"@babel/core": "^7.16.0", | ||
"@babel/preset-env": "^7.16.0", | ||
"@babel/preset-typescript": "^7.16.0", | ||
"@types/jest": "^27.0.2", | ||
"@typescript-eslint/eslint-plugin": "^5.3.1", | ||
"@typescript-eslint/parser": "^5.3.1", | ||
"babel-jest": "^27.3.1", | ||
"eslint": "^8.2.0", | ||
"jest": "^27.3.1", | ||
"typescript": "^4.4.4", | ||
"release-it": "^14.11.6" | ||
"@tsconfig/node18": "2.0.0", | ||
"@types/jest": "29.5.1", | ||
"@typescript-eslint/eslint-plugin": "5.59.1", | ||
"@typescript-eslint/parser": "5.59.1", | ||
"babel-jest": "29.5.0", | ||
"eslint": "8.39.0", | ||
"jest": "29.5.0", | ||
"json-schema-library": "7.4.7", | ||
"release-it": "15.10.1", | ||
"ts-jest": "29.1.0", | ||
"typescript": "5.0.4" | ||
} | ||
} |
# sauce-json-reporter-js | ||
A javascript library for creating Sauce Labs JSON test results. | ||
A [JSON schema](api/schema.json) describing the report is also available. | ||
## Examples | ||
```javascript | ||
const { TestRun, Status } = require('@saucelabs/sauce-json-reporter'); | ||
const {TestRun, Status} = require('@saucelabs/sauce-json-reporter'); | ||
@@ -27,2 +30,3 @@ let r = new TestRun() | ||
The resulting JSON of the above example is: | ||
```json | ||
@@ -29,0 +33,0 @@ { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
280
69
13398
1