node version up and enable strict mode

This commit is contained in:
Michael Heuberger
2013-05-12 14:18:33 +12:00
parent c5c40bde1b
commit fb407b3573
3 changed files with 6 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "pretty-seconds",
"version": "0.1.0",
"version": "0.1.1",
"description": "a very simple function to stringify any huge number of seconds. give it million seconds and it tells you how many days, hours, minutes and seconds in a pretty string.",
"main": "pretty-seconds.js",
"author": "Michael Heuberger <michael.heuberger@binarykitchen.com>",
@@ -14,7 +14,7 @@
},
"dependencies": null,
"engines": {
"node": ">=0.6"
"node": ">=0.10.3"
},
"scripts": {
"test": "nodeunit tests/basics.js"

View File

@@ -1,3 +1,5 @@
"use strict";
module.exports = prettySeconds;
function quantify(data, unit, value) {

View File

@@ -1,3 +1,5 @@
"use strict";
var testCase = require('nodeunit').testCase
, prettySeconds;