Browse Source

try fix travis

Daniel Zlotin 6 years ago
parent
commit
5075b99f00
2 changed files with 4 additions and 2 deletions
  1. 2
    2
      package.json
  2. 2
    0
      scripts/release.js

+ 2
- 2
package.json View File

1
 {
1
 {
2
-  "name": "fix-travis-react-native-navigation",
3
-  "version": "0.0.2",
2
+  "name": "react-native-navigation",
3
+  "version": "2.0.0",
4
   "description": "React Native Navigation - truly native navigation for iOS and Android",
4
   "description": "React Native Navigation - truly native navigation for iOS and Android",
5
   "license": "MIT",
5
   "license": "MIT",
6
   "nativePackage": true,
6
   "nativePackage": true,

+ 2
- 0
scripts/release.js View File

14
   }
14
   }
15
   setupGit();
15
   setupGit();
16
   createNpmRc();
16
   createNpmRc();
17
+  process.env.npm_package_name = 'fix-travis-rnn';
18
+  process.env.npm_package_version = '0.0.3';
17
   exec.execSync(`npm publish`);
19
   exec.execSync(`npm publish`);
18
   // versionTagAndPublish();
20
   // versionTagAndPublish();
19
 }
21
 }