This commit is contained in:
Guillaume Wuip 2015-01-24 09:10:10 +01:00
commit 881ba50938
5 changed files with 8 additions and 60 deletions

4
.travis.yml Normal file
View file

@ -0,0 +1,4 @@
language: node_js
node_js:
- "0.11"
- "0.10"

View file

@ -1,44 +0,0 @@
'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
options: {
jshintrc: '.jshintrc'
},
gruntfile: {
src: ['scribe.js', 'Gruntfile.js']
},
lib: {
src: ['lib/**/*.js', 'examples/**/*.js', 'static/js/**/*.js']
},
test: {
src: ['test/**/*.js']
},
},
watch: {
gruntfile: {
files: '<%= jshint.gruntfile.src %>',
tasks: ['jshint:gruntfile']
},
lib: {
files: '<%= jshint.lib.src %>',
tasks: ['jshint:lib']
},
test: {
files: '<%= jshint.test.src %>',
tasks: ['jshint:test']
},
},
});
// These plugins provide necessary tasks.
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');
// Default task.
grunt.registerTask('default', ['jshint']);
};

View file

@ -1,3 +1,5 @@
[![npm version](https://badge.fury.io/js/scribe-js.svg)](http://badge.fury.io/js/scribe-js) [![Build Status](https://travis-ci.org/bluejamesbond/Scribe.js.svg?branch=master)](https://travis-ci.org/bluejamesbond/Scribe.js)
![Logo](https://raw.githubusercontent.com/bluejamesbond/Scribe.js/master/__misc/scribejs%20design%20logo%20%5Ba%5D.png)
**Lightweight NodeJS Logging**

View file

@ -12,9 +12,7 @@
<script src ="js/index.js" type="text/javascript"></script>
</head>
<body>
<a class = "fork" target="_blank" href="https://github.com/bluejamesbond/Scribe.js">
<img style="position: absolute; top: 0; left: 0; border: 0;" src="https://camo.githubusercontent.com/567c3a48d796e2fc06ea80409cc9dd82bf714434/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png">
</a>
<style>#forkongithub a{background:#000;color:#fff;text-decoration:none;font-family:arial,sans-serif;text-align:center;box-sizing: content-box;font-weight:bold;padding:5px 40px;font-size:1rem;line-height:2rem;position:relative;transition:0.5s;}#forkongithub a:hover{background:#c11;color:#fff;}#forkongithub a::before,#forkongithub a::after{content:"";width:100%;display:block;position:absolute;top:1px;left:0;height:1px;background:#fff;}#forkongithub a::after{bottom:1px;top:auto;}@media screen and (min-width:0){#forkongithub{position:fixed;display:block;top:0;left:0;width:200px;overflow:hidden;height:200px;z-index:9999;}#forkongithub a{width:200px;box-sizing: content-box;position:absolute;top:60px;left:-60px;transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-o-transform:rotate(-45deg);box-shadow:1px 1px 3px rgba(0,0,0,0.2);}}</style><span style="box-sizing: content-box;" id="forkongithub"><a style="box-sizing: content-box;" href="https://github.com/bluejamesbond/Scribe.js" target="_blank">Fork me on GitHub</a></span>
<div class = "header">
<div class = "header__logo"></div>
</div>

View file

@ -1,7 +1,7 @@
{
"name": "scribe-js",
"description": "Comprehensive logging framework with online interface",
"version": "2.0.3",
"version": "2.0.4",
"homepage": "https://github.com/bluejamesbond/Scribe.js",
"keywords": [],
"author": {
@ -23,18 +23,6 @@
}
],
"main": "scribe.js",
"scripts": {
"test": "grunt nodeunit"
},
"devDependencies": {
"grunt-contrib-jshint": "~0.6.4",
"grunt-contrib-nodeunit": "~0.2.0",
"grunt-contrib-watch": "~0.5.3",
"grunt": "~0.4.5"
},
"directories": {
"test": "test"
},
"license": "MIT",
"dependencies": {
"callsite": "^1.0.0",