-
Notifications
You must be signed in to change notification settings - Fork 181
/
package.json
84 lines (84 loc) · 2.57 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
{
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"flow": "flow",
"pretest": "npm run lint",
"test": "npm run test:android && npm run test:ios",
"test:ci": "JEST_JUNIT_OUTPUT=test-results/jest-android.xml npm run test:android --ci --testResultsProcessor='jest-junit' && JEST_JUNIT_OUTPUT=test-results/jest-ios.xml npm run test:ios --ci --testResultsProcessor='jest-junit'",
"test:coverage": "jest --coverage --coverageDirectory test-results/coverage --collectCoverageOnlyFrom packages/**/*",
"test:android": "cross-env RNVC_DEVICE=android babel-node scripts/test",
"test:ios": "cross-env RNVC_DEVICE=ios babel-node scripts/test",
"test:watch": "babel-node scripts/test --watch",
"prepublishOnly": "npm run test",
"lerna-bootstrap": "lerna bootstrap --hoist",
"lerna-publish": "lerna publish --conventional-commits"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js}": [
"eslint --fix .",
"git add"
],
"*.{json,css,md}": [
"prettier --write",
"git add"
]
},
"engines": {
"node": ">= 8"
},
"author": "Taehyun Kim <[email protected]> (https://github.com/kimxogus)",
"contributors": [
"Thomas Schoffelen <[email protected]>",
"Mohamad Arif Raja <[email protected]>"
],
"homepage": "https://github.com/kimxogus/react-native-version-check",
"repository": {
"type": "git",
"url": "https://github.com/kimxogus/react-native-version-check.git"
},
"bugs": {
"url": "https://github.com/kimxogus/react-native-version-check/issues"
},
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/node": "^7.7.0",
"@types/semver": "^6.2.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"cross-env": "^6.0.3",
"eslint": "^6.6.0",
"eslint-config-aroundus": "^2.0.1",
"eslint-config-react-native": "^4.0.0",
"eslint-plugin-react-native": "^3.8.1",
"flow-bin": "^0.112.0",
"flow-typed": "^2.6.2",
"husky": "^3.0.9",
"isomorphic-fetch": "^2.2.1",
"jest": "^24.9.0",
"jest-junit": "^9.0.0",
"lerna": "^3.18.4",
"lint-staged": "^9.4.2",
"metro-react-native-babel-preset": "^0.57.0",
"pre-commit": "^1.2.2",
"prettier": "^1.19.1",
"promise": "^8.0.3"
},
"jest": {
"testEnvironment": "node",
"testPathIgnorePatterns": [
"[/\\\\](build|docs|node_modules|scripts|examples)[/\\\\]"
],
"automock": false,
"setupFiles": [
"./setupJest.js"
]
}
}