react-stick

v5.0.6
React component to stick a portaled node to an anchor node

commit

commit

prebuild

npm run clean

build

tsc -p ./src/tsconfig.json --outdir ./es && tsc -p ./src/tsconfig.json --module commonJS --outdir ./lib

prepublishOnly

npm run build

build-demo

vite --config demo/vite.config.ts build

clean

rimraf tests/coverage tests/.nyc_output es lib build

lint

eslint --max-warnings=0 --ext .ts --ext .tsx src tests demo/src

lint:fix

npm run lint -- --fix

prenow-build

npm run build

now-build

npm run build-demo

start

vite --config demo/vite.config.ts

semantic-release

semantic-release

semantic-release-preview

semantic-release-github-pr

test

cypress run --component --config-file ./tests/cypress.config.ts

test:ssr

vitest --config=tests/vitest.config.ts

test:open

cypress open --component --config-file ./tests/cypress.config.ts --browser electron

prepare

husky install
npm i react-stick

Metadata

  • MIT
  • >=16.11
  • Jan-Felix Schwarz
  • released 6/4/2024

Downloads