-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (59 loc) · 1.68 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": "reason-react-native-boilerplate",
"version": "0.0.0",
"repository": "https://github.com/MoOx/reason-react-native-boilerplate.git",
"license": "MIT",
"keywords": [
"react-native",
"react-native-template",
"reason",
"reasonml",
"bucklescript"
],
"files": [
"*",
"!.DS_Store",
"!template/**/*.bs.js",
"!template/.merlin",
"!template/android/app/build",
"!template/ios/build",
"!template/ios/Pods",
"!template/lib/bs",
"!template/lib/ocaml"
],
"devDependencies": {
"bs-platform": "^5.2.1",
"husky": "^1.3.0",
"lint-staged": "^8.1.0",
"npmpub": "^5.0.0",
"prettier": "^1.18.0"
},
"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",
"test": "cd template && yarn test",
"#prepublishOnly": "this is to include debug.keystore for android. Using files here doesn't work as .gitignore of the other folder seems to be *stronger*",
"prepublishOnly": "rm -f template/.npmignore && grep -w -v \"*.keystore\" template/.gitignore > template/.npmignore",
"release": "npmpub"
},
"prettier": {
"trailingComma": "all",
"proseWrap": "always"
},
"lint-staged": {
"*.{md,json,js,css}": [
"prettier --write",
"git add"
],
"*.{re,rei}": [
"bsrefmt --in-place",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}