forked from rescript-react-native/template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.18 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
{
"name": "@rescript-react-native/template",
"description": "React Native template for application developed with ReScript.",
"version": "0.64.1",
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/rescript-react-native/template",
"license": "MIT",
"keywords": [
"rescript",
"react-native",
"react-native-template"
],
"files": [
"*.js",
"template"
],
"devDependencies": {
"bs-platform": "^9.0.0",
"husky": "^4.0.0",
"lint-staged": "^10.0.0",
"npmpub": "^5.0.0",
"prettier": "^2.0.0"
},
"scripts": {
"prepare": "cd template && yarn",
"test": "cd template && yarn res:build && yarn test",
"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",
"release": "npmpub"
},
"prettier": {
"trailingComma": "all"
},
"lint-staged": {
"*.{md,json,js,css}": [
"prettier --write"
],
"*.{re,rei}": [
"bsrefmt --in-place"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}