super tiny cli for tiny compiler?

This also adds a barebones package.json file  and .gitignore.
pull/7/head
Gabriel Montalvo 8 years ago
parent 0baea5b6ad
commit c6a64c0cb0

76
.gitignore vendored

@ -0,0 +1,76 @@
# Logs
logs
*.log
# Runtime data
pids
*.pid
*.seed
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Dependency directory
# Commenting this out is preferred by some people, see
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
node_modules
# Users Environment Variables
.lock-wscript
# =========================
# Operating System Files
# =========================
# OSX
# =========================
.DS_Store
.AppleDouble
.LSOverride
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
# Windows
# =========================
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
# Windows shortcuts
*.lnk

@ -0,0 +1,8 @@
#!/usr/bin/env node
var meow = require('meow');
var superTinyCompiler = require('../super-tiny-compiler');
var cli = meow();
console.log(superTinyCompiler.compiler(cli.input[0]));

@ -0,0 +1,19 @@
{
"name": "the-super-tiny-compiler",
"description": "Possibly the smallest compiler ever",
"scripts": {
"test": "node ./test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thejameskyle/the-super-tiny-compiler.git"
},
"license": "SEE LICENSE IN ./LICENSE",
"bugs": {
"url": "https://github.com/thejameskyle/the-super-tiny-compiler/issues"
},
"homepage": "https://github.com/thejameskyle/the-super-tiny-compiler#readme",
"dependencies": {
"meow": "^3.7.0"
}
}
Loading…
Cancel
Save