forked from rikimasan/reason-react-native
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
62 lines (62 loc) · 1.54 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
{
"name": "rescript-react-native",
"description": "ReScript bindings for React Native.",
"version": "0.72.0",
"peerDependencies": {
"@rescript/react": ">=0.10.0",
"react-native": ">=0.72.0",
"rescript": ">=10.0.0"
},
"overrides": {
"react": "18.0.0"
},
"repository": "https://github.com/rescript-react-native/rescript-react-native.git",
"funding": "https://github.com/rescript-react-native/rescript-react-native?sponsor=1",
"license": "MIT",
"keywords": [
"rescript",
"react-native"
],
"files": [
"*.md",
"bsconfig.json",
"src/**/*.res",
"src/**/*.resi",
"src/**/*.js",
"!src/**/*.bs.js"
],
"scripts": {
"prepare": "husky install",
"format:most": "prettier --write \"**/*.{md,json,js,css}\"",
"format:res": "rescript format -all",
"format": "npm run format:most && npm run format:res",
"re:start": "rescript build -w",
"re:build": "rescript",
"re:clean-build": "rescript clean && rescript",
"start": "npm run re:start",
"build": "npm run re:build",
"test": "npm run re:clean-build",
"release": "npmpub"
},
"devDependencies": {
"@rescript/react": "^0.11.0",
"husky": "^8.0.0",
"lint-staged": "^13.0.0",
"npm-run-all": "^4.0.0",
"npmpub": "^5.0.0",
"prettier": "^2.0.0",
"rescript": "^10.0.0"
},
"prettier": {
"trailingComma": "all"
},
"lint-staged": {
"*.{md,json,js,css}": "prettier --write",
"*.{res,resi}": "rescript format"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}