forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 1.44 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
61
62
63
{
"name": "reason-react-native",
"version": "0.61.1",
"peerDependencies": {
"react-native": "^0.61.0",
"reason-react": "^0.7.0"
},
"repository": "https://github.com/reason-react-native/reason-react-native.git",
"license": "MIT",
"keywords": [
"reason",
"reasonml",
"bucklescript",
"react-native"
],
"files": [
"*",
"!.github",
"!.DS_Store",
"!**/*.bs.js",
"!.merlin",
"!lib/bs",
"!lib/ocaml"
],
"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": "^7.2.0",
"husky": "^1.3.1",
"lint-staged": "^10.1.1",
"npm-run-all": "^3.0.0",
"npmpub": "^5.0.0",
"prettier": "^1.16.4",
"reason-react": "^0.7.0"
},
"prettier": {
"trailingComma": "all",
"proseWrap": "always"
},
"lint-staged": {
"*.{md,json,js,css}": [
"prettier --write"
],
"*.{re,rei}": [
"bsrefmt --in-place"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}