We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dd855d commit cf450f1Copy full SHA for cf450f1
content/guide/hooks.md
@@ -183,15 +183,15 @@ npm install @nativescript/hook --save
183
Create `postinstall.js` at the root folder of your plugin:
184
185
```javascript
186
-require('@nativescript/hook')(__dirname).postinstall();
+require('@nativescript/hook')(__dirname).postinstall()
187
```
188
189
**3. Create preuninstall.js**
190
191
Create `preuninstall.js` at the root folder of your plugin:
192
193
194
-require('@nativescript/hook')(__dirname).preuninstall();
+require('@nativescript/hook')(__dirname).preuninstall()
195
196
197
**4. Update package.json Scripts**
0 commit comments