From 74892a8fd50cdc2a1294d776dc246912de9f94d5 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Mon, 11 Aug 2014 21:03:24 -0500 Subject: Prepare bower with a concatenated file. --- README.md | 9 +++------ bower.json | 32 ++++++++++++++++++++++++++++++++ browser_test/index.html | 7 +------ dist/serpentity.js | 6 ++++++ gulpfile.js | 17 +++++++++++++++++ lib/renderer/console.js | 0 lib/serpentity/bower.json | 31 ------------------------------- package.json | 5 ++++- 8 files changed, 63 insertions(+), 44 deletions(-) create mode 100644 bower.json create mode 100644 dist/serpentity.js create mode 100644 gulpfile.js delete mode 100644 lib/renderer/console.js delete mode 100644 lib/serpentity/bower.json diff --git a/README.md b/README.md index 4d73f18..6703b5f 100644 --- a/README.md +++ b/README.md @@ -95,12 +95,9 @@ Just run `engine.update(dt)` in your game loop :D ## Checking it in the frontend (dev). -You can link the bower package (bower.json is in `lib/serpentity/` to -make paths cleaner), then link it again from the root directory and -spawn a python server (`python -m SimpleHTTPServer`). The test page -will be available in `http://localhost:8000/browser_test/` - -If you just want to use it, it's available as a bower package! +You can link the bower package to test it out locally. +Spawn a python server (`python -m SimpleHTTPServer`) to see +the test page in `http://localhost:8000/browser_test/` ## TO-DO diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..ebd6bcd --- /dev/null +++ b/bower.json @@ -0,0 +1,32 @@ +{ + "name": "serpentity", + "version": "0.1.3", + "homepage": "https://github.com/benbeltran/serpentity", + "authors": [ + "Ben Beltran " + ], + "description": "A simple entity framework inspired by ash", + "main": [ + "./dist/serpentity.js" + ], + "keywords": [ + "entity" + ], + "license": "MIT", + "ignore": [ + "**/.*", + "node_modules", + "bower_components", + "test", + "tests", + "bin", + "browser_test", + "LICENSE", + "bower.json", + "README.md", + "lib" + ], + "dependencies": { + "neon": "*" + } +} diff --git a/browser_test/index.html b/browser_test/index.html index 3be1f38..82921b7 100644 --- a/browser_test/index.html +++ b/browser_test/index.html @@ -3,12 +3,7 @@ Serpentity Browser Test - - - - - - +