From e955c510040913d08d210fcfddec71b8a37aae5a Mon Sep 17 00:00:00 2001 From: Irakli Gozalishvili Date: Wed, 31 Oct 2012 19:38:26 -0700 Subject: [PATCH] Start a project. --- .travis.yml | 5 +++++ History.md | 5 +++++ License.md | 18 ++++++++++++++++++ Readme.md | 30 ++++++++++++++++++++++++++++++ package.json | 39 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 97 insertions(+) create mode 100644 .travis.yml create mode 100644 History.md create mode 100644 License.md create mode 100644 Readme.md create mode 100644 package.json diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..780731a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ +language: node_js +node_js: + - 0.4 + - 0.5 + - 0.6 diff --git a/History.md b/History.md new file mode 100644 index 0000000..b086100 --- /dev/null +++ b/History.md @@ -0,0 +1,5 @@ +# Changes + +## 0.0.1 / 2012-10-31 + + - Initial release \ No newline at end of file diff --git a/License.md b/License.md new file mode 100644 index 0000000..ed76489 --- /dev/null +++ b/License.md @@ -0,0 +1,18 @@ +Copyright 2012 Irakli Gozalishvili. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..fe92cb4 --- /dev/null +++ b/Readme.md @@ -0,0 +1,30 @@ +# phantomify + +[![Build Status](https://secure.travis-ci.org/Gozala/phantomify.png)](http://travis-ci.org/Gozala/phantomify) + +Phantomify lets you headlessly [browserify][]!! + +[Browserify][] does a great job of letting you concentrate on writing reusable +modules that work both on [nodejs][] & browsers instead of spending efforts +on bikeshidding module format. [PhantomJS][] on the other hand is headless +[webkit][] browser that is [well supported](http://about.travis-ci.org/docs/user/gui-and-headless-browsers/) +by a [travis-ci][]. [Phantomify][] composes this great tools together to +let you run node module in a headless browser environment. + +## Usage + + phantomify ./path/to/index.js + +[Phantomify][] will make a browserify bundle for the given module path +and then will load & execute it in an empty HTML page in a [PhantomJS][]. + +## Install + + npm install -g phantomify + +[Browserify]:https://github.com/substack/node-browserify +[nodejs]:http://nodejs.org/ +[PhantomJS]:https://github.com/ariya/phantomjs +[webkit]:http://webkit.org/ +[travis-ci]:http://travis-ci.org/ +[Phantomify]:https://github.com/Gozala/phantomify diff --git a/package.json b/package.json new file mode 100644 index 0000000..9a8b9e8 --- /dev/null +++ b/package.json @@ -0,0 +1,39 @@ +{ + "name": "phantomify", + "id": "phantomify", + "version": "0.0.1", + "description": "Browserify require in a PhantomJS", + "keywords": [ + "phantomify" + ], + "author": "Irakli Gozalishvili (http://jeditoolkit.com)", + "homepage": "https://github.com/Gozala/phantomify", + "repository": { + "type": "git", + "url": "https://github.com/Gozala/phantomify.git", + "web": "https://github.com/Gozala/phantomify" + }, + "bugs": { + "url": "http://github.com/Gozala/phantomify/issues/" + }, + "devDependencies": { + "test": "~0.5.0" + }, + "main": "./phantomify.js", + "bin": { + "phantomify": "./bin/cmd.js" + }, + "scripts": { + "test": "node test/index.js", + "repl": "node node_modules/repl-utils" + }, + "licenses": [ + { + "type": "MIT", + "url": "https://github.com/Gozala/phantomify/License.md" + } + ], + "dependencies": { + "browserify": "~1.16.1" + } +}