Skip to content

Commit 430025f

Browse files
committed
removed postinstall script call as this is being handled by the CLI
1 parent 534806e commit 430025f

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"description": "Clean and minimalist React Native template for a quick start with TypeScript.",
55
"scripts": {
66
"test": "standard *.js",
7-
"prepublishOnly": "npm --no-git-tag-version version $TRAVIS_TAG",
8-
"install": "node setup.js"
7+
"prepublishOnly": "npm --no-git-tag-version version $TRAVIS_TAG"
98
},
109
"repository": {
1110
"type": "git",

script.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
const fs = require('fs');
22
const path = require('path');
33

4-
if (fs.existsSync(path.join(__dirname, '.travis.yml'))) {
5-
process.exit();
6-
}
7-
84
const projectFilesToDelete = ['.flowconfig', 'App.js', '__tests__/App-test.js'];
95

106
const deleteFile = filePath => {

0 commit comments

Comments
 (0)