antwar-rss-plugin
Advanced tools
Comparing version 0.8.1-alpha.0fa14843 to 0.8.1-alpha.1317c12b
{ | ||
"name": "antwar-rss-plugin", | ||
"version": "0.8.1-alpha.0fa14843", | ||
"version": "0.8.1-alpha.1317c12b", | ||
"description": "RSS plugin for antwar", | ||
"main": "src", | ||
"scripts": { | ||
"test": "tape test/*.js", | ||
"test:watch": "npm-watch" | ||
}, | ||
"main": "dist", | ||
"repository": { | ||
@@ -14,2 +10,6 @@ "type": "git", | ||
}, | ||
"scripts": { | ||
"build": "rimraf ./dist && babel ./src --out-dir ./dist", | ||
"prepublish": "npm run build" | ||
}, | ||
"keywords": [ | ||
@@ -25,2 +25,4 @@ "antwar", | ||
"homepage": "https://github.com/antwarjs/antwar", | ||
"module": "dist", | ||
"jsnext:main": "dist", | ||
"dependencies": { | ||
@@ -33,9 +35,6 @@ "absolutify": "0.0.2", | ||
"devDependencies": { | ||
"babel-cli": "^6.16.0", | ||
"marked": "^0.3.6", | ||
"npm-watch": "^0.1.6", | ||
"tape": "^4.6.0" | ||
}, | ||
"watch": { | ||
"test": "{src,test}/*.js" | ||
"rimraf": "^2.5.4" | ||
} | ||
} |
@@ -7,3 +7,3 @@ const generate = require('./generate'); | ||
return { | ||
extra(paths, config) { | ||
extra(pages, config) { | ||
return { | ||
@@ -14,3 +14,3 @@ 'atom.xml': generate( | ||
moment().format(), | ||
paths.pages, | ||
pages, | ||
config | ||
@@ -17,0 +17,0 @@ ) |
@@ -51,3 +51,3 @@ const test = require('tape'); | ||
'<title>' + pages.demo.title + '</title>' + | ||
'<id>ademotitle2016-02-01t00:00:00+02:00</id>' + | ||
'<id>ademotitle' + moment(pages.demo.date, 'YYYY-MM-DD').format().toLowerCase() + '</id>' + | ||
'<link href="' + baseUrl + 'demo"></link>' + | ||
@@ -54,0 +54,0 @@ '<updated>' + moment(pages.demo.date, 'YYYY-MM-DD').format() + '</updated>' + |
@@ -34,3 +34,3 @@ const test = require('tape'); | ||
'<title>' + pages.demo.title + '</title>' + | ||
'<id>ademotitle2016-02-01t00:00:00+02:00</id>' + | ||
'<id>ademotitle' + moment(pages.demo.date, 'YYYY-MM-DD').format().toLowerCase() + '</id>' + | ||
'<link href="' + baseUrl + 'demo"></link>' + | ||
@@ -37,0 +37,0 @@ '<updated>' + moment(pages.demo.date, 'YYYY-MM-DD').format() + '</updated>' + |
14698
11
355