Coder Social home page Coder Social logo

Comments (8)

sebastiendan avatar sebastiendan commented on May 24, 2024 1

No pb, I've never done it either but will try soon.
Should be pretty straightforward from this:

https://docs.npmjs.com/getting-started/creating-node-modules

from angular-material-design-lite.

jadjoubran avatar jadjoubran commented on May 24, 2024

Hi @sebastiendan
Yes sure! Would you be able to send a PR? Or at least point me in the right direction to make it also exportable for npm modules (never done this before)

Thanks!

from angular-material-design-lite.

sebastiendan avatar sebastiendan commented on May 24, 2024

Any news on this? I actually did my first npm module a few days ago, it really is easy and takes no more than 5 min.

Thanks for your work!

from angular-material-design-lite.

jadjoubran avatar jadjoubran commented on May 24, 2024

Oh I thought you were going to send a PR
Let me know if you can't, so I'll do it

from angular-material-design-lite.

sebastiendan avatar sebastiendan commented on May 24, 2024

Actually you just have to check information in package.json is correct and then run npm publish. It has to be done with your npm account otherwise it won't be under your control, so there's nothing much I can do with a PR :)

from angular-material-design-lite.

jadjoubran avatar jadjoubran commented on May 24, 2024

Oh that's right! I thought there something that needed to be fixed in the package.json
It's published now here
Let me know if it doesn't work

from angular-material-design-lite.

sebastiendan avatar sebastiendan commented on May 24, 2024

Works like a charm, thank you!
Nevertheless I have 2 suggestions:

  • You should update your readme
  • I don't know if this is the best practise but in package.json I would config main as minified version of your script. Anyway your script is very light so it's ok as it is now.

Thank you for prompt reply and change on this!

Cheers!

from angular-material-design-lite.

jadjoubran avatar jadjoubran commented on May 24, 2024

Thanks!
Fixed in 0.4.4
Also moved express from dependencies to devDependencies

from angular-material-design-lite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.