trell-story-json-to-amp
Advanced tools
Comparing version 2.0.7 to 2.0.8
@@ -105,3 +105,4 @@ 'use strict'; | ||
views = _storyMeta$videoStats.views, | ||
comments = _storyMeta$videoStats.comments; | ||
comments = _storyMeta$videoStats.comments, | ||
comment = storyMeta.comment; | ||
@@ -155,3 +156,4 @@ // verify if properties exist | ||
}, | ||
commentCount: comments | ||
commentCount: comments, | ||
comment: comment | ||
// TODO: Comment list (Top 10 comments maybe ?) | ||
@@ -158,0 +160,0 @@ // comment: [ |
150
package.json
{ | ||
"name": "trell-story-json-to-amp", | ||
"version": "2.0.7", | ||
"description": "Convert story JSON to STAMP HTML.", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"clean": "rm -rf ./dist", | ||
"build": "npm run clean && babel ./lib -d ./dist", | ||
"watch": "npm run clean && babel ./lib -w -d ./dist", | ||
"lint": "miclint --flow | snazzy", | ||
"flow": "flow", | ||
"prepublish": "npm run build", | ||
"test": "run-s lint flow test:code", | ||
"test:code": "NODE_ENV=test nyc babel-tape-runner ./test.js | mic-tap-format" | ||
}, | ||
"bin": { | ||
"story-json-to-amp": "./bin/cli.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://gitlab.com/trell/trell-story-json-to-amp" | ||
}, | ||
"keywords": [ | ||
"story", | ||
"story json", | ||
"stamp" | ||
"name": "trell-story-json-to-amp", | ||
"version": "2.0.8", | ||
"description": "Convert story JSON to STAMP HTML.", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"clean": "rm -rf ./dist", | ||
"build": "npm run clean && babel ./lib -d ./dist", | ||
"watch": "npm run clean && babel ./lib -w -d ./dist", | ||
"lint": "miclint --flow | snazzy", | ||
"flow": "flow", | ||
"prepublish": "npm run build", | ||
"test": "run-s lint flow test:code", | ||
"test:code": "NODE_ENV=test nyc babel-tape-runner ./test.js | mic-tap-format" | ||
}, | ||
"bin": { | ||
"story-json-to-amp": "./bin/cli.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://gitlab.com/trell/trell-story-json-to-amp" | ||
}, | ||
"keywords": [ | ||
"story", | ||
"story json", | ||
"stamp" | ||
], | ||
"author": "mic.com", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://gitlab.com/trell/trell-story-json-to-amp/issues" | ||
}, | ||
"homepage": "https://gitlab.com/trell/trell-story-json-to-amp", | ||
"nyc": { | ||
"extension": [ | ||
".js" | ||
], | ||
"author": "mic.com", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://gitlab.com/trell/trell-story-json-to-amp/issues" | ||
}, | ||
"homepage": "https://gitlab.com/trell/trell-story-json-to-amp", | ||
"nyc": { | ||
"extension": [ | ||
".js" | ||
], | ||
"exclude": [ | ||
"**/node_modules/**" | ||
], | ||
"check-coverage": true, | ||
"statements": 100, | ||
"branches": 100, | ||
"functions": 100, | ||
"lines": 100 | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-flow": "^6.23.0", | ||
"babel-tape-runner": "^2.0.1", | ||
"flow-bin": "^0.53.1", | ||
"mic-tap-format": "^1.0.3", | ||
"miclint": "^4.2.2", | ||
"npm-run-all": "^4.1.3", | ||
"nyc": "^11.9.0", | ||
"snazzy": "^7.1.1", | ||
"tape": "^4.9.1" | ||
}, | ||
"dependencies": { | ||
"autoprefixer": "^7.1.5", | ||
"condense-newlines": "^0.2.1", | ||
"dasherize": "^2.0.0", | ||
"html-tag": "^1.0.0", | ||
"immutable-object-methods": "^1.3.2", | ||
"js-beautify": "1.6.14", | ||
"lodash.flow": "^3.5.0", | ||
"minimist": "^1.2.0", | ||
"postcss": "^6.0.23", | ||
"postcss-js": "^1.0.1" | ||
}, | ||
"miclint": { | ||
"ignore": [ | ||
"flow-typed" | ||
] | ||
} | ||
"exclude": [ | ||
"**/node_modules/**" | ||
], | ||
"check-coverage": true, | ||
"statements": 100, | ||
"branches": 100, | ||
"functions": 100, | ||
"lines": 100 | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-flow": "^6.23.0", | ||
"babel-tape-runner": "^2.0.1", | ||
"flow-bin": "^0.53.1", | ||
"mic-tap-format": "^1.0.3", | ||
"miclint": "^4.2.2", | ||
"npm-run-all": "^4.1.3", | ||
"nyc": "^11.9.0", | ||
"snazzy": "^7.1.1", | ||
"tape": "^4.9.1" | ||
}, | ||
"dependencies": { | ||
"autoprefixer": "^7.1.5", | ||
"condense-newlines": "^0.2.1", | ||
"dasherize": "^2.0.0", | ||
"html-tag": "^1.0.0", | ||
"immutable-object-methods": "^1.3.2", | ||
"js-beautify": "1.6.14", | ||
"lodash.flow": "^3.5.0", | ||
"minimist": "^1.2.0", | ||
"postcss": "^6.0.23", | ||
"postcss-js": "^1.0.1" | ||
}, | ||
"miclint": { | ||
"ignore": [ | ||
"flow-typed" | ||
] | ||
} | ||
} |
1041
48686