|
7 | 7 | "author": "Yousaf Nabi", |
8 | 8 | "license": "ISC", |
9 | 9 | "scripts": { |
10 | | - "lint":"tslint --project .", |
11 | | - "lint-fix":"tslint --project . --fix", |
| 10 | + "lint": "tslint --project .", |
| 11 | + "lint-fix": "tslint --project . --fix", |
12 | 12 | "cypress:open": "cypress open", |
13 | 13 | "cypress:run": "cypress run", |
14 | 14 | "cypress:record": "cypress run --record", |
|
22 | 22 | "@cypress/webpack-preprocessor": "^4.0.3", |
23 | 23 | "@slack/types": "^1.0.0", |
24 | 24 | "@slack/webhook": "^5.0.0", |
| 25 | + "@types/jest": "^24.0.11", |
25 | 26 | "@types/node": "^10.12.11", |
| 27 | + "commander": "^2.20.0", |
26 | 28 | "cypress": "^3.2.0", |
| 29 | + "cypress-cucumber-preprocessor": "1.11.0", |
27 | 30 | "cypress-failed-log": "^2.5.0", |
| 31 | + "cypress-testing-library": "2.4.0", |
28 | 32 | "husky": "^1.3.1", |
| 33 | + "jest": "^24.7.1", |
| 34 | + "jest-junit": "^6.3.0", |
| 35 | + "jest-stare": "^1.13.2", |
29 | 36 | "lint-staged": "^8.1.5", |
30 | | - "prettier": "^1.16.4", |
31 | 37 | "mocha": "^5.2.0", |
32 | 38 | "mocha-junit-reporter": "^1.21.0", |
33 | 39 | "mocha-multi-reporters": "^1.1.7", |
34 | 40 | "mochawesome": "^3.1.1", |
35 | 41 | "mochawesome-merge": "^1.0.7", |
36 | 42 | "mochawesome-report-generator": "^3.1.5", |
| 43 | + "npm-run-all": "4.1.5", |
| 44 | + "prettier": "^1.16.4", |
| 45 | + "serve": "11.0.0", |
37 | 46 | "shelljs": "^0.8.3", |
38 | 47 | "sonarqube-scanner": "^2.4.0", |
| 48 | + "ts-jest": "^24.0.2", |
39 | 49 | "ts-loader": "^5.3.3", |
40 | 50 | "ts-node": "^8.0.3", |
41 | 51 | "tslint": "^5.15.0", |
42 | 52 | "tslint-config-prettier": "1.18.0", |
43 | 53 | "tslint-no-focused-test": "^0.5.0", |
44 | 54 | "typescript": "^3.4.1", |
45 | 55 | "uuid": "^3.3.2", |
46 | | - "webpack": "^4.29.6", |
47 | | - "cypress-cucumber-preprocessor": "1.11.0", |
48 | | - "cypress-testing-library": "2.4.0", |
49 | | - "npm-run-all": "4.1.5", |
50 | | - "serve": "11.0.0", |
51 | | - "wait-port": "0.2.2" |
| 56 | + "wait-port": "0.2.2", |
| 57 | + "webpack": "^4.29.6" |
52 | 58 | }, |
53 | 59 | "cypress-cucumber-preprocessor": { |
54 | 60 | "nonGlobalStepDefinitions": false |
|
64 | 70 | "hooks": { |
65 | 71 | "pre-commit": "lint-staged" |
66 | 72 | } |
| 73 | + }, |
| 74 | + "jest-stare": { |
| 75 | + "coverageLink": "../lcov-report/index.html", |
| 76 | + "resultDir": "coverage/html" |
| 77 | + }, |
| 78 | + "jest-junit": { |
| 79 | + "outputDirectory": "./testReports/", |
| 80 | + "reportDir": "testReports/unit" |
67 | 81 | } |
68 | 82 | } |
0 commit comments