Skip to content

Commit d671846

Browse files
authored
Add some basic bindings (ra-data-json-server, Admin, Resource) (#1)
* added initial package.json * installed dependencies, added npm scripts, and added gitignore file. * added ra-data-json-server and react-admin.Admin * added react-admin.Resource and bsconfig.json * fixed typo * trying to get default export to work * used bucklescript workaround to get the default field to work (rescript-lang/rescript#2456) * fixed errors in react-admin.Resource
1 parent ab42af4 commit d671846

8 files changed

+1265
-0
lines changed

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.DS_Store
2+
node_modules
3+
lib
4+
.bsb.lock
5+
.vscode
6+
npm-debug.log*
7+
*.bs.js
8+
.merlin

bsconfig.json

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "@ctbucha/bs-react-admin",
3+
"sources": [
4+
{
5+
"dir": "src",
6+
"subdirs": true
7+
}
8+
],
9+
"bs-dependencies": [
10+
"reason-react"
11+
],
12+
"package-specs": {
13+
"module": "commonjs"
14+
},
15+
"reason": {
16+
"react-jsx": 2
17+
},
18+
"suffix": ".bs.js",
19+
"bsc-flags": [
20+
"-bs-super-errors"
21+
],
22+
"refmt": 3
23+
}

0 commit comments

Comments
 (0)