domutils
v3.1.0 dom htmlparser2
test
npm run test:jest && npm run lint
test:jest
jest
lint
npm run lint:es && npm run lint:prettier
lint:es
eslint --ignore-path .gitignore .
lint:prettier
npm run prettier -- --check
format
npm run format:es && npm run format:prettier
format:es
npm run lint:es -- --fix
format:prettier
npm run prettier -- --write
prettier
prettier "**/*.{ts,md,json,yml}" --ignore-path .gitignore
build
npm run build:cjs && npm run build:esm
build:cjs
tsc --sourceRoot https://raw.githubusercontent.com/fb55/domutils/$(git rev-parse HEAD)/src/
build:esm
npm run build:cjs -- --module esnext --target es2019 --outDir lib/esm && echo '{"type":"module"}' > lib/esm/package.json
build:docs
typedoc --hideGenerator --exclude "**/*+(index|.spec).ts" --categorizeByGroup false --sort enum-value-ascending --sort alphabetical src
prepare
npm run build