Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

move lib/index.js to strftime.js

  • Loading branch information...
commit 8791c074ccfb4bde29022530bcee6138aa0e00a0 1 parent e18c7ab
@samsonjs authored
View
4 component.json
@@ -4,6 +4,6 @@
"description": "strftime date formatting",
"keywords": ["strftime", "format", "date", "time"],
"version": "0.5.1",
- "main": "lib/index.js",
- "scripts": ["lib/index.js"]
+ "main": "strftime.js",
+ "scripts": ["strftime.js"]
}
View
10 package.json
@@ -18,10 +18,7 @@
"email": "sami@samhuri.net",
"url": "https://github.com/samsonjs/strftime/issues"
},
- "directories": {
- "lib": "./lib"
- },
- "main": "./lib/index",
+ "main": "./strftime",
"engines": {
"node": ">=0.2.0"
},
@@ -31,11 +28,6 @@
"url": "http://github.com/samsonjs/strftime/raw/master/LICENSE"
}
],
- "component": {
- "scripts": {
- "strftime": "./lib/index.js"
- }
- },
"dependencies": {},
"devDependencies": {},
"optionalDependencies": {}
View
0  lib/index.js → strftime.js
File renamed without changes
View
2  test/test.js
@@ -8,7 +8,7 @@
// - look for edge cases
var assert = require('assert')
- , lib = require('../lib')
+ , lib = require('../strftime')
// Tue, 07 Jun 2011 18:51:45 GMT
, Time = new Date(1307472705067)
Please sign in to comment.
Something went wrong with that request. Please try again.