#!/usr/bin/env node var fs = require("fs"); var templates = require("../lib/babel/util").templates; fs.writeFileSync("templates.json", JSON.stringify(templates));