1 | {
|
2 | "name": "ui5-test-runner",
|
3 | "version": "3.3.4",
|
4 | "description": "Standalone test runner for UI5",
|
5 | "main": "index.js",
|
6 | "files": [
|
7 | "defaults/*",
|
8 | "src/**/*",
|
9 | "*.js"
|
10 | ],
|
11 | "bin": {
|
12 | "ui5-test-runner": "./index.js"
|
13 | },
|
14 | "engines": {
|
15 | "node": ">=16"
|
16 | },
|
17 | "scripts": {
|
18 | "lint": "standard --fix",
|
19 | "test": "npm run test:unit && npm run test:integration:jsdom && npm run test:integration:puppeteer && npm run test:integration:selenium-webdriver-chrome && npm run test:integration:playwright",
|
20 | "test:coverall": "rimraf .nyc_output && jest --coverageDirectory .nyc_output --coverageReporters json && nyc --silent --no-clean npm run test:integration:jsdom && nyc --silent --no-clean npm run test:integration:puppeteer && nyc --silent --no-clean npm run test:integration:selenium-webdriver-chrome && nyc --silent --no-clean npm run test:integration:playwright && nyc merge .nyc_output .nyc_output/final/coverage.json && nyc report --temp-dir .nyc_output/final/ --report-dir coverage --branches 80 --functions 80 --lines 80 --statements 80",
|
21 | "test:unit": "jest",
|
22 | "test:unit:debug": "jest --runInBand",
|
23 | "test:integration:puppeteer": "node . --capabilities --browser $/puppeteer.js",
|
24 | "test:integration:selenium-webdriver-chrome": "node . --capabilities --browser $/selenium-webdriver.js -- --browser chrome",
|
25 | "test:integration:jsdom": "node . --capabilities --browser $/jsdom.js",
|
26 | "test:integration:playwright": "node . --capabilities --browser $/playwright.js",
|
27 | "test:report": "node ./src/defaults/report.js ./test/report && reserve --config ./test/report/reserve.json",
|
28 | "test:text-report": "node ./src/defaults/text-report.js ./test/report",
|
29 | "build:doc": "node build/doc"
|
30 | },
|
31 | "repository": {
|
32 | "type": "git",
|
33 | "url": "git+https://github.com/ArnaudBuchholz/ui5-test-runner.git"
|
34 | },
|
35 | "keywords": [
|
36 | "REserve",
|
37 | "test",
|
38 | "continuous",
|
39 | "integration",
|
40 | "code",
|
41 | "coverage",
|
42 | "ui5"
|
43 | ],
|
44 | "author": "Arnaud Buchholz",
|
45 | "license": "MIT",
|
46 | "bugs": {
|
47 | "url": "https://github.com/ArnaudBuchholz/ui5-test-runner/issues"
|
48 | },
|
49 | "homepage": "https://github.com/ArnaudBuchholz/ui5-test-runner#readme",
|
50 | "dependencies": {
|
51 | "commander": "^11.0.0",
|
52 | "mime": "^3.0.0",
|
53 | "punybind": "^1.2.1",
|
54 | "punyexpr": "^1.0.4",
|
55 | "reserve": "^1.15.3"
|
56 | },
|
57 | "devDependencies": {
|
58 | "jest": "^29.7.0",
|
59 | "nock": "^13.3.3",
|
60 | "nyc": "^15.1.0",
|
61 | "standard": "^17.1.0"
|
62 | },
|
63 | "optionalDependencies": {
|
64 | "fsevents": "^2.3.3"
|
65 | },
|
66 | "standard": {
|
67 | "env": [
|
68 | "browser",
|
69 | "qunit",
|
70 | "node",
|
71 | "jest"
|
72 | ]
|
73 | },
|
74 | "jest": {
|
75 | "testTimeout": 15000,
|
76 | "setupFilesAfterEnv": [
|
77 | "./test/setup.js"
|
78 | ],
|
79 | "testPathIgnorePatterns": [
|
80 | "/node_modules/",
|
81 | "/capabilities/"
|
82 | ],
|
83 | "collectCoverage": true,
|
84 | "collectCoverageFrom": [
|
85 | "src/*.js"
|
86 | ],
|
87 | "coveragePathIgnorePatterns": [
|
88 | "\\.spec\\.js",
|
89 | "output\\.js",
|
90 | "b\\capabilities\\b"
|
91 | ],
|
92 | "coverageThreshold": {
|
93 | "global": {
|
94 | "branches": 80,
|
95 | "functions": 80,
|
96 | "lines": 80,
|
97 | "statements": 80
|
98 | }
|
99 | }
|
100 | }
|
101 | } |
\ | No newline at end of file |