Skip to content

Commit 306d33b

Browse files
committed
🙃🙃🙃
1 parent 9e2b7fe commit 306d33b

File tree

7 files changed

+198
-0
lines changed

7 files changed

+198
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.DS_Store
2+
/node_modules/
3+
/lib/
4+
.bsb.lock
5+
.merlin
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# ReScript Project Template
2+
3+
- [Installation](../../README.md)
4+
5+
Official ReScript starter template.
6+
7+
## Installation
8+
9+
```sh
10+
npm install
11+
```
12+
13+
## Build
14+
15+
- Build: `npm run res:build`
16+
- Clean: `npm run res:clean`
17+
- Build & watch: `npm run res:dev`
18+
19+
## Run
20+
21+
```sh
22+
node src/Demo.res.mjs
23+
```

tests/rewatch_tests/repos/npm/single-project/package-lock.json

Lines changed: 132 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "single-project",
3+
"version": "0.0.0",
4+
"scripts": {
5+
"res:build": "rescript",
6+
"res:clean": "rescript clean",
7+
"res:dev": "rescript watch"
8+
},
9+
"keywords": [
10+
"rescript"
11+
],
12+
"author": "",
13+
"license": "MIT",
14+
"dependencies": {
15+
"rescript": "^12.0.0-beta.10"
16+
}
17+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "single-project",
3+
"sources": {
4+
"dir": "src",
5+
"subdirs": true
6+
},
7+
"package-specs": {
8+
"module": "esmodule",
9+
"in-source": true
10+
},
11+
"suffix": ".res.mjs",
12+
"bs-dependencies": [],
13+
"bsc-flags": []
14+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Console.log("Hello, world!__")
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Generated by ReScript, PLEASE EDIT WITH CARE
2+
3+
4+
console.log("Hello, world!__");
5+
6+
/* Not a pure module */

0 commit comments

Comments
 (0)