-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
81 additions
and
74 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
{ | ||
"name": "re-formality-examples", | ||
"version": "0.0.0", | ||
"private": true, | ||
"scripts": { | ||
"start": "parcel src/index.html", | ||
"prestart": "yarn run clean && yarn run res:build", | ||
"build": "parcel build src/index.html", | ||
"prebuild": "yarn run clean && yarn run res:build", | ||
"clean": "yarn run dist:clean && yarn run res:clean", | ||
"res:build": "rescript build -with-deps", | ||
"res:watch": "rescript build -with-deps -w", | ||
"res:clean": "rescript clean", | ||
"dist:clean": "rm -rf dist", | ||
"format": "rescript format -all", | ||
"test": "exit 0", | ||
"deploy": "now deploy dist --prod --name re-formality", | ||
"predeploy": "yarn run build" | ||
}, | ||
"dependencies": { | ||
"@rescript/react": "0.11.0", | ||
"re-formality": "*", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
"rescript-classnames": "6.0.0" | ||
}, | ||
"devDependencies": { | ||
"parcel": "2.8.3", | ||
"process": "0.11.10", | ||
"rescript": "10.1.3" | ||
} | ||
"name": "re-formality-examples", | ||
"version": "0.0.0", | ||
"private": true, | ||
"scripts": { | ||
"start": "parcel src/index.html", | ||
"prestart": "yarn run clean && yarn run res:build", | ||
"build": "parcel build src/index.html", | ||
"prebuild": "yarn run clean && yarn run res:build", | ||
"clean": "yarn run dist:clean && yarn run res:clean", | ||
"res:build": "rescript build -with-deps", | ||
"res:watch": "rescript build -with-deps -w", | ||
"res:clean": "rescript clean", | ||
"dist:clean": "rm -rf dist", | ||
"format": "rescript format -all", | ||
"test": "exit 0", | ||
"deploy": "now deploy dist --prod --name re-formality", | ||
"predeploy": "yarn run build" | ||
}, | ||
"dependencies": { | ||
"@rescript/react": "0.12.1", | ||
"re-formality": "*", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
"rescript-classnames": "7.0.0" | ||
}, | ||
"devDependencies": { | ||
"parcel": "2.8.3", | ||
"process": "0.11.10", | ||
"rescript": "11.0.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"name": "re-formality-examples", | ||
"sources": [ | ||
"src" | ||
], | ||
"bs-dependencies": [ | ||
"@rescript/react", | ||
"re-formality", | ||
"rescript-classnames" | ||
], | ||
"jsx": { | ||
"version": 4 | ||
}, | ||
"bsc-flags": [ | ||
"-open Belt", | ||
"-open Cx" | ||
], | ||
"ppx-flags": [ | ||
"../_build/default/ppx/bin/bin.exe" | ||
], | ||
"package-specs": { | ||
"module": "es6", | ||
"in-source": true | ||
}, | ||
"suffix": ".res.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>re-formality</title> | ||
<link rel="stylesheet" href="./index.css" /> | ||
</head> | ||
<body> | ||
</head> | ||
|
||
<body> | ||
<div id="app" /> | ||
<script type="module" src="./index.bs.js"></script> | ||
</body> | ||
<script type="module" src="./index.res.js"></script> | ||
</body> | ||
|
||
</html> |