Browse Source

update package.json

Daniel Zlotin 8 years ago
parent
commit
7740acacc8
5 changed files with 7 additions and 5632 deletions
  1. 1
    2
      .eslintrc
  2. 4
    4
      package.json
  3. 1
    0
      src2/Navigation.js
  4. 1
    0
      src2/index.js
  5. 0
    5626
      yarn.lock

+ 1
- 2
.eslintrc View File

1
 {
1
 {
2
-  "parser": "babel-eslint",
3
   "env": {
2
   "env": {
4
     "es6": true,
3
     "es6": true,
5
     "node": true
4
     "node": true
6
   },
5
   },
7
   "parserOptions": {
6
   "parserOptions": {
8
-    "ecmaVersion": 7,
7
+    "ecmaVersion": 8,
9
     "sourceType": "module",
8
     "sourceType": "module",
10
     "ecmaFeatures": {
9
     "ecmaFeatures": {
11
       "impliedStrict": true,
10
       "impliedStrict": true,

+ 4
- 4
package.json View File

20
   "main": "src/index.js",
20
   "main": "src/index.js",
21
   "scripts": {
21
   "scripts": {
22
     "build": ":",
22
     "build": ":",
23
-    "lint": "eslint src test",
23
+    "lint": "eslint src2",
24
     "pretest": "npm run lint",
24
     "pretest": "npm run lint",
25
     "test": "jest && cd android && ./gradlew clean testDebugUnitTest",
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
   "peerDependencies": {
28
   "peerDependencies": {
29
     "react-native": "*",
29
     "react-native": "*",
42
     "babel-register": "6.x.x",
42
     "babel-register": "6.x.x",
43
     "eslint": "3.x.x",
43
     "eslint": "3.x.x",
44
     "eslint-plugin-babel": "3.x.x",
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
     "jest": "17.x.x",
47
     "jest": "17.x.x",
48
     "jest-cli": "17.x.x"
48
     "jest-cli": "17.x.x"
49
   }
49
   }

+ 1
- 0
src2/Navigation.js View File

1
+

+ 1
- 0
src2/index.js View File

1
+

+ 0
- 5626
yarn.lock
File diff suppressed because it is too large
View File