|
@@ -20,10 +20,10 @@
|
20
|
20
|
"main": "src/index.js",
|
21
|
21
|
"scripts": {
|
22
|
22
|
"build": ":",
|
23
|
|
- "lint": "eslint src test",
|
|
23
|
+ "lint": "eslint src2",
|
24
|
24
|
"pretest": "npm run lint",
|
25
|
25
|
"test": "jest && cd android && ./gradlew clean testDebugUnitTest",
|
26
|
|
- "release": "npm version prerelease && npm publish --tag next && npm view react-native-navigation dist-tags && git push"
|
|
26
|
+ "release": "npm run test && npm version prerelease && npm publish --tag next && npm view react-native-navigation dist-tags && git push"
|
27
|
27
|
},
|
28
|
28
|
"peerDependencies": {
|
29
|
29
|
"react-native": "*",
|
|
@@ -42,8 +42,8 @@
|
42
|
42
|
"babel-register": "6.x.x",
|
43
|
43
|
"eslint": "3.x.x",
|
44
|
44
|
"eslint-plugin-babel": "3.x.x",
|
45
|
|
- "eslint-plugin-react": "4.x.x",
|
46
|
|
- "eslint-plugin-react-native": "1.x.x",
|
|
45
|
+ "eslint-plugin-react": "6.x.x",
|
|
46
|
+ "eslint-plugin-react-native": "2.x.x",
|
47
|
47
|
"jest": "17.x.x",
|
48
|
48
|
"jest-cli": "17.x.x"
|
49
|
49
|
}
|