w3c-xml-validator
Version:
A library for programmatically submitting XML for online validation using W3C's Markup Validation Service (https://validator.w3.org/check).
88 lines (87 loc) • 1.97 kB
JSON
{
"name": "w3c-xml-validator",
"version": "1.1.0",
"description": "A library for programmatically submitting XML for online validation using W3C's Markup Validation Service (https://validator.w3.org/check).",
"main": "main.js",
"bin": {
"w3c-xml-validator": "./bin/cli.js"
},
"scripts": {
"cover:test": "nyc --silent npm run test:unit && nyc --no-clean npm run test:func",
"cover:report": "nyc report --reporter=text-lcov",
"coverage": "npm run cover:test && npm run cover:report | coveralls",
"lint": "standard",
"test:unit": "mocha \"./{,!(node_modules)/**/}*.spec.js\"",
"test:func": "mocha test/functional/*",
"test": "npm run lint && npm run cover:test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/DPassarelli/w3c-xml-validator.git"
},
"keywords": [
"w3c",
"xml",
"dtd",
"doctype",
"validation"
],
"author": "David Passarelli <dpassarelli@camelotcg.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/DPassarelli/w3c-xml-validator/issues"
},
"homepage": "https://github.com/DPassarelli/w3c-xml-validator#readme",
"engines": {
"node": ">=8"
},
"devDependencies": {
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.1.0",
"mocha": "^7.1.2",
"nock": "^12.0.3",
"nyc": "^15.0.1",
"standard": "^14.3.3"
},
"dependencies": {
"debug": "^4.1.1",
"form-data": "^3.0.0",
"node-html-parser": "^1.2.16",
"whatwg-url": "^8.0.0"
},
"mocha": {
"reporter": "min",
"file": "test/setup.js",
"ui": "bdd"
},
"standard": {
"global": [
"expect"
]
},
"nyc": {
"check-coverage": true,
"exclude": [
"**/*.spec.js",
"test/"
],
"per-file": true,
"lines": [
85,
92
],
"statements": [
85,
92
],
"functions": [
85,
92
],
"branches": [
85,
92
]
}
}