Bläddra i källkod

update package.json

Daniel Zlotin 8 år sedan
förälder
incheckning
7740acacc8
5 ändrade filer med 7 tillägg och 5632 borttagningar
  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 Visa fil

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

+ 4
- 4
package.json Visa fil

@@ -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
   }

+ 1
- 0
src2/Navigation.js Visa fil

@@ -0,0 +1 @@
1
+

+ 1
- 0
src2/index.js Visa fil

@@ -0,0 +1 @@
1
+

+ 0
- 5626
yarn.lock
Filskillnaden har hållits tillbaka eftersom den är för stor
Visa fil