Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move development to master branch, use gh-pages as deploy branch #13

Closed
8 tasks done
gr2m opened this issue Sep 5, 2015 · 1 comment
Closed
8 tasks done

Move development to master branch, use gh-pages as deploy branch #13

gr2m opened this issue Sep 5, 2015 · 1 comment
Assignees

Comments

@gr2m
Copy link
Owner

gr2m commented Sep 5, 2015

  • move index.html into /demo folder
  • make initials.js commonjs-only, just one module.exports = initials, without checking for define, and the wrapper functions anymore. Rename file to index.js and make it the "main" in package.json
  • add a local dev server that serves /demo and dynamically browserifies initials and serves it at /initials.js. beefy could be a simple option for that, the npm start task could look like beefy ./index.js --cwd=./demo
  • add a build task, build into /dist. Add /dist to gitignore
  • Add .npmignore (only coverage/ in it, so that /dist gets added to published pacakge)
  • Add deploy task, which is 1. build, 2. copy build initials.js file to /demo, 3. gh-pages-deploy of /demo folder
  • remove the release.branch setting in package.json
  • remove branches setting in .travis.yml

That should be it :) @zoepage want to give this a go? Does it all make sense?

@zoepage zoepage self-assigned this Sep 7, 2015
@zoepage
Copy link
Contributor

zoepage commented Sep 7, 2015

As far as well, it does. If I have any questions, I'll ping you :)

@gr2m gr2m mentioned this issue Sep 18, 2015
@gr2m gr2m closed this as completed Oct 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants