From 7f0fc2a8218839e41bf8265225688827d1decfcb Mon Sep 17 00:00:00 2001 From: Joseph Samela Date: Fri, 11 Jan 2019 13:43:22 -0500 Subject: [PATCH] Make package.json valid json object --- doc/tutorials/bundle.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/tutorials/bundle.md b/doc/tutorials/bundle.md index 71bdf080ac..4137514033 100644 --- a/doc/tutorials/bundle.md +++ b/doc/tutorials/bundle.md @@ -72,10 +72,12 @@ You will also need an `index.html` file that will use your bundle. Here is a sim With simple scripts you can introduce the commands `npm run build` and `npm start` to manually build your bundle and watch for changes, respectively. Add the following to the script section in `package.json`: ```json -"scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "start": "parcel index.html", - "build": "parcel build --public-url . index.html" +{ + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "start": "parcel index.html", + "build": "parcel build --public-url . index.html" + } } ``` That's it. Now to run your application, enter