5.10.3 • Published 9 years ago

euganke-npm2nix v5.10.3

Weekly downloads
1
License
-
Repository
github
Last release
9 years ago

npm2nix

Generate nix expressions from npmjs.org!

Usage

npm2nix node-packages.json node-packages.generated.nix

JSON structure

npm2nix expects the passed JSON file to be a list of strings and at most one object. Strings are taken as the name of the package. The object must be a valid dependencies object for an for an npm packages.json file. Alternatively, the passed JSON file can be an npm package.json, in which case the expressions for its dependencies will be generated.

Development

  • nix-shell
  • grunt watch

Release

  • export GITHUB_USERNAME=<your_github_username>
  • export GITHUB_PASSWORD=<your_github_password>
  • grunt release:patch/minor/major