Skip to content

Commit 498025d

Browse files
committed
Update README and add helper script
1 parent f43fb80 commit 498025d

File tree

10 files changed

+20
-20
lines changed

10 files changed

+20
-20
lines changed

Diff for: examples/actions/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44

55
```
66
npm install
7-
make all
7+
npm run build
8+
npm start
89
```
910

1011
This will compile the PureScript source files, bundle them, and use Browserify to combine PureScript and NPM sources into a single bundle.
11-
12-
Then open `html/index.html` in your browser.

Diff for: examples/actions/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"scripts": {
3-
"start": "parcel html/index.html"
3+
"start": "parcel html/index.html --open",
4+
"build": "spago build"
45
},
56
"dependencies": {
67
"react": "^17.0.1",

Diff for: examples/async/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44

55
```
66
npm install
7-
make all
7+
npm run build
8+
npm start
89
```
910

1011
This will compile the PureScript source files, bundle them, and use Browserify to combine PureScript and NPM sources into a single bundle.
11-
12-
Then open `html/index.html` in your browser.

Diff for: examples/async/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"scripts": {
3-
"start": "parcel html/index.html"
3+
"start": "parcel html/index.html --open",
4+
"build": "spago build"
45
},
56
"dependencies": {
67
"react": "^17.0.1",

Diff for: examples/component/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44

55
```
66
npm install
7-
make all
7+
npm run build
8+
npm start
89
```
910

1011
This will compile the PureScript source files, bundle them, and use Browserify to combine PureScript and NPM sources into a single bundle.
11-
12-
Then open `html/index.html` in your browser.

Diff for: examples/component/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"scripts": {
3-
"start": "parcel html/index.html"
3+
"start": "parcel html/index.html --open",
4+
"build": "spago build"
45
},
56
"dependencies": {
67
"react": "^17.0.1",

Diff for: examples/controlled-input/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44

55
```
66
npm install
7-
make all
7+
npm run build
8+
npm start
89
```
910

1011
This will compile the PureScript source files, bundle them, and use Browserify to combine PureScript and NPM sources into a single bundle.
11-
12-
Then open `html/index.html` in your browser.

Diff for: examples/controlled-input/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"scripts": {
3-
"start": "parcel html/index.html"
3+
"start": "parcel html/index.html --open",
4+
"build": "spago build"
45
},
56
"dependencies": {
67
"react": "^17.0.1",

Diff for: examples/counter/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44

55
```
66
npm install
7-
make all
7+
npm run build
8+
npm start
89
```
910

1011
This will compile the PureScript source files, bundle them, and use Browserify to combine PureScript and NPM sources into a single bundle.
11-
12-
Then open `html/index.html` in your browser.

Diff for: examples/counter/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"scripts": {
3-
"start": "parcel html/index.html"
3+
"start": "parcel html/index.html --open",
4+
"build": "spago build"
45
},
56
"dependencies": {
67
"react": "^17.0.1",

0 commit comments

Comments
 (0)