generated from rescript-react-native/__template__
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
60 lines (60 loc) · 1.43 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/permissions",
"description": "ReScript bindings for react-native-permissions.",
"version": "2.2.2",
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"react-native-permissions": "^2.2.0"
},
"repository": "https://github.com/rescript-react-native/permissions.git",
"license": "MIT",
"keywords": [
"rescript",
"react-native"
],
"files": [
"*.md",
"bsconfig.json",
"src/**/*.res",
"src/**/*.resi",
"src/**/*.js",
"!src/**/*.bs.js"
],
"scripts": {
"format:most": "prettier --write \"**/*.{md,json,js,css}\"",
"format:re": "find . -name \"*.re\" -or -name \"*.rei\" | grep -v \"node_modules\" | xargs bsrefmt --in-place",
"format": "yarn format:most && yarn format:re",
"re:start": "bsb -make-world -w",
"re:build": "bsb -make-world",
"re:clean-build": "bsb -clean-world -make-world",
"start": "yarn re:start",
"build": "yarn re:build",
"test": "yarn re:clean-build",
"release": "npmpub"
},
"devDependencies": {
"bs-platform": "^9.0.0",
"husky": "^4.0.0",
"lint-staged": "^10.0.0",
"npmpub": "^5.0.0",
"prettier": "^2.0.0"
},
"prettier": {
"trailingComma": "all"
},
"lint-staged": {
"*.{md,json,js,css}": [
"prettier --write"
],
"*.{re,rei}": [
"bsrefmt --in-place"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}