-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.49 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.49 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
79
80
81
82
83
84
{
"name": "@mochify/cli",
"version": "2.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": ">=22.13"
},
"mocha": {
"reporter": "dot",
"require": "test/hooks.js",
"ignore": "node_modules/**"
},
"dependencies": {
"@mochify/mochify": "^2.0.0",
"yargs": "^18.1.0"
},
"devDependencies": {
"@mochify/driver-jsdom": "^2.0.0",
"@mochify/driver-playwright": "^2.0.0",
"@mochify/driver-puppeteer": "^2.0.0",
"@mochify/driver-webdriver": "^2.0.0",
"@sinonjs/referee-sinon": "^12.0.1",
"@studio/changes": "^3.0.0",
"@studio/eslint-config": "^9.0.1",
"@studio/related-tests": "^0.2.0",
"@types/mocha": "^10.0.10",
"@types/node": "^26.3.0",
"@types/yargs": "^17.0.35",
"c8": "^12.0.0",
"eslint": "^10.9.1",
"execa": "^10.0.1",
"husky": "^9.1.7",
"lint-staged": "^17.4.1",
"mocha": "^12.0.0-rc.6",
"prettier": "^3.9.6",
"rimraf": "^6.1.3",
"typescript": "^7.0.2"
},
"files": [
"**/*.js",
"**/*.d.ts",
"!**/*.test.js",
"!test/**",
"!.*"
],
"allowScripts": {
"edgedriver": true,
"es5-ext": true,
"geckodriver": true,
"puppeteer": true
}
}