Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added NPM and Travis CI configuration

  • Loading branch information...
commit 97a71b6e725d1cc031d55efb0289e993a5b8ea74 1 parent 4200ebd
@cbas cbas authored
View
4 .gitignore
@@ -1 +1,3 @@
-/docs
+/docs
+/node_modules
+*.log
View
4 .travis.yml
@@ -0,0 +1,4 @@
+language: node_js
+node_js:
+ - 0.4
+ - 0.6
View
34 package.json
@@ -0,0 +1,34 @@
+{
+ "name": "tribe_ui",
+ "version": "1.0.0",
+ "description": "The Tribe.im client application",
+ "homepage": "http://tribe.im/",
+ "maintainers": [
+ {
+ "name": "Sebastiaan Deckers",
+ "email": "sebdeckers83@gmail.com"
+ }
+ ],
+ "licenses": [
+ {
+ "type": "GPLv3+",
+ "url": "http://www.gnu.org/licenses/gpl-3.0.html"
+ }
+ ],
+ "repositories": [
+ {
+ "type": "git",
+ "url": "git://github.com/tribeim/tribe_ui.git"
+ }
+ ],
+ "engines": {
+ "node": "~0.6.5"
+ },
+ "dependencies": {},
+ "devDependencies": {
+ "qunit": "latest"
+ },
+ "scripts": {
+ "test": "qunit testrunner.js"
+ }
+}
View
5 qunit.html
@@ -9,10 +9,9 @@
<script>
// <![CDATA[
require.config({
- baseUrl: "/",
+ baseUrl: "./",
paths: {
- // required plugin
- "text": "/libraries/text"
+ "text": "libraries/text"
}
});
require([
View
20 testrunner.js
@@ -0,0 +1,20 @@
+var testrunner = require("qunit");
+
+testrunner.run(
+ {
+ code: "./core/events.js",
+ tests: "./tests/core/events.js"
+ },
+ {
+ code: "./core/settings.js",
+ tests: "./tests/core/settings.js"
+ },
+ {
+ code: "./core/xpath.js",
+ tests: "./tests/core/xpath.js"
+ },
+ {
+ code: "./core/promise.js",
+ tests: "./tests/core/promise.js"
+ }
+);
Please sign in to comment.
Something went wrong with that request. Please try again.