UNPKG

html-to-article-json

Version:
72 lines (71 loc) 2.37 kB
{ "name": "html-to-article-json", "version": "1.20.1", "description": "Converting HTML to article-json", "main": "dist/index.js", "scripts": { "benchmark": "babel-node benchmark/node.js", "example": "beefy example/client.js --index example/index.html --open -- --transform babelify", "lint": "semistandard | snazzy", "build": "rm -rf dist && babel lib --out-dir dist", "prepublish": "npm run build", "postpublish": "rm -rf dist", "test": "npm run lint && npm run test:node && npm run test:coverage && npm run test:check-coverage && npm run test:browser", "test:browser": "browserify -t [babelify --presets [es2015] --plugins [static-fs] ] -d test/*-test.js | tape-run | faucet", "test:coverage": "nyc babel-tape-runner test/*-test.js", "test:check-coverage": "nyc check-coverage --lines 100 --functions 100 --branches 100", "open-coverage": "npm run test:coverage && nyc report --reporter=lcov && open coverage/lcov-report/index.html", "test:node": "babel-tape-runner test/*-test.js" }, "repository": { "type": "git", "url": "git+https://github.com/micnews/html-to-article-json.git" }, "author": "mic.com", "license": "MIT", "bugs": { "url": "https://github.com/micnews/html-to-article-json/issues" }, "homepage": "https://github.com/micnews/html-to-article-json#readme", "devDependencies": { "babel-cli": "^6.4.5", "babel-plugin-static-fs": "^1.1.0", "babel-preset-es2015": "^6.3.13", "babel-tape-runner": "^2.0.0", "babelify": "^7.2.0", "beefy": "^2.1.5", "browserify": "^13.0.0", "faucet": "0.0.1", "nyc": "^8.1.0", "pre-commit": "^1.1.1", "semistandard": "^9.0.0", "snazzy": "^5.0.0", "tape": "^4.4.0", "tape-catch": "^1.0.4", "tape-run": "^2.1.4", "testron": "^1.2.0", "tsml": "^1.0.1", "watchify": "^3.4.0" }, "dependencies": { "block-elements": "^1.1.0", "embedly-url": "^1.0.0", "embeds": "^2.6.0", "es6-set": "^0.1.2", "generate-function": "^2.0.0", "get-youtube-id": "^1.0.0", "lodash.find": "^4.2.0", "lodash.last": "^3.0.0", "lodash.map": "^4.2.0", "lodash.startswith": "^4.0.0", "lodash.values": "^4.1.0", "query-dom": "^3.0.0" }, "pre-commit": [ "test:coverage" ], "directories": { "example": "example", "test": "test" } }