Skip to content

Commit 9b5724d

Browse files
committed
Add command for building client
1 parent 1825fa2 commit 9b5724d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

client/index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
content="A web editor for p5.js, a JavaScript library with the goal of making coding accessible to artists, designers, educators, and beginners."
1313
/>
1414
<title>p5.js Web Editor</title>
15-
1615
<link
1716
href="https://fonts.googleapis.com/css?family=Inconsolata"
1817
rel="stylesheet"
@@ -25,7 +24,7 @@
2524
/>
2625
<link rel='shortcut icon'
2726
href='https://raw.githubusercontent.com/processing/p5.js-website-OLD/master/favicon.ico'
28-
type='image/x-icon' / >
27+
type='image/x-icon' />
2928
</head>
3029
<body>
3130
<div id="root" class="root-app"></div>

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
"fetch-examples:prod": "cross-env NODE_ENV=production node ./dist/fetch-examples.bundle.js",
2121
"fetch-examples-gg:prod": "cross-env NODE_ENV=production node ./dist/fetch-examples-gg.bundle.js",
2222
"fetch-examples-ml5:prod": "cross-env NODE_ENV=production node ./dist/fetch-examples-ml5.bundle.js",
23-
"heroku-postbuild": "touch .env; npm run build"
23+
"heroku-postbuild": "touch .env; npm run build",
24+
"parcel": "parcel client/index.html",
25+
"parcel:build": "parcel build client/index.html"
2426
},
2527
"jest": {
2628
"setupFiles": [

0 commit comments

Comments
 (0)