Skip to content

Instantly share code, notes, and snippets.

@indexzero
Created August 20, 2011 16:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save indexzero/1159290 to your computer and use it in GitHub Desktop.
Save indexzero/1159290 to your computer and use it in GitHub Desktop.
The simplest possible package.json for installing things with npm.
mkdir sandbox
curl https://gist.github.com/gists/1159290/download -o node-sandbox.tgz
tar zxvf node-sandbox.tgz
mv gist1159290*/* sandbox/
rm -rf gist1159290*
cd sandbox
{
"name": "sandbox",
"description": "A simple sandbox for running npm modules in the REPL",
"engine": "node 0.4.x || 0.5.x"
}
@indutny
Copy link

indutny commented Aug 20, 2011

Nice, gist downloading itself... :)

@medikoo
Copy link

medikoo commented Aug 24, 2011

or just having 'node_modules' dir will do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment