@posthog/simmerjs

v0.7.2-posthog.2
A pure Javascript reverse CSS selector engine which calculates a DOM element's unique CSS selector on the current page.
Simmer css css selector sizzle

test

yarn run testUnit && yarn run testIntegration

testw

jest .test.js --watch

testUnit

jest ./modules

testIntegration

jest ./**/integration/*.test.js

testE2E

yarn run build && nightwatch --config nightwatch.conf.js

build

yarn run buildBrowser && yarn run buildModule

buildBrowser

rollup -c

buildModule

rm -rf ./lib && babel modules -d lib --ignore .test.js

lint

eslint ./modules/**/*.js

format

prettier-eslint --write "modules/**/*.js"

formatTests

prettier-eslint --write "__tests__/integration/*.js"

precommit

lint-staged

prepublish

yarn run buildModule
npm i @posthog/[email protected]

Metadata

  • Unknown
  • Whatever
  • Gidi Meir Morris
  • released 1/8/2021

Downloads