taoqf / node-html-parser

A very fast HTML parser, generating a simplified DOM, with basic element query support.
MIT License
1.12k stars 112 forks source link

restore the prepare script "npm run build" #253

Closed milahu closed 1 year ago

milahu commented 1 year ago

this was originally added in 366d048efddc30ec8411f7624841a596aaa8798d (#125) and removed in 3140baa26f51bea030ea6679e6eeb038565c443e (#161)

the purpose of the npm run build prepare script is to allow "install from git" which is currently broken

cd test && yarn install is not needed for "install from git"

tested with

pnpm i 'github:taoqf/node-html-parser#cd3fcd7ba3081c7b546351a282de04596fab502c'
taoqf commented 1 year ago

Thanks.