I substantially rebuilt this PR since much of it has become obsolete.
I've configured a prepare script to run the gulp build, which will ensure that we automatically run the gulp build during npm install.
In addition, the new http server script will launch a web server and watch the files for changes to automatically rebuild them. (I've renamed the serve script to start, so you can type npm start instead of npm run serve.)
Finally, with a fix for #80, we don't have to document how to use the ?story parameter to test Parchment; users can just submit local files for testing.
I substantially rebuilt this PR since much of it has become obsolete.
I've configured a
prepare
script to run the gulp build, which will ensure that we automatically run the gulp build duringnpm install
.In addition, the new http server script will launch a web server and watch the files for changes to automatically rebuild them. (I've renamed the
serve
script tostart
, so you can typenpm start
instead ofnpm run serve
.)Finally, with a fix for #80, we don't have to document how to use the
?story
parameter to test Parchment; users can just submit local files for testing.