Skip to content

Instantly share code, notes, and snippets.

@a0viedo
Created November 14, 2014 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a0viedo/4bfd445610d9e219e051 to your computer and use it in GitHub Desktop.
Save a0viedo/4bfd445610d9e219e051 to your computer and use it in GitHub Desktop.
Lo que deberían tener los tutores en pendrives

Cada pendrive debería contener:

  • Windows Installer (.msi) de Node tanto para x86 cómo x64.
  • Mac OS X Installer (.pkg).
  • Binarios de Linux (.tar.gz) tanto para x86 cómo x64.
  • Worshoppers core empaquetados (.tgz)

Cómo empaquetar un workshop

Si agregamos las dependencias a bundledDependencies dentro del package.json, al ejecutar el comando npm pack se debería crea el archivo con extensión tgz que contiene a su vez todas las dependencias. Por ejemplo el package.json de javascripting:

{
  "name": "javascripting",
  "description": "Learn JavaScript by adventuring around in the terminal.",
  "version": "1.5.0",
  "repository": {
    "url": "git://github.com/sethvincent/javascripting.git"
  },
  "author": "sethvincent",
  "bin": {
    "javascripting": "index.js"
  },
  "preferGlobal": true,
  "dependencies": {
    "adventure": "git+ssh://git@github.com:a0viedo/adventure.git",
    "cli-md": "^0.1.0"
  },
  "bundledDependencies": [ "adventure", "cli-md"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment