mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 21:33:12 +08:00 
			
		
		
		
	skip postinstall during dev/publish
This commit is contained in:
		| @@ -1,3 +1,10 @@ | ||||
| const ownPackageJson = require('../package.json'); | ||||
|  | ||||
| if (process.env.npm_package_name === ownPackageJson.name) { | ||||
|   console.log('Skipping postinstall during local development.'); | ||||
|   process.exit(0); | ||||
| } | ||||
|  | ||||
| const fs = require('fs'); | ||||
| const path = require('path'); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sunnylqm
					sunnylqm