diff --git a/angular-terminal.js b/angular-terminal.js index bd867fd..f6bf3a8 100644 --- a/angular-terminal.js +++ b/angular-terminal.js @@ -13,7 +13,8 @@ angular // user input commands $rootScope.$emit(namespace, input, terminal); }, { - greetings: attrs.greetings || '' + greetings: attrs.greetings || '', + prompt: attrs.prompt || ">" }); // receiving echo commands\ @@ -22,4 +23,4 @@ angular }); } }; -}]); \ No newline at end of file +}]); diff --git a/package.json b/package.json new file mode 100644 index 0000000..32e1ad5 --- /dev/null +++ b/package.json @@ -0,0 +1,27 @@ +{ + "name": "angular-terminal", + "version": "1.0.0", + "description": "A port of jQuery.terminal into AngularJS", + "main": "angular-terminal.js", + "directories": { + "example": "examples" + }, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/mattlo/angular-terminal.git" + }, + "keywords": [ + "angular", + "jquery", + "terminal" + ], + "author": "Matt Lo ", + "license": "SEE LICENSE IN LICENSE", + "bugs": { + "url": "https://github.com/mattlo/angular-terminal/issues" + }, + "homepage": "https://github.com/mattlo/angular-terminal#readme" +}