You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
module.exports = initials
, without checking fordefine
, and the wrapper functions anymore. Rename file toindex.js
and make it the "main" in package.json/initials.js
. beefy could be a simple option for that, the npm start task could look likebeefy ./index.js --cwd=./demo
coverage/
in it, so that/dist
gets added to published pacakge)/demo
, 3. gh-pages-deploy of/demo
folderrelease.branch
setting in package.jsonbranches
setting in.travis.yml
That should be it :) @zoepage want to give this a go? Does it all make sense?
The text was updated successfully, but these errors were encountered: