Skip to content

Commit

Permalink
Move mocha to peerDeps, bump deps versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ksocha committed Jan 21, 2021
1 parent e8efae2 commit 1cd61df
Show file tree
Hide file tree
Showing 8 changed files with 2,363 additions and 2,291 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ Cypress test reporter for CircleCI based on [mocha-junit-reporter](https://githu
## Installation

```shell
$ npm install cypress-circleci-reporter --save-dev
$ npm install cypress-circleci-reporter mocha --save-dev
```

```shell
$ yarn add cypress-circleci-reporter --dev
$ yarn add cypress-circleci-reporter mocha --dev
```

## Usage
Expand Down
7 changes: 0 additions & 7 deletions cypress/integration/examples/test6.spec.js

This file was deleted.

7 changes: 0 additions & 7 deletions cypress/integration/examples/test7.spec.js

This file was deleted.

7 changes: 0 additions & 7 deletions cypress/integration/examples/test8.spec.js

This file was deleted.

7 changes: 0 additions & 7 deletions cypress/integration/examples/test9.spec.js

This file was deleted.

23 changes: 13 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"test": "tsdx test .*.test.ts",
"lint": "tsdx lint",
"prepare": "tsdx build --target node",
"cypress": "cypress"
"cypress": "cypress run --reporter ./dist/index.js"
},
"husky": {
"hooks": {
Expand All @@ -44,20 +44,23 @@
},
"module": "dist/cypress-circleci-reporter.esm.js",
"devDependencies": {
"@types/jest": "^25.1.4",
"@types/mocha": "^7.0.2",
"@types/xml": "^1.0.4",
"cypress": "^4.3.0",
"husky": "^4.2.3",
"@types/jest": "^25.2.3",
"@types/mocha": "^8.2.0",
"@types/xml": "^1.0.5",
"cypress": "^4.12.1",
"husky": "^4.3.8",
"jest-date-mock": "^1.0.8",
"jest-xml-matcher": "^1.2.0",
"tsdx": "^0.13.1",
"tslib": "^1.11.1",
"typescript": "^3.8.3"
"mocha": "^8.2.1",
"tsdx": "^0.14.1",
"tslib": "^2.1.0",
"typescript": "^4.1.3"
},
"dependencies": {
"mocha": "^7.1.1",
"strip-ansi": "^6.0.0",
"xmlbuilder2": "^2.1.1"
},
"peerDependencies": {
"mocha": ">=7"
}
}
21 changes: 7 additions & 14 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,23 @@
{
"include": ["src", "types"],
"compilerOptions": {
"target": "es5",
"target": "es6",
"module": "esnext",
"lib": ["dom", "esnext"],
"importHelpers": true,
"declaration": true,
"sourceMap": true,
"rootDir": "./src",
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"moduleResolution": "node",
"baseUrl": "./",
"paths": {
"*": ["src/*", "node_modules/*"]
},
"jsx": "react",
"esModuleInterop": true
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true
}
}
Loading

0 comments on commit 1cd61df

Please sign in to comment.