Skip to content

Commit 93495a8

Browse files
committed
Simplify/update some dev dependencies versions
1 parent 77fc497 commit 93495a8

File tree

4 files changed

+228
-445
lines changed

4 files changed

+228
-445
lines changed

package.json

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,9 @@
1616
"react-native"
1717
],
1818
"files": [
19-
"*",
20-
"!.DS_Store",
21-
"!**/*.bs.js",
22-
"!.merlin",
23-
"!lib/bs",
24-
"!lib/ocaml"
19+
"*.md",
20+
"bsconfig.json",
21+
"src/*.re"
2522
],
2623
"scripts": {
2724
"format:most": "prettier --write \"**/*.{md,json,js,css}\"",
@@ -36,15 +33,14 @@
3633
"release": "npmpub"
3734
},
3835
"devDependencies": {
39-
"bs-platform": "^7.0.1",
40-
"husky": "^3.1.0",
41-
"lint-staged": "^10.1.1",
36+
"bs-platform": "^8.0.0",
37+
"husky": "^4.0.0",
38+
"lint-staged": "^10.0.0",
4239
"npmpub": "^5.0.0",
43-
"prettier": "^1.19.1"
40+
"prettier": "^2.0.0"
4441
},
4542
"prettier": {
46-
"trailingComma": "all",
47-
"proseWrap": "always"
43+
"trailingComma": "all"
4844
},
4945
"lint-staged": {
5046
"*.{md,json,js,css}": [

src/ReactNativePushNotificationIOS.bs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
'use strict';
22

33

4-
var FetchResult = { };
4+
var FetchResult = {};
55

6-
var $$Notification = { };
6+
var $$Notification = {};
77

88
exports.FetchResult = FetchResult;
99
exports.$$Notification = $$Notification;

src/ReactNativePushNotificationIOS.re

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ external localNotification:
6969
=?,
7070
unit
7171
) =>
72-
localNotification =
73-
"";
72+
localNotification;
7473

7574
[@bs.module "@react-native-community/push-notification-ios"]
7675
[@bs.scope "default"]
@@ -200,8 +199,7 @@ type requestPermissionsOptions;
200199
[@bs.obj]
201200
external requestPermissionsOptions:
202201
(~alert: bool=?, ~badge: bool=?, ~sound: bool=?, unit) =>
203-
requestPermissionsOptions =
204-
"";
202+
requestPermissionsOptions;
205203

206204
// multiple externals
207205
[@bs.module "@react-native-community/push-notification-ios"]

0 commit comments

Comments
 (0)