Skip to content

Commit

Permalink
improving project information
Browse files Browse the repository at this point in the history
Signed-off-by: Moacir de Oliveira <moacirdeoliveira.eng@gmail.com>
  • Loading branch information
moacir committed Aug 26, 2013
1 parent abe76ca commit f06921c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
10 changes: 3 additions & 7 deletions bin/jspt
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,11 @@ var opts = nopt({
});

var help = [
meta.name + ' ' + meta.version + ' - ' + meta.description
'JSPT - Javascript Portugol',
'Versão: ' + meta.version + ' Alfa'
].join('\n');

if (opts.version) {
console.log(meta.version);
process.exit();
}

if (opts.help) {
if (opts.help || opts.version) {
console.log(help);
process.exit();
}
Expand Down
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
{
"name": "JSPT",
"name": "jspt",
"description": "Javascript Implementation of the Portugol Language",
"version": "0.0.1",
"author": {
"name": "Moacir de Oliveira",
"email": "moacirdeoliveira.eng@gmail.com"
},
"repository": {
"type": "git",
"url": "http://github.com/moacir/jspt.git"
},
"main": "lib/jspt/main.js",
"bin": "bin/jspt",
"dependencies": {
"nopt": "~2.1.2"
},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-jshint": "~0.6.3",
"grunt-contrib-nodeunit": "~0.2.0",
"grunt-contrib-uglify": "~0.2.2",
"grunt-contrib-concat": "~0.3.0",
"grunt-browserify": "~1.2.4",
"nopt": "~2.1.2"
"grunt-browserify": "~1.2.4"
}
}

0 comments on commit f06921c

Please sign in to comment.