Coder Social home page Coder Social logo

Comments (7)

giogonzo avatar giogonzo commented on July 20, 2024

👍

On Tue, Jun 2, 2015 at 4:26 PM, Giulio Canti [email protected]
wrote:

I think it's a standard to provide a ready to go package on npm:

src # ES6
lib # transpiled files (ES5)
index.js # npm package entry point


Reply to this email directly or view it on GitHub
#3.

Giovanni
~ buildo

from revenge.

gcanti avatar gcanti commented on July 20, 2024

ops.. there's already an index.js file in src. The additional root/index.js file is useless. Pointing to "main": "lib/index.js" in package.json is enough

from revenge.

giogonzo avatar giogonzo commented on July 20, 2024

Yup, but I think anyway that lib instead of build is sort of a
convention

On Tue, Jun 2, 2015 at 4:43 PM, Giulio Canti [email protected]
wrote:

ops.. there's already an index.js file in src. The additional
root/index.js file is useless. Pointing to "main": "lib/index.js" in
package.json is enough


Reply to this email directly or view it on GitHub
#3 (comment).

Giovanni
~ buildo

from revenge.

gcanti avatar gcanti commented on July 20, 2024

lib instead of build is sort of a convention

👍

from revenge.

gabro avatar gabro commented on July 20, 2024

dist?

gabriele
~ buildo

On 02 Jun 2015, at 16:45, Giovanni Gonzaga [email protected] wrote:

Yup, but I think anyway that lib instead of build is sort of a
convention

On Tue, Jun 2, 2015 at 4:43 PM, Giulio Canti [email protected]
wrote:

ops.. there's already an index.js file in src. The additional
root/index.js file is useless. Pointing to "main": "lib/index.js" in
package.json is enough


Reply to this email directly or view it on GitHub
#3 (comment).

Giovanni
~ buildo

Reply to this email directly or view it on GitHub.

from revenge.

gcanti avatar gcanti commented on July 20, 2024

AFAIK dist is for minimized files and/or browser distributions
lib should be the standard on npm

from revenge.

gabro avatar gabro commented on July 20, 2024

👍

gabriele
~ buildo

On 02 Jun 2015, at 16:51, Giulio Canti [email protected] wrote:

AFAIK dist is for minimized files and/or browser distributions
lib should be the standard on npm


Reply to this email directly or view it on GitHub.

from revenge.

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.