/
package.json
95 lines (95 loc) · 2.17 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
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
85
86
87
88
89
90
91
92
93
94
95
{
"name": "detox",
"description": "E2E tests and automation for mobile",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"version": "5.7.0",
"bin": {
"detox": "local-cli/detox.js"
},
"repository": {
"type": "git",
"url": "https://github.com/wix/detox.git"
},
"nativePackage": true,
"bugs": {
"url": "https://github.com/wix/detox/issues"
},
"homepage": "https://github.com/wix/detox/detox",
"main": "./lib/index.js",
"author": "Tal Kol <talkol@gmail.com>",
"license": "MIT",
"scripts": {
"build": "scripts/build.sh",
"lint": "eslint src",
"unit": "jest --coverage --verbose",
"test": "npm run unit",
"unit:watch": "jest --watch",
"prepublish": "npm run build"
},
"devDependencies": {
"babel-cli": "^6.8.0",
"babel-core": "^6.8.0",
"babel-eslint": "^7.2.3",
"babel-polyfill": "^6.8.0",
"babel-preset-latest": "^6.22.0",
"babel-register": "^6.8.0",
"colors": "^1.1.2",
"eslint": "^4.1.1",
"eslint-plugin-babel": "4.x.x",
"eslint-plugin-jest": "^20.0.3",
"eslint-plugin-promise": "^3.4.2",
"eslint-plugin-react": "^7.1.0",
"eslint-plugin-react-native": "^2.3.2",
"jest": "^20.0.4",
"minimist": "^1.2.0",
"mockdate": "^2.0.1",
"shelljs": "^0.7.3",
"ttab": "^0.3.1"
},
"dependencies": {
"child-process-promise": "^2.2.0",
"commander": "^2.9.0",
"detox-server": "^2.0.4",
"get-port": "^2.1.0",
"lodash": "^4.14.1",
"npmlog": "^4.0.2",
"react-native-invoke": "^0.2.1",
"ws": "^1.1.1"
},
"babel": {
"env": {
"test": {
"presets": [
"latest"
],
"retainLines": true
}
}
},
"jest": {
"roots": [
"node_modules",
"src"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
".*Driver.js",
"DeviceDriverBase.js",
"GREYConfiguration.js",
"src/ios/earlgreyapi",
"src/utils/environment.js"
],
"resetMocks": true,
"resetModules": true,
"coverageThreshold": {
"global": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
}
}
}