Coder Social home page Coder Social logo

packagejsonexample's Introduction

Example package.json file

No matter how many package.json files I write/copy/steal, I am always forgetting various properties, because I don't always use all of them in every package.json. This package consists of a regular JavaScript object in a regular src/package.js file, fully documented with notes (since regular .js files allow comments), that is itself used to create the package.json file that manages this project.

About as close as I can get to a self documenting package.json file that also contains the format of settings I like to use.

package.json docs

Generated docs should be found here. If for some reason I broke this link, just check out the docs/package.html in your favorite browser (it'll work better if you've checked out/downloaded the code).

Requirements for all dev tasks

If you are here, you know that this requires Node.js and npm.

Building the distribution

To refresh the docs/ and the package.json file, run:

npm install
# since our dist script is non-standard, we need the run-script option
npm run-script dist

References

Note on the license

I don't care how you use any of the code within this directory. I mean, almost none of it is my code, and all I really did was document stuff. The MIT licensing is included more as a template for the license that I usually use.

packagejsonexample's People

Contributors

jeremyosborne avatar

Watchers

Jason Mooberry avatar James Cloos avatar  avatar

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.