-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.37 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "@mochify/cli",
"version": "1.0.0",
"description": "Run mocha tests in headless browsers from the command line",
"homepage": "https://github.com/mochify-js/cli",
"bin": {
"mochify": "index.js"
},
"main": "index.js",
"scripts": {
"lint": "eslint .",
"test": "echo \"No unit tests yet\"",
"test:all": "npm run test && npm run test:integration",
"test:integration": "mocha --timeout 15000 -R spec '**/*.integration.js'",
"build": "tsc --project tsconfig.pack.json",
"coverage": "c8 --reporter=text --reporter=lcov npm run test:all",
"coverage:check": "c8 --reporter=text --reporter=lcov --check-coverage --branches 57 --functions 100 --lines 91 npm run test:all",
"clean": "rimraf --glob '!(node_modules)/**/*.d.ts' '*.d.ts' coverage",
"prepack": "npm run clean && npm run build",
"postpack": "npm run clean",
"preversion": "npm run lint && npm run prettier:check && tsc && npm run coverage:check",
"version": "changes --commits --footer",
"postversion": "git push --follow-tags && npm publish",
"prettier:check": "prettier --check '**/*.{js,json,md}'",
"prettier:write": "prettier --write '**/*.{js,json,md}'",
"prepare": "husky && playwright install"
},
"keywords": [
"mocha",
"browser",
"testing",
"headless",
"cli"
],
"author": "Maximilian Antoni <mail@maxantoni.de> (http://maxantoni.de)",
"license": "MIT",
"engines": {
"node": ">=20"
},
"mocha": {
"reporter": "dot",
"require": "test/hooks.js",
"ignore": "node_modules/**"
},
"dependencies": {
"@mochify/mochify": "^1.0.1",
"yargs": "^18.0.0"
},
"devDependencies": {
"@mochify/driver-jsdom": "^1.0.0",
"@mochify/driver-playwright": "^1.0.2",
"@mochify/driver-puppeteer": "^1.0.1",
"@mochify/driver-webdriver": "^1.0.0",
"@sinonjs/referee-sinon": "^12.0.0",
"@studio/changes": "^3.0.0",
"@studio/eslint-config": "^8.0.1",
"@studio/related-tests": "^0.2.0",
"@studio/tsconfig": "^1.3.0",
"@types/node": "^25.3.3",
"@types/yargs": "^17.0.35",
"c8": "^11.0.0",
"eslint": "^9.39.2",
"execa": "^9.6.1",
"husky": "^9.1.7",
"lint-staged": "^16.3.0",
"mocha": "^11.7.5",
"prettier": "^3.8.1",
"rimraf": "^6.1.3",
"typescript": "^5.9.3"
},
"files": [
"**/*.js",
"**/*.d.ts",
"!**/*.test.js",
"!test/**",
"!.*"
]
}