@hello-pangea/dnd

v16.5.0
Beautiful and accessible drag and drop for lists with React
drag and drop dnd sortable reorder reorderable react react.js natural beautiful and 2 more...

test

jest --config ./jest.config.ts

build

pnpm build:clean && pnpm build:dist

commit

cz

prepare

husky install

release

release-it

lint:css

stylelint "stories/**/*.{js,jsx,ts,tsx}"

validate

pnpm prettier:check && pnpm lint:eslint && pnpm lint:css && pnpm typecheck

chromatic

chromatic --project-token=f92123f238de

storybook

start-storybook -p 9002

typecheck

pnpm typecheck:lib && pnpm typecheck:test && pnpm typecheck:storybook

build:dist

cross-env NODE_ENV=production rollup -c

build:clean

rimraf dist

lint:eslint

pnpm eslint "./**/*.{js,jsx,ts,tsx}"

release:test

release-it --dry-run

test:browser

cypress open

test:coverage

pnpm test --coverage --coveragePathIgnorePatterns=/debug

test:react-16

cross-env REACT_MAJOR_VERSION=16 pnpm test

test:react-17

cross-env REACT_MAJOR_VERSION=17 pnpm test

test:react-18

cross-env REACT_MAJOR_VERSION=18 pnpm test

typecheck:lib

pnpm tsc --project tsconfig.json

prepublishOnly

pnpm build

prettier:check

pnpm prettier --debug-check $npm_package_config_prettier_target

prettier:write

pnpm prettier --write $npm_package_config_prettier_target

typecheck:test

pnpm tsc --project test/tsconfig.json && pnpm tsc --project csp-server/tsconfig.json && pnpm tsc --project cypress/tsconfig.json

build-storybook

build-storybook -c .storybook -o site

test:browser:ci

cypress run

bundle-size:check

cross-env SNAPSHOT=match pnpm bundle-size:update

bundle-size:update

pnpm build:clean && pnpm build:dist && pnpm build:clean

test:accessibility

lighthouse http://localhost:9002/iframe.html?id=examples-single-vertical-list--basic --no-enable-error-reporting --config-path=lighthouse.config.js --chrome-flags='--headless' --output=json --output=html --output-path=./test-reports/lighthouse/a11y.json && node a11y-audit-parse.js

typecheck:storybook

pnpm tsc --project stories/tsconfig.json && pnpm tsc --project .storybook/tsconfig.json
npm i @hello-pangea/[email protected]

Metadata

Downloads