-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 2.33 KB
/
package.json
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
{
"name": "@critik/simple-webdriver",
"version": "0.3.0",
"description": "Javascript webdriver bindings with no dependency",
"keywords": [
"webdriver",
"automation",
"browser"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prepublishOnly": "tsc",
"test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' nyc --reporter=lcov --reporter=text mocha --retry 1 --timeout 3000 -r ts-node/register/transpile-only 'test/unit/*test.ts'",
"test-wd-chrome": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' NOCK_OFF=true mocha --retries 2 --grep '^.*Chrome(?!.*Nock Only).*$' --timeout 30000 -r ts-node/register 'test/unit/*test.ts'",
"test-wd-safari": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' NOCK_OFF=true mocha --retries 2 --grep '^.*Safari(?!.*Nock Only).*$' --timeout 30000 -r ts-node/register 'test/unit/*test.ts'",
"test-wd-edge": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' NOCK_OFF=true mocha --retries 2 --grep '^.*Edge(?!.*Nock Only).*$' --timeout 30000 -r ts-node/register 'test/unit/*test.ts'",
"test-wd-firefox": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' NOCK_OFF=true mocha --retries 2 --grep '^.*Firefox(?!.*Nock Only).*$' --timeout 30000 -r ts-node/register 'test/unit/*test.ts'",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"lint": "eslint \"src/**/*.ts\"",
"format": "prettier --write ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/simonradier/simple-webdriver.git"
},
"author": "Simon RADIER",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/simonradier/simple-webdriver/issues"
},
"engines": {
"node": ">=14.0.0"
},
"homepage": "https://github.com/simonradier/simple-webdriver#readme",
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.1",
"@types/node": "^18.11.18",
"@typescript-eslint/parser": "^5.48.0",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"chromedriver": "^108.0.0",
"coveralls": "^3.1.1",
"eslint": "^8.31.0",
"mocha": "^10.2.0",
"nock": "^13.2.9",
"nyc": "^15.1.0",
"prettier": "^2.8.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
}
}