Geoffrey Goh e7521a114f Add pre/postunlink
Summary:
An attempt to address https://github.com/facebook/react-native/issues/9156.

cc grabbou Kureev

**Test plan (required)**

1. Added the following to the `package.json` of a `react-native-plugin`

```
  "rnpm": {
    "commands": {
      "preunlink": "node node_modules/react-native-plugin/scripts/preunlink"
      "postunlink": "node node_modules/react-native-plugin/scripts/postunlink"
    }
  }
```

2. Added files, `scripts/preunlink.js` and `scripts/postunlink.js` to the plugin. Each of them simply logs a string to the console.

3. Ran `react-native unlink react-native-plugin` to verify that those logs get printed.
Closes https://github.com/facebook/react-native/pull/9157

Differential Revision: D3749434

fbshipit-source-id: 40b94c9026db4f11e8f5be4a417a0670e8069be6
2016-08-24 10:58:46 -07:00
..
2015-09-16 13:05:30 -07:00
2015-11-12 07:05:01 -08:00
2016-08-22 08:58:37 -07:00
2016-07-30 09:13:46 -07:00
2016-08-22 08:58:37 -07:00
2016-07-30 09:13:46 -07:00
2016-08-24 10:58:46 -07:00
2016-07-30 09:13:46 -07:00
2016-08-17 17:43:53 -07:00
2016-07-30 09:13:46 -07:00
2016-08-17 11:28:31 -07:00
2016-07-30 09:13:46 -07:00
2016-08-23 04:28:36 -07:00
2016-08-22 08:58:37 -07:00
2015-10-28 21:36:07 -04:00