代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/third_party_parse5 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
{
"name": "parse5-build-scripts",
"private": true,
"type": "module",
"workspaces": [
"packages/*",
"bench",
"test"
],
"devDependencies": {
"@types/jest": "^29.2.3",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-unicorn": "^44.0.2",
"husky": "^8.0.2",
"jest": "^29.3.1",
"lint-staged": "^13.0.3",
"outdent": "^0.8.0",
"prettier": "^2.7.1",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typedoc": "^0.23.21",
"typescript": "^4.9.3"
},
"scripts": {
"build": "npm run build:esm && npm run build:cjs --workspaces --if-present",
"build:esm": "tsc --build packages/* test",
"build:docs": "node --max-old-space-size=8192 node_modules/.bin/typedoc .",
"prettier": "prettier '**/*.{js,ts,md,json,yml}' --loglevel warn",
"format": "npm run format:es && npm run format:prettier",
"format:es": "npm run lint:es -- --fix",
"format:prettier": "npm run prettier -- --write",
"lint": "npm run lint:es && npm run lint:prettier",
"lint:es": "eslint .",
"lint:prettier": "npm run prettier -- --check",
"unit-tests": "NODE_OPTIONS=--experimental-vm-modules jest",
"test": "npm run lint && npm run unit-tests",
"generate-feedback-tests": "node --loader ts-node/esm scripts/generate-parser-feedback-test/index.ts test/data/html5lib-tests/tree-construction/*.dat",
"bench-perf": "npm run build && node bench/perf/index.js",
"bench-memory-sax": "npm run build && node bench/memory/sax-parser.js",
"preversion": "npm test",
"pre-commit": "lint-staged",
"publish": "npm publish --workspaces",
"prepare": "husky install",
"prepublish": "npm run build"
},
"lint-staged": {
"*.{js,ts}": [
"prettier --write",
"eslint --fix"
],
"*.{md,json,yml}": [
"prettier --write"
]
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"testEnvironment": "node",
"coverageProvider": "v8",
"globals": {
"ts-jest": {
"useESM": true
}
},
"moduleNameMapper": {
"^(parse5[^/]*)/dist/(.*?)(?:\\.js)?$": "<rootDir>/packages/$1/lib/$2",
"^(parse5[^/]*)$": "<rootDir>/packages/$1/lib/index.ts",
"^(.*)\\.js$": [
"$1",
"$1.js"
]
},
"coveragePathIgnorePatterns": [
"node_modules",
"bench",
"test"
]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。