lemonde / angular-ckeditor

CKEditor directive for Angular.
137 stars 133 forks source link

Provide main export for NPM. #44

Open yangmillstheory opened 8 years ago

yangmillstheory commented 8 years ago

Lots of popular ng-modules (ui-router, ng-route, ng-animate), have

module.exports = 'ngRoute' // for example

in their entry point; in your case it's ckeditor.js.

I'm using this project in a browserified build; can we provide an NPM export similarly? We can use this as a rough guide: http://blog.npmjs.org/post/112064849860/using-jquery-plugins-with-npm.

See also https://github.com/tableau-mkt/jquery.addressfield/pull/52.