-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
58 lines (58 loc) · 1.42 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
{
"name": "@rescript-react-native/__template__",
"description": "ReScript bindings for react-native-XXXXXXXXXX",
"version": "0.0.0",
"publishConfig": {
"access": "public"
},
"peerDependencies": {},
"overrides": {
"react": "17.0.2"
},
"repository": "https://github.com/rescript-react-native/__template__.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": {
"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": "^10.0.0",
"husky": "^4.0.0",
"lint-staged": "^10.0.0",
"npmpub": "^5.0.0",
"prettier": "^2.0.0"
},
"prettier": {
"trailingComma": "all"
},
"lint-staged": {
"*.{md,json,js,css}": "prettier --write",
"*.{res,resi}": "rescript format"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}