-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
50 lines (50 loc) · 1.23 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
{
"private": true,
"version": "0.0.0",
"name": "bs-react-native-monorepo",
"license": "MIT",
"devDependencies": {
"bs-platform": "^5.0.4",
"husky": "^1.3.1",
"lerna": "^3.4.0",
"lint-staged": "^8.1.5",
"npm-run-all": "^3.0.0",
"prettier": "^1.16.4"
},
"scripts": {
"prepare": "cd website && yarn prepare",
"prerelease": "yarn prepare",
"release": "lerna publish",
"format": "yarn format:most && yarn format:re",
"format:most": "prettier --write \"**/*.{js,json,css,md}\"",
"format:re": "find . -name \"*.re\" -or -name \"*.rei\" | grep -v \"node_modules\" | xargs bsrefmt --in-place",
"clean": "lerna exec --concurrency 1 -- yarn clean",
"test": "lerna exec --concurrency 1 -- yarn test"
},
"prettier": {
"trailingComma": "all",
"proseWrap": "always"
},
"lint-staged": {
"*.{re,rei}": [
"bsrefmt --in-place",
"git add"
],
"*.{js,json,css,md}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"workspaces": [
"bs-react-native",
"bs-react-native-jsx3-compat",
"reason-react-native",
"bs-react-native-example",
"react-native-template-reason",
"website"
]
}