-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
46 lines (46 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
{
"name": "reason-expo-monorepo",
"private": true,
"main": "index.js",
"repository": "https://github.com/FiberJW/reason-expo.git",
"author": "Juwan Wheatley <datwheat@gmail.com>",
"license": "MIT",
"workspaces": [
"packages/*"
],
"scripts": {
"format:most": "prettier --write \"**/*.{md,json,js,css}\"",
"format:re": "find ./packages -iname '*.re' | xargs bsrefmt --in-place && find ./packages -iname '*.rei' | xargs bsrefmt -i true --in-place && find ./test -iname '*.re' | xargs bsrefmt --in-place && find ./template -iname '*.re' | xargs bsrefmt --in-place",
"format": "yarn format:most && yarn format:re",
"watch": "run-p watch:reason-expo watch:test",
"watch:reason-expo": "cd packages/reason-expo && yarn watch",
"watch:test": "cd packages/test && yarn watch",
"start-test-app": "cd packages/test && yarn start",
"re:clean-build": "bsb -clean-world -make-world",
"test-build": "cd packages/test && bsb -clean-world -make-world",
"dev": "run-p watch start-test-app"
},
"devDependencies": {
"npm-run-all": "^4.1.5",
"husky": "^1.3.1",
"lint-staged": "^10.1.1",
"prettier": "^1.16.4"
},
"prettier": {
"trailingComma": "all",
"proseWrap": "always"
},
"lint-staged": {
"*.{md,json,js,css}": [
"prettier --write"
],
"*.{re,rei}": [
"bsrefmt --in-place"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}