Skip to content

Commit 80e3226

Browse files
authored
Merge pull request #10 from DZakh-forks/update-npm-scripts
Align convenience npm script names with the ones in the installation guide
2 parents 05825f7 + 07752b5 commit 80e3226

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ npm install
1010

1111
## Build
1212

13-
- Build: `npm run build`
14-
- Clean: `npm run clean`
15-
- Build & watch: `npm run start`
13+
- Build: `npm run res:build`
14+
- Clean: `npm run res:clean`
15+
- Build & watch: `npm run res:start`
1616

1717
## Run
1818

1919
```sh
2020
node src/Demo.bs.js
21-
```
21+
```

Diff for: package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"name": "rescript-project-template",
33
"version": "0.0.1",
44
"scripts": {
5-
"build": "rescript",
6-
"clean": "rescript clean -with-deps",
7-
"start": "rescript build -w"
5+
"res:build": "rescript",
6+
"res:clean": "rescript clean -with-deps",
7+
"res:start": "rescript build -w"
88
},
99
"keywords": [
1010
"rescript"

0 commit comments

Comments
 (0)