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

Added package.json (for npm package management), build by Grunt.js and made openfb.js "browserify" friendly #56

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

jhberges
Copy link

Got a bit messy, since I also included the grunt-release plugin to automate release.

However the upside is that users can do:

$ npm install git+https://[email protected]/ccoenraets/OpenFB.git --save

Then in (if using browserify), it's possible to do in code:

var openfb = require('open-fb');

openfb.init(params);

edit : first you (ofcourse) need npm installed (part of Node.js), then you do npm install -d to download grunt + dependencies.

To build (lint + "uglify"(minimize)):

$ grunt

To release:

$ grunt release

See https://github.com/geddski/grunt-release for options.

You might want to update the package.json file to reflect your own versioning and then do a "proper" release.

Cheers!

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

Successfully merging this pull request may close these issues.

1 participant