Skip to content

Instantly share code, notes, and snippets.

@andyholst
andyholst / bundle.js
Created September 5, 2016 20:32 — forked from jackgill/bundle.js
A node.js script to create a bundle containing an npm package, and all of its dependencies.
/*
* This script will download a package (and all of its dependencies) from the
* online NPM registry, then create a gzip'd tarball containing that package
* and all of its dependencies. This archive can then be copied to a machine
* without internet access and installed using npm.
*
* The idea is pretty simple:
* - npm install [package]
* - rewrite [package]/package.json to copy dependencies to bundleDependencies
* - npm pack [package]
@andyholst
andyholst / ICOOM_.gitignore
Created September 25, 2013 17:46
A small android project where it's intention is to demonstrate better UX design with contacts, more description will come.
.gradle
/local.properties
/.idea/workspace.xml
.DS_Store