@hello-pangea/dnd

v15.0.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.js

build

npm run build:clean && npm run build:dist

release

cross-env release-it

lint:css

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

validate

prettier:check && npm run lint:eslint && npm run lint:css && npm run typecheck

storybook

start-storybook -p 9002

typecheck

npm run typecheck:lib && npm run typecheck:test && npm run typecheck:storybook

build:dist

cross-env NODE_ENV=production rollup -c

build:clean

rimraf dist

lint:eslint

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

test:browser

cypress open

test:coverage

npm run test --coverage --coveragePathIgnorePatterns=/debug

typecheck:lib

tsc --project tsconfig.json

prepublishOnly

npm run build

prettier:check

prettier --debug-check $npm_package_config_prettier_target

prettier:write

prettier --write $npm_package_config_prettier_target

typecheck:test

tsc --project test/tsconfig.json && tsc --project csp-server/tsconfig.json && 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 npm run bundle-size:update

bundle-size:update

npm run build:clean && npm run build:dist && npm run 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

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

Metadata

Downloads

Maintainers