generated from rescript-react-native/__template__
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
60 lines (60 loc) · 1.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "@rescript-react-native/safe-area-context",
"description": "ReScript bindings for react-native-safe-area-context.",
"version": "4.6.1",
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"react-native-safe-area-context": ">=4.6.0",
"@rescript/react": ">=0.12.0",
"rescript-react-native": ">=0.73.1"
},
"repository": "https://github.com/rescript-react-native/safe-area-context.git",
"license": "MIT",
"keywords": [
"rescript",
"react-native"
],
"files": [
"*.md",
"rescript.json",
"src/**/*.res",
"src/**/*.resi",
"src/**/*.js",
"!src/**/*.bs.js"
],
"scripts": {
"format:most": "prettier --write \"**/*.{md,json,js,css}\"",
"format:res": "rescript format -all",
"format": "npm run format:most && npm run format:res",
"re:start": "rescript build -w",
"re:build": "rescript",
"re:clean-build": "rescript clean && rescript",
"start": "npm run re:start",
"build": "npm run re:build",
"test": "npm run re:clean-build",
"release": "npmpub"
},
"devDependencies": {
"@rescript/react": "^0.12.2",
"husky": "^4.0.0",
"lint-staged": "^10.0.0",
"npmpub": "^5.0.0",
"prettier": "^2.0.0",
"rescript-react-native": ">=0.73.1",
"rescript": "^11.0.1"
},
"prettier": {
"trailingComma": "all"
},
"lint-staged": {
"*.{md,json,js,css}": "prettier --write",
"*.{res,resi}": "rescript format"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}