css-has-pseudo

v3.0.2
Style elements relative to other elements in CSS
postcss css postcss-plugin javascript js polyfill has contains descendant and 3 more...

lint

eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern

test

postcss-tape --ci && npm run test:exports

build

rollup -c ../../rollup/default.js && npm run copy-browser-scripts-to-old-location

clean

node -e "fs.rmSync('./dist', { recursive: true, force: true });"

stryker

stryker run --logLevel error

test:exports

node ./test/_import.mjs && node ./test/_require.cjs

prepublishOnly

npm run clean && npm run build && npm run test

copy-browser-scripts-to-old-location

node -e "fs.copyFileSync('./dist/browser-global.js', './browser.js')"

Metadata

  • CC0-1.0
  • ^12 || ^14 || >=16
  • Jonathan Neal
  • released 1/2/2022

Downloads