babel presets
ignore node_modules
This commit is contained in:
parent
921c50e54b
commit
94683e0672
35
.gitignore
vendored
Normal file
35
.gitignore
vendored
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
#### joe made this: https://goel.io/joe
|
||||||
|
|
||||||
|
#####=== Node ===#####
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# node-waf configuration
|
||||||
|
.lock-wscript
|
||||||
|
|
||||||
|
# Compiled binary addons (http://nodejs.org/api/addons.html)
|
||||||
|
build/Release
|
||||||
|
|
||||||
|
# Dependency directory
|
||||||
|
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
|
||||||
|
node_modules
|
||||||
|
|
||||||
|
# Debug log from npm
|
||||||
|
npm-debug.log
|
||||||
|
|
2
index.js
2
index.js
@ -3,6 +3,8 @@
|
|||||||
var game = process.argv[2];
|
var game = process.argv[2];
|
||||||
|
|
||||||
if (!game) {
|
if (!game) {
|
||||||
|
console.log('usage: node-games <game>')
|
||||||
|
console.log('');
|
||||||
console.log('Games');
|
console.log('Games');
|
||||||
console.log('- spacecraft');
|
console.log('- spacecraft');
|
||||||
return;
|
return;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "node-games",
|
"name": "node-games",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"description": "Simple node console games",
|
"description": "Simple node console games",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user