aboutsummaryrefslogtreecommitdiff
path: root/examples/web-demo/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web-demo/package.json')
-rw-r--r--examples/web-demo/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/web-demo/package.json b/examples/web-demo/package.json
index 24f507a..04da3ac 100644
--- a/examples/web-demo/package.json
+++ b/examples/web-demo/package.json
@@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
- "build": "npx -c 'browserify src/index.js -o index.js'",
+ "build": "mkdir -p public; cp index.html alice-in-wonderland.txt style.css public/; npx -c 'browserify src/index.js -o public/index.js'",
"watch": "npx -c 'watchify src/index.js -o index.js'"
},
"author": "pukkamustard",