This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import glob from 'glob'; | |
| import fs from 'fs'; | |
| import { compile as compileTypeScript } from 'json-schema-to-typescript'; | |
| import path from 'path'; | |
| import rimraf from 'rimraf'; | |
| const FORMATS = Object.freeze({ | |
| json: 'json', | |
| typescript: 'typescript', | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { exec } = require('child_process'); | |
| const fs = require('fs'); | |
| const path = require('path'); | |
| const ping = require('ping'); | |
| const puppeteer = require('puppeteer'); | |
| const reactDocs = require('react-docgen'); | |
| const componentSrc = ` | |
| import React, { Component } from 'react'; | |
| import PropTypes from 'prop-types'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Should be adjusted based on different tokenization */ | |
| import { colord } from 'colord'; | |
| import { from } from 'nearest-color'; | |
| import tokens from 'your-tokens'; | |
| function getType(key) { | |
| if (key.toLowerCase().includes('color')) { | |
| return 'color'; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import chalk from 'chalk'; | |
| import clear from 'clear'; | |
| import CLI from 'clui'; | |
| import figlet from 'figlet'; | |
| import fs from 'fs'; | |
| import jsonFormat from 'json-format'; | |
| import kebabCase from 'lodash.kebabcase'; | |
| import startcase from 'lodash.startcase'; | |
| import tolower from 'lodash.tolower'; | |
| import truncate from 'lodash.truncate'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default function transformer(file, api, options) { | |
| const j = api.jscodeshift; | |
| const root = j(file.source); | |
| const removeIfUnused = (importSpecifier, importDeclaration) => { | |
| const varName = importSpecifier.value.local.name; | |
| if (varName === "React") { | |
| return false; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package scalajs.vue.Counter | |
| import org.scalajs.dom | |
| import org.scalajs.dom._ | |
| import scala.scalajs.js | |
| import scala.scalajs.js.Any._ | |
| import scala.scalajs.js.Dynamic.{literal, global => g} | |
| import scala.scalajs.js.{Dynamic, JSApp} | |
| import scala.scalajs.js.annotation.JSExport | |
| import scalajs.vuejs.Vue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <header> | |
| <a href="http://codepen.io/mikemang/#hireme" id="logo"> | |
| <h1 class="animated slideInLeft">michael mangialardi</h1> | |
| </a> | |
| <nav> | |
| <ul class="animated slideInRight"> | |
| <li><a href="https://s3-us-west-2.amazonaws.com/s.cdpn.io/827672/mike_mangialardi_resume.pdf" download>resume</a></li> | |
| <li><a href="http://codepen.io/mikemang/#hireme">hire</a></li> | |
| </ul> |