-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.11 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
{
"name": "detox",
"description": "E2E tests and automation for mobile",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"version": "5.0.1",
"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",
"unit:ios": "set -o pipefail && xcodebuild -project ios/Detox.xcodeproj -scheme Detox -configuration Debug test -destination 'platform=iOS Simulator,name=iPhone 7 Plus' | xcpretty",
"test": "npm run unit && npm run unit:ios",
"unit:watch": "jest --watch --trace-warnings --coverage --verbose",
"postinstall": "scripts/postinstall.sh",
"prepublish": "npm run build"
},
"devDependencies": {
"babel-cli": "^6.8.0",
"babel-core": "^6.8.0",
"babel-eslint": "^6.0.4",
"babel-polyfill": "^6.8.0",
"babel-preset-latest": "^6.22.0",
"babel-register": "^6.8.0",
"colors": "^1.1.2",
"eslint": "3.x.x",
"eslint-plugin-babel": "4.x.x",
"eslint-plugin-promise": "^3.4.2",
"jest": "^18.1.0",
"minimist": "^1.2.0",
"shelljs": "^0.7.3",
"ttab": "^0.3.1"
},
"dependencies": {
"child-process-promise": "^2.2.0",
"commander": "^2.9.0",
"get-port": "^2.1.0",
"lodash": "^4.14.1",
"npmlog": "^4.0.2",
"react-native-invoke": "^0.2.1",
"ws": "^1.1.1",
"detox-server": "^1.2.1"
},
"babel": {
"env": {
"test": {
"presets": [
"latest"
],
"retainLines": true
}
}
},
"jest": {
"testPathDirs": [
"node_modules",
"src"
],
"resetMocks": true,
"resetModules": true,
"coverageThreshold": {
"global": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
}
}
}