Skip to content

Commit c2a88e9

Browse files
author
Ben Jack
committed
added copy atom live server script to package.json
1 parent 272ffd9 commit c2a88e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@
2929
},
3030
"scripts": {
3131
"dev": "webpack-dev-server --config webpack.config.dev.js --mode=development -d",
32-
"build": "run-p prepare copy_p5 copy_ccapture copy_sample_code create_assets_folder",
32+
"build": "run-p prepare copy_p5 copy_ccapture copy_sample_code create_assets_folder copy_atom_live_server_script",
3333
"prepare": "webpack --mode=production",
3434
"copy_p5": "cpx ./node_modules/p5/lib/p5.min.js ./build/libraries/",
3535
"copy_ccapture": "cpx ./node_modules/ccapture.js/build/CCapture.all.min.js ./build/libraries/ && cpx ./node_modules/ccapture.js/src/gif.worker.js ./build/libraries/",
36+
"copy_atom_live_server_script": "cpx ./sample_code/.atom-live-server.json ./build/",
3637
"copy_sample_code": "cpx ./sample_code/index.html ./build/ && cpx ./sample_code/my_vignettes.js ./build/",
3738
"create_assets_folder": "mkdirp ./build/assets"
3839
},

0 commit comments

Comments
 (0)