You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
2.0 KiB
79 lines
2.0 KiB
{
|
|
"name": "node-html-parser",
|
|
"version": "1.4.9",
|
|
"description": "A very fast HTML parser, generating a simplified DOM, with basic element query support.",
|
|
"main": "dist/index.js",
|
|
"module": "dist/esm/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"scripts": {
|
|
"test": "mocha",
|
|
"lint": "eslint ./src/*.ts ./src/**/*.ts",
|
|
"clean": "del-cli ./dist/",
|
|
"ts:cjs": "tsc -m commonjs",
|
|
"ts:amd": "tsc -t es5 -m amd -d false --outFile ./dist/main.js",
|
|
"ts:esm": "tsc -t esnext -m esnext -d false --outDir ./dist/esm/",
|
|
"build": "npm run lint && npm run clean && npm run ts:cjs && npm run ts:amd && npm run ts:esm",
|
|
"dev": "tsc -w & mocha -w ./test/*.js",
|
|
"pretest": "tsc -m commonjs"
|
|
},
|
|
"keywords": [
|
|
"parser",
|
|
"html",
|
|
"nodejs",
|
|
"typescript"
|
|
],
|
|
"author": "Xiaoyi Shi <ashi009@gmail.com>",
|
|
"contributors": [
|
|
"taoqf<tao_qiufeng@126.com>"
|
|
],
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"he": "1.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/entities": "latest",
|
|
"@types/he": "latest",
|
|
"@types/node": "latest",
|
|
"@typescript-eslint/eslint-plugin": "latest",
|
|
"@typescript-eslint/eslint-plugin-tslint": "latest",
|
|
"@typescript-eslint/parser": "latest",
|
|
"blanket": "latest",
|
|
"del-cli": "latest",
|
|
"eslint": "latest",
|
|
"eslint-config-prettier": "latest",
|
|
"eslint-plugin-import": "latest",
|
|
"high5": "^1.0.0",
|
|
"htmlparser": "^1.7.7",
|
|
"htmlparser-benchmark": "^1.1.3",
|
|
"htmlparser2": "^5.0.0",
|
|
"mocha": "latest",
|
|
"parse5": "^6.0.1",
|
|
"should": "latest",
|
|
"spec": "latest",
|
|
"travis-cov": "latest",
|
|
"typescript": "next"
|
|
},
|
|
"config": {
|
|
"blanket": {
|
|
"pattern": "./dist/index.js",
|
|
"data-cover-never": [
|
|
"node_modules"
|
|
]
|
|
},
|
|
"travis-cov": {
|
|
"threshold": 70
|
|
}
|
|
},
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/taoqf/node-fast-html-parser.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/taoqf/node-fast-html-parser/issues"
|
|
},
|
|
"homepage": "https://github.com/taoqf/node-fast-html-parser"
|
|
}
|